Skip to main content
Answer

Android Error: Software rendering doesn't support hardware bitmaps

  • August 13, 2025
  • 5 replies
  • 177 views

Forum|alt.badge.img+2

Hi there,

I have an Expo 53 / react-native-purchases / react-native-purchases-ui 9.2.0 app which uses RC’s V2 paywalls in production, and I’m getting occassional Sentry reports about crashes on Android:

IllegalArgumentException: Software rendering doesn't support hardware bitmaps
at android.graphics.BaseCanvas.throwIfHwBitmapInSwMode(BaseCanvas.java:732)
at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:82)
at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:140)
at android.graphics.Canvas.drawBitmap(Canvas.java:1664)
at u0.G.o(SourceFile:109)
...
(95 additional frame(s) were not displayed)

This seems to happen when my V2 Paywall is triggered (I navigate to a react-navigation screen which uses RC’s `<RevenueCatUI.Paywall />` to display the V2 Paywall. Reports are most common on Pixel 6 / Pixel 7 devices running Android 15+ although I have a few reports on Samsung devices too. I haven’t been able to reproduce on my physical Pixel 7 test device, but Sentry reports this often enough that it warrants investigating.

I noticed a related report here, but that thread was closed without any public-facing resolution.

Would appreciate any assistance.

Best answer by db888

Hi ​@alejandra-wetsch - many thanks for getting the Eng team to look at this and reverting back to me.

I arrived at the same conclusion and found that the expo-blur library was the culprit. Seems like having expo-blur on a View and then triggering a RC Paywall V2 down the track can sometimes trigger a crash. After removing the library’s usage in my app on Android devices, I haven’t seen any futher crash reports from Sentry. :)

I’ll mark this as answered - thanks again for your help!

This post has been closed for comments

5 replies

alejandra-wetsch
RevenueCat Staff
Forum|alt.badge.img+6

Hey ​@db888

Thank you for reporting this! 

I’ve shared this internally with the team for them to review. We will keep you posted on what we find! 


Forum|alt.badge.img+2
  • Author
  • Helper
  • August 16, 2025

Thanks Alejandra. I look forward to hearing back soon - the crash reports continue to accumulate!


alejandra-wetsch
RevenueCat Staff
Forum|alt.badge.img+6

Hey ​@db888

I appreciate your patience!

The engineering team is looking into this, and to troubleshoot further, they have requested that I ask if you can share the full deobfuscated stack trace for the crash. Also, are you using a library like react-native-blur or something similar in your app? If you could share all the libraries you use in your project so we can reproduce on our end, that would be great! 

Thank you!


Forum|alt.badge.img+2
  • Author
  • Helper
  • Answer
  • August 23, 2025

Hi ​@alejandra-wetsch - many thanks for getting the Eng team to look at this and reverting back to me.

I arrived at the same conclusion and found that the expo-blur library was the culprit. Seems like having expo-blur on a View and then triggering a RC Paywall V2 down the track can sometimes trigger a crash. After removing the library’s usage in my app on Android devices, I haven’t seen any futher crash reports from Sentry. :)

I’ll mark this as answered - thanks again for your help!


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • August 29, 2025

Hi ​@db888,

I’m glad that this fixed your issue! And thanks for sharing it, this can be useful for other developers too.

 

Best,