Java.io.IOException: Manifest string is not a valid json object or string

after running eas build, the build is completed but the standalone app keeps stopping in my device. i ran the codebase with npx expo start --no-dev minify, works perfectly. when i run the standalone app on expo go it shows the error java.io.IoException: Manifest string is not a valid JSONObject or JSONArray: OK

hi there! are you using eas build and eas update or can you explain more about your project?

i used expo build to build a standalone apk. i successfully install the apk on my device. but the app keeps crashing on my device.

can you try rebuilding? also, i suggest moving to EAS Build - we will be shutting down expo build at the end of the year because EAS Build is its successor

Sorry my bad. I mean i am using eas build

did you try rebuilding? can you share a link to your build page?

I have tried it several times

the build at the link provided crashes with the following error:

10-05 08:18:24.594  7522  7555 E ReactNativeJS: Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
10-05 08:18:24.594  7522  7555 E ReactNativeJS:       This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
10-05 08:18:24.596  7522  7556 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
10-05 08:18:24.596  7522  7556 E AndroidRuntime: Process: com.stevepath.blockplotmobile, PID: 7522
10-05 08:18:24.596  7522  7556 E AndroidRuntime: com.facebook.react.common.JavascriptException: Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
10-05 08:18:24.596  7522  7556 E AndroidRuntime:       This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., stack:
10-05 08:18:24.596  7522  7556 E AndroidRuntime: <unknown>@13:289
10-05 08:18:24.596  7522  7556 E AndroidRuntime: value@58:3231
10-05 08:18:24.596  7522  7556 E AndroidRuntime: <unknown>@58:758
10-05 08:18:24.596  7522  7556 E AndroidRuntime: value@58:2582
10-05 08:18:24.596  7522  7556 E AndroidRuntime: value@58:730
10-05 08:18:24.596  7522  7556 E AndroidRuntime: value@-1
10-05 08:18:24.596  7522  7556 E AndroidRuntime:
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:72)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:938)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:223)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
10-05 08:18:24.596  7522  7556 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:923)

more info on this error: fyi/no-registered-application.md at main · expo/fyi · GitHub
more info in this general troubleshooting guide: Troubleshooting build errors and crashes - Expo Documentation

i solved the problem thanks @brents for your analysis and resource

1 Like