Android application is crashing in release mode

See original GitHub issue

Description

exception.class.missing.Unknown: at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (Unknown Source:75) at java.lang.reflect.Method.invoke (Native Method) at com.facebook.react.bridge.JavaMethodWrapper.invoke (Unknown Source:148) at com.facebook.react.bridge.JavaModuleWrapper.invoke (Unknown Source:147) at com.facebook.react.bridge.queue.NativeRunnable.run (Native Method) at android.os.Handler.handleCallback (Handler.java:938) at android.os.Handler.dispatchMessage (Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (Unknown Source) at android.os.Looper.loopOnce (Looper.java:233) at android.os.Looper.loop (Looper.java:334) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (Unknown Source:37) at java.lang.Thread.run (Thread.java:920)

Version

0.69.1

Output of npx react-native info

System: OS: macOS 12.4 CPU: (8) arm64 Apple M1 Memory: 113.94 MB / 8.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.14.0 - /usr/local/bin/node Yarn: Not Found npm: 8.3.1 - /usr/local/bin/npm Watchman: 2022.03.21.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: API Levels: 28, 29, 30, 31, 32 Build Tools: 29.0.2, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0, 33.0.0, 33.0.0 System Images: android-32 | Google APIs ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8609683 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 12.0.2 - /Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home/bin//javac npmPackages: @react-native-community/cli: Not Found react: 18.0.0 => 18.0.0 react-native: 0.69.1 => 0.69.1 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

The issue was discovered in the Google Play Console for Vivo V2055 Android 12 (SDK 31).

Screenshot 2022-07-28 at 10 35 13 PM

Snack, code example, screenshot, or link to a repository

My apologies for not being able to reproduce this issue.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Shmubloncommented, Aug 15, 2022

I have the same issue

0reactions
cortinicocommented, Oct 3, 2022

Asking again if someone can provide a reproducer. Moreover, knowing if you’re using flavors or not, would be helpful to understand what’s the issue here.

Also related to https://github.com/facebook/react-native/issues/34688

Read more comments on GitHub >

github_iconTop Results From Across the Web

App crashes when select Release mode but in debug mode ...
I want to reduce size of my application therefore I am using minifyEnabled true in release mode but due to this application crashes....
Read more >
Android App suddenly crashes when compiling in Release ...
Hi. My App was working fine when build to release mode, and both when downloading from Google play store or from a Android...
Read more >
Detect and diagnose crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Android App Crashes in release mode. What are the required ...
Question. Android App Crashes in release mode. What are the required class that needs to be added in proGurad. In Debug mode everything...
Read more >
Xamarin app crashes in release mode · Issue #5483 - GitHub
In Debug version, application is working good but after changing it to release mode, app starts to crashes.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found