react-native
react-native copied to clipboard
facebook::react::Recoverable: Could not open file/data/user/0/com.xxx.yyy/files/rn/main.jsbundle: No such file or directory
I meet with the problem of my release app on line. help! the React Native version is 0.60.4
stacktraces as follows:
com.facebook.jni.CppException facebook::react::Recoverable: Could not open file/data/user/0/com.xxx.yyy/files/rn/main.jsbundle: No such file or directory 1 com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromFile(Native Method)
2 com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromFile(CatalystInstanceImpl.java:233) 3 com.facebook.react.bridge.JSBundleLoader$2.loadScript(JSBundleLoader.java:47) 4 com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:261) 5 com.facebook.react.k.a(ReactInstanceManager.java:1175) 6 com.facebook.react.k.a(ReactInstanceManager.java:125) 7 com.facebook.react.k$5.run(ReactInstanceManager.java:951) 8 java.lang.Thread.run(Thread.java:929)
:warning: | Missing Environment Information |
---|---|
:information_source: | Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console. |
Hi @andyhaha could you follow the issue template and verify this happens on the latest version?
:warning: | Using Old Version |
---|---|
:information_source: | It looks like you are using an older version of React Native. Please upgrade to the latest version, and verify if the issue persists. If it does not, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the current release. |
:warning: | Missing Required Fields |
---|---|
:information_source: | It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a new issue is created. Could you go back and make sure to fill out the template? You may edit this issue, or close it and open a new one. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.
Hi @andyhaha could you follow the issue template and verify this happens on the latest version?
It happens on version 0.60.4
Hi @andyhaha could you follow the issue template and verify this happens on the latest version?
It happens on version 0.60.4, and it is a release js bundle.
Is there a solution?
any update?
still no answer for my problem?
no answer, no work, and go home
I have also the same issue. I'm Using react-native 0.67.2
I have also the same issue . I'm Using react-native 0.67.3
facebook::react::Recoverable: Could not open file/data/user/0/com.yaya.zone/files/rn-resource/RNBundle/index.android.bundle: No such file or directory
AHA, I have the same problem
Ha, guys, I found a way to deal with this @safaiyeh @andyhaha React Native found in the C + + code, they are required to full amount of name, I suggest React Native to change the documentation!
((CatalystInstanceImpl)instance).loadScriptFromFile(filePath$Name,filePath$Name ,false);
((CatalystInstanceImpl)instance).loadSplitBundleFromFile( filePath$Name, filePath$Name);
my filePath$Name like this => ( /storage/emulated/0/Android/data/com.example.myapprnn/files/Bundle/staging/index.android.bundle ) It comes from my File system in android
The following is my warehouse, you may refer to
https://github.com/BM-laoli/Android-IOS-ReactNative
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
This issue was closed because the author hasn't provided the requested feedback after 7 days.
Any solution? Still facing the issue react-native-code-push: 7.0.4 react-native: 0.68.6
I am also having this issue.