[Android] - Release Application crashes immediately after having upgraded to 0.70.0 with newArchEnabled=true
See original GitHub issueDescription
As soon as the app starts it crashes. Inoticed that in the logs there is this: facebook::jni::throwPendingJniExceptionAsCppException(). For this reason i searched it within react-native folder and i found this file /node_modules/react-native/ReactAndroid/src/main/jni/react/jni/MethodInvoker.cpp. At that point i added a LOG(FATAL) << methodName_ inside MethodCallResult MethodInvoker::invoke(row 226) and i discovered in the logs that the app crashes just after the log and the value of methodName is installTurboModule which is a react-native-reanimated function`.
Steps to reproduce
./gradlew assembleRelease --no-daemon
Snack or a link to a repository
none
Reanimated version
3.0.0-rc.2
React Native version
0.70.0
Platforms
Android
JavaScript runtime
No response
Workflow
No response
Architecture
No response
Build type
No response
Device
No response
Device model
No response
Acknowledgements
Yes
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
[Android] - Release Application crashes immediately after ...
Description Application crashes immediately after having upgraded to 0.70.0 with newArchEnabled=true. If i keep newArchEnabled=false the app ...
Read more >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 suddenly crashes when compiling in Release ...
I am using Xamarin VS Studio 2022 and C#. But it has suddenly started failing. I get the following error among others: Time...
Read more >Fixing React-Native android release build - wesionaryTEAM
Android release build crashes on launch but works fine in development mode. After months of research and development, your app is finally ready...
Read more >React native Android app crashes immediately after start
My app crashes immediately after startup in release mode but it's working fine when using it in debug mode. List of things that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@tomekzaw Thanks for your help! Btw, i upgraded an existing app. If i create a fresh new app it works without crashing. This is the issue that i have created on the RN repo.
Hey @allemanfredi, thanks for letting us know. Closing the issue as it’s not a bug with Reanimated.