Expo standalone APK stuck at splashscreen

The problem is present on Android when i build using expo build:android -t apk, splashscreen stuck forever when opening the app, no errors visible.
When i run the project locally debugging (expo start) i have no errors or issues. I have also run the project with expo start --no-dev --minify and i dont see any error or issue on logs or app.

Managed diagnostics:

 Expo CLI 4.1.6 environment info:
    System:
      OS: Windows 10 10.0.18363
    Binaries:
      Node: 10.15.1 - C:\laragon\bin\nodejs\node-v10bck\node.EXE
      Yarn: 1.19.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.4.1 - C:\laragon\bin\nodejs\node-v10bck\npm.CMD
    IDEs:
      Android Studio: Version  3.5.0.0 AI-191.8026.42.35.5977832
    npmPackages:
      expo: ~39.0.2 => 39.0.5
      react: 16.13.1 => 16.13.1
      react-dom: 16.13.1 => 16.13.1
      react-native: https://github.com/expo/react-native/archive/sdk-39.0.4.tar.gz => 0.63.2
      react-native-web: ~0.13.12 => 0.13.18
    Expo Workflow: managed

When I ejected and built the project using gradlew assembleRelease i dont have this issue with the generated APK. But i dont want to use this configuration. The app will be used on Apple devices too

After ejecting:
Bare diagnostics:

  Expo CLI 4.1.6 environment info:
    System:
      OS: Windows 10 10.0.18363
    Binaries:
      Node: 10.17.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.19.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.11.3 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: Version  3.5.0.0 AI-191.8026.42.35.5977832
    npmPackages:
      expo: ^40.0.0 => 40.0.1
      react: 16.13.1 => 16.13.1
      react-dom: 16.13.1 => 16.13.1
      react-native: ~0.63.4 => 0.63.4
      react-native-web: ~0.13.12 => 0.13.18
    Expo Workflow: bare

Already tried:

  • updated CLI and project using npm uninstall -g expo-cli, npm install -g expo-cli, expo upgrade
  • delete node_modules folder and npm install / yarn install after
  • remove splashscreen me deleting the configuration in app.json file → no splashscreen, but stuck on a white screen without any error or other sign.

I have searched other threads and none of them offered any solution.

I also have the same issue, the only thing I remember is that I was running the app locally and reconnected and one of a sudden the app is stuck on the splash screen, no logs, no errors, nothing…
Please if anyone faced the same problem, share your solution and say why …?
I have read so many threads about this problem but none of them gave a direct solution or even a direct problem explanation

check this out: Debugging - Expo Documentation

Actually, the problem is not just in production but in development as well.
and I have tried expo start --no-dev --minify but no difference, the problem still occurs

1 Like

great. then go ahead and use standard debugging techniques to find the source of the problem! if you need help, see fyi/manual-debugging.md at main · expo/fyi · GitHub

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