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
Attempt to bulid Android release APK using react-native run-android --variant=release
App successfully build
Expected Behavior
App loads on device
Actual Behavior
App keeps crashing on startup. It looks like the JS isn't bundled on the APP. I've tried clearing node-modules, watchman, starting react package manager before or during, but still the same issue. This build absolutely fine on iOS.
Logs:
FATAL EXCEPTION: mqt_js
Process: com.cryptoportfolio, PID: xxx
java.lang.RuntimeException: Error calling AppRegistry.runApplication
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:164)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)
at java.lang.Thread.run(Thread.java:764)
Caused by: com.facebook.jni.CppException: Could not get BatchedBridge, make sure your bundle is packaged correctly
The text was updated successfully, but these errors were encountered:
Is this a bug report?
YES
Have you read the Contributing Guidelines?
YES
Environment
react-native -v
:react-native-cli: 2.0.1
react-native: 0.48.1
node -v
:v8.4.0
npm -v
:5.4.1
Target Platform: Android
Development Operating System: Mac OS Sierra
Build tools: react-native run-android --variant=release
Steps to Reproduce
react-native run-android --variant=release
Expected Behavior
App loads on device
Actual Behavior
App keeps crashing on startup. It looks like the JS isn't bundled on the APP. I've tried clearing node-modules, watchman, starting react package manager before or during, but still the same issue. This build absolutely fine on iOS.
Logs:
The text was updated successfully, but these errors were encountered: