You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
Config code push just like the document said
Generate and install a release apk
Try to run and then will crash
Expected Behavior
No crash
Actual Behavior
adb logcat:
12-17 14:18:30.851 12660 12676 D ReactNative: Initializing React Xplat Bridge.
12-17 14:18:30.851 12660 12676 D ReactNative: Initializing React Xplat Bridge before initializeBridge
12-17 14:18:30.861 12660 12676 D ReactNative: Initializing React Xplat Bridge after initializeBridge
12-17 14:18:30.861 12660 12676 D ReactNative: CatalystInstanceImpl.runJSBundle()
12-17 14:18:30.871 12660 12676 E AndroidRuntime: FATAL EXCEPTION: Thread-19940
12-17 14:18:30.871 12660 12676 E AndroidRuntime: Process: com.xxxapp, PID: 12660
12-17 14:18:30.871 12660 12676 E AndroidRuntime: java.lang.RuntimeException: Unable to load script from assets 'index.android.bundle'. Make sure your bundle is packaged correctly or you're running a packager server.
12-17 14:18:30.871 12660 12676 E AndroidRuntime: at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets(Native Method)
12-17 14:18:30.871 12660 12676 E AndroidRuntime: at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets(CatalystInstanceImpl.java:216)
12-17 14:18:30.871 12660 12676 E AndroidRuntime: at com.facebook.react.bridge.JSBundleLoader$1.loadScript(JSBundleLoader.java:32)
12-17 14:18:30.871 12660 12676 E AndroidRuntime: at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:243)
12-17 14:18:30.871 12660 12676 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1114)
12-17 14:18:30.871 12660 12676 E AndroidRuntime: at com.facebook.react.ReactInstanceManager.access$900(ReactInstanceManager.java:116)
12-17 14:18:30.871 12660 12676 E AndroidRuntime: at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:913)
12-17 14:18:30.871 12660 12676 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
I try to unarchiver the apk, there is nothing in asset directory, so I tried to manually generate a bundle with
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
Expected Behavior
No crash
Actual Behavior
adb logcat:
I try to unarchiver the apk, there is nothing in
assetdirectory, so I tried to manually generate a bundle withand generate a new apk, this one work just fine.
It any way to automatic generate
index.android.bundle?Environment