Open uuzelac opened 2 years ago
Facing the same issue, any solution?
can you guys share the logcat log or the apk that I can reproduce the crash? thank you!
After long process of trial and error, we finally found out what was causing Android realise build to freeze at start up. It was babel-plugin-minify-dead-code-elimination
that we were using in our project.
In our babel.config.js
file there was this plugin enabled
env: {
production: {
plugins: [['minify-dead-code-elimination', { optimizeRawSize: true }]],
},
}
after upgrading babel-plugin-minify-dead-code-elimination
from 0.5.1
to 0.5.2
we finally managed to build our Android realise build successfully.
I hope that this will help someone upgrading from RN 0.65.0
to newer version and save a lot of hours of searching for
the solution.
About libhermes-executor-debug.so
, this actually will not cause your app stop working. You can try realise
build with new clean project and you will see the same error message. If your app is not working it is not up to libhermes-executor-debug.so
it is something else.
Happy hacking!
Description: After upgrading React Native project from 0.65.0 to 0.70.4 I end up in a problem with crashing app on start. The error appears in both debug and release build but in release build error cause app to freeze on splash screen. I tried all available solutions online but nothing didn't help.
Build.gradle:
My dependencies: