Skip to main content
Question

"Unable to create cache directory for remote fonts" on Android (Expo), V2 Paywall

  • March 5, 2026
  • 1 reply
  • 37 views

Forum|alt.badge.img

I saw several messages about how to setup the fonts. I guess the documentation is deprecated, it still mentions that the user needs to put the font in the app directly… but the error message I’m getting on Android with my Expo app points toward some download/caching process.

 

When I try to display my paywall on my android emulator, the log get “Unable to create cache directory for remote fonts” and the app crashes. The emulator might have a low free memory.

 

Is there anything specific (like a permission to grant) to get this fixed on Android? Or is it only the emulator memory that I should flush? If it’s the memory issue, I think some users with low end devices might get an abrupt crash as well.

Edit: I can’t reproduce it every time, so that seems to be a memory issue.

1 reply

matt-heaney
RevenueCat Staff
Forum|alt.badge.img+3
  • RevenueCat Staff
  • March 9, 2026

Hey ​@jice-lavocat,

 

Thank you for the post. This is Matt from RevenueCat, and I’d love to help with this.

 

I’m very sorry if any of the documentation is out of date. I’ll explore the font documentation to get this updated and make sure it only shows the correct information.

 

As you mention, this does sound like it is caused by memory issues. Emulators can be configured to have low memory to test edge cases, which could result in this issue. There are no additional Android permissions required for this, so it shouldn’t be related to any permissions that need to be granted in your app.

 

This could, in theory, happen on a real device if the memory is critically low. I’ll also raise this with the paywall team so we can explore whether this is something that could be improved.

 

Have you seen this happening on a real device? Do you have any crash logs in your app that show this happening in production? I asked the paywall team here, and we don’t have any known issues with fonts causing this type of crash that we’re aware of, but we will continue to monitor the logs.

 

If you wanted to avoid this step entirely, you can still host your fonts locally, which would avoid the need for this cache to be created. The fonts shouldn’t be downloaded if they are available locally. More information on this can be found here: https://www.revenuecat.com/docs/tools/paywalls/displaying-paywalls#custom-fonts

 

I hope this helps. If you have any other questions, or if there’s anything else I can help with, please don’t hesitate to reach out.

 

Thanks!