-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Version 0.44.0 应用一启动闪退 Open the application crash #13857
Comments
Two possibilities:
Look inside package.json for versions of react and react-native. "react": "^16.0.0-alpha.6", most people believe that when you do: npm install You are guaranteed that these versions are the ones installed. But that is not always the case. Sometimes npm just grabs whatever it can find from internet. You may need to do: npm install --save react@16.0.0-alpha.6 // check in package.json for correct values. Dont assume that 'npm install' puts exactly what you need into node_modules. You might have to occasionally clean out node_modules rm -rf node_modules Let us know if that fixes it. You might try downgrading to 0.43.4 if that's an option or you as well. (Also note in SOME cases you need to do 'react-native link' after the installs but you should see some messages about this after npm install if that's the case. To see what's really installed: LET US KNOW IF THIS WORKS! If not tell us more! Like if you just created the app? Or are you development when this happens etc. |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
react-native run-android
installDebug is SUCCESSFUL
但是应用打开(Open the application),就闪退(crash)
05-09 16:38:13.982 15873-15914/cn.miguche.shcs.internal E/AndroidRuntime: FATAL EXCEPTION: mqt_js
Process: cn.miguche.shcs.internal, PID: 15873
java.lang.RuntimeException: Error calling AppRegistry.runApplication
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:148)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:208)
at java.lang.Thread.run(Thread.java:818)
Caused by: com.facebook.jni.CppException: Could not get BatchedBridge, make sure your bundle is packaged correctly
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:148)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:208)
at java.lang.Thread.run(Thread.java:818)
05-09 16:38:19.424 7116-7116/? E/DEVICE_SDKTAG: Error reading from /proc/1.
05-09 16:38:19.426 7116-7116/? E/DEVICE_SDKTAG: Error reading from /proc/2.
05-09 16:38:19.428 7116-7116/? E/DEVICE_SDKTAG: Error reading from /proc/3.
05-09 16:38:19.429 7116-7116/? E/DEVICE_SDKTAG: Error reading from /proc/6.
The text was updated successfully, but these errors were encountered: