Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUBMIT 'index.android.bundle' missing when submitting to Playstore #908

Closed
xD3CODER opened this issue Jan 13, 2022 · 3 comments
Closed

SUBMIT 'index.android.bundle' missing when submitting to Playstore #908

xD3CODER opened this issue Jan 13, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@xD3CODER
Copy link

xD3CODER commented Jan 13, 2022

Build/Submit details page URL

https://expo.dev/accounts/urbendo/projects/urbendo/submissions/f4df9959-53a4-4b2d-b82d-c0c2028c3560

Summary

When I submit the app to Playstore using eas cli, the download works fine.
But the app crashes immediately on startup.

I have seen a similar error and it seems to be related to Fastlane.

Managed or bare?

bare

Environment

EAS CLI 0.42.4 environment info:
System:
OS: Linux 5.13 Ubuntu 21.10 21.10 (Impish Indri)
Shell: 5.8 - /usr/bin/zsh
Binaries:
Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v14.18.1/bin/yarn
npm: 8.3.0 - ~/.nvm/versions/node/v14.18.1/bin/npm
Utilities:
Git: 2.32.0 - /usr/bin/git
npmPackages:
expo: ^44.0.3 => 44.0.3
react: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
npmGlobalPackages:
eas-cli: 0.42.4
expo-cli: 5.0.3
Project workflow: generic

Error output

FATAL EXCEPTION: create_react_context
Process: com.app, PID: 24350
java.lang.RuntimeException: Unable to load script. Make sure you're either running Metro (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:2)
at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:1)
at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:3)
at com.facebook.react.n.s(ReactInstanceManager.java:37)
at com.facebook.react.n.c(ReactInstanceManager.java:1)
at com.facebook.react.n$f.run(ReactInstanceManager.java:12)
at java.lang.Thread.run(Thread.java:923)

Reproducible demo or steps to reproduce from a blank project

Generate app-bundle using eas build --platform android --profile=production --clear-cache --local

@xD3CODER xD3CODER added the bug Something isn't working label Jan 13, 2022
@xD3CODER
Copy link
Author

I just checked the signed apk downloaded from the playstore and indeed index.android.bundle is missing in the assets folder

@xD3CODER
Copy link
Author

It was not related to eas but to this issue

@Nantris
Copy link

Nantris commented May 5, 2022

@xD3CODER did you actually get this fixed? We're hitting this issue when building development builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants