Expo build apk crashing on real device

The app works fine on emulator or the expo app but when i build the apk and test it on a real device it crashes.
Here are my logs !
Expo CLI 3.21.5 environment info:
System:
OS: Windows 10 10.0.18362
Binaries:
Node: 12.16.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.21.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.4 - C:\Program Files\nodejs\npm.CMD
npmPackages:
expo: ~37.0.3 => 37.0.12
react: ~16.9.0 => 16.9.0
react-dom: ~16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4
react-native-web: ~0.11.7 => 0.11.7

I’m having a similar issue.

No errors, I’ve tried dev mode, production mode, all working, but if I generate the apk, it crash straight after the splash screen.

1 Like

Hey all,

When this occurs, a great way to investigate the issue is by diving into the crash logs. You can do this by connecting your device to your computer and enabling USB debugging. Once that’s set up, you can open up Android Studio and compile your apk and then run it on the device. Using adb logcat you can then read the device logs which will typically provide much more insight into what is causing your app to crash.

Cheers,
Adam

The App runs smoothly in emulator the issue only starts when i build the apk.

I’m thinking this github issue may be related so I would follow along here for future updates.

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