Android build crashing - advice?

Hi,

I’m new to both react native and expo, having fun creating a small app. I’m seeing the same problem as others, namely the development tests working 100% and the final release android build crashing on a real device (pixel 1 with Android 10).

My questions are:
1- Is this a fairly normal thing, to go through an extra step to debug problems on the native build?
2- Is there any way to debug (breakpoints) a production release on the device instead of just viewing the log via ‘adb logcat’ ?

The errors I see in the log are:
Error while updating property ‘text’ in shadow node of type: RCTRawText
Error while updating property ‘width’ in shadow node of type: RCTView
Error while updating property ‘allowFontScaling’ in shadow node of type: RCTText

And ‘expo diagnostics’ returns this:
Expo CLI 3.11.1 environment info:
System:
OS: Windows 10
Binaries:
Yarn: 1.21.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.12.1 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.6010548

Thanks!
Chris

Found the answer. Dark mode on android X is the culprit.

The Expo team has merged pull request to fix this dark mode related crash:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.