index.android.bundle: No such file or directory
I/ReactNativeJS: [CodePush] Checking for update. I/ReactNativeJS: [CodePush] Checking for update. I/ReactNativeJS: [CodePush] Downloading package. I/ReactNativeJS: [CodePush] Downloading package. D/ReactNative: [CodePush] Error deleting file download.zip D/ReactNative: [CodePush] Applying full update. I/ReactNativeJS: [CodePush] Installing update. I/ReactNativeJS: [CodePush] An unknown error occurred. eactexample/files/CodePush/unzipped/CodePush/index.android.bundle.meta: open failed: ENOENT (No such file or directory) I/ReactNativeJS: [CodePush] Update is installed and will be run on the next app restart.
After restart
Process: t.com.reactexample, PID: 13949 com.facebook.jni.CppException: facebook::react::Recoverable: Could not open file/data/data/t.com.reactexample/files/CodePush/d0eba7f5a364cac891fc23cf0353bdc675d0aee9793afade0787ea3e3acca6a3/CodePush/index.android.bundle: No such file or directory at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromFile(Native Method) at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromFile(CatalystInstanceImpl.java:221) at com.facebook.react.bridge.JSBundleLoader$2.loadScript(JSBundleLoader.java:52) at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:234) at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1114) at com.facebook.react.ReactInstanceManager.access$900(ReactInstanceManager.java:113) at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:911) at java.lang.Thread.run(Thread.java:818)
Hi @tarunkonda123,
Thanks for reporting! Could you please provide some part of code which can help me reproduce your issue? Also, would be great if you will provide your Android version.
Thanks, Alexander
Hi @alexandergoncharov Thanks for your valuable time resolved my issue the problem is about this path apply from: "../../node_modules/react-native/react.gradle" apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
@tarunkonda123 Do you remember what was wrong with those paths in the end?
I too have build.gradle
...
apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
...
CodePush generally works great, but error reporting still logging few events
Error: /data/user/0/io.x.y/files/CodePush/download.zip (No such file or directory)
Error: /data/user/0/io.x.y/files/CodePush/download.zip: open failed: ENOENT (No such file or directory)
On Android 9 and Android 10 devices, but unsure why.
@leotm I met the same issue.Did you solve it?
@cq0702 Unfortunately not, still unresolved :/

still facing some instances of this, did anyone figure this out yet?
Same issue, has anyone found the solution
Same issue, has anyone found the solution ?