I have problem with Android release build.On first launch my application crashes with com.facebook.react.common.JavascriptException: Error: Failed to load Analytics native module. FATAL EXCEPTION: mqt_native_modules.
After first crash it continue to work fine and on dev mode it works fine also.
I use #segment/analytics-react-native, but it also works well. On iOS release version everything works without any errors.
Any ideas what can be a problem?
Related
This seems to be related to AAB.
I recently published an app (react-native based), when I installed it from playstore, the app crashes. The log I have from Crashlytics is as follows:
Exception java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
at com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromAssets (CatalystInstanceImpl.java)
at com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromAssets (CatalystInstanceImpl.java)
at com.facebook.react.bridge.JSBundleLoader$1.loadScript (JSBundleLoader.java)
at com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle (CatalystInstanceImpl.java)
at com.facebook.react.ReactInstanceManager.createReactContext (ReactInstanceManager.java)
at com.facebook.react.ReactInstanceManager.access$1000 (ReactInstanceManager.java)
at com.facebook.react.ReactInstanceManager$5.run (ReactInstanceManager.java)
at java.lang.Thread.run (Thread.java:920)
However, when I installed the same app from android studio it is working fine, with no error. I double-checked my Services and backend, it is working as expected. Can someone please help me what am I missing here? Thanks.
I have a react-native app that's crashing in native code but only on Android release mode builds. I know it's possible to debug native code in Android Studio in debug mode. How do I attach a debugger to native code with Android Studio in release mode?
This is the library i use to report production bugs and crashes : bugsnag- .Its pretty good , you get a report of all the errors which your users face and also along with devices id and mobile type.Its integrtaion is pretty simple.
Hope it helps. feel free for doubts.
I am working on unity 2018.3.7f1 for Android.
The game was working fine as far as we were sending apks on android but now we are giving 64-bit support and making android app bundles from unity.
The problem I'm facing is when a user downloads the game from the play store it is stuck after one scene. I have checked the logs and it says dll not found exception: Unable to load dll 'AkSoundEngine': The specified module could not be found.
I am using wwise for sounds in the project.
I have built an Android application that uses AWS S3. I am successful in building the application. The application works fine if I compile and execute on a simulator.
If I try to release the application (built using progaurd), when I try to run the application it crashes with the message "Failed to parse regional endpoints". I tried different progaurd configurations, trying different way of including JARs but nothing is working.
I am using AWS sdk 1.7.1.1.
Please let me know if you have faced similar issue and found a solution.
Thanks
- SVJK
I have created an app using titanium for android. Development build of app is working fine in every device. I tested the distribution build before uploading on google-play. It is giving me an error(I am showing the error in alert but it gives me only two curly braces) on a particular page. How can identify the issue. It caught in catch block but it is not giving any specific error.
I got the issue. I was using a function that was declare and define after calling it. That breaks the flow of code. Javascript runs the code line by line.That's why it create problem. When we test the development build , it is not minifed.While distribution build is minified. Just check the publishing build before uploading on store. It may be some issue like this.