Closed iamvucms closed 2 years ago
Hey! 👋
It looks like you've omitted a few important sections from the issue template.
Please complete Reproduction section.
The top of the stack trace suggests not finding some class which does not seem related to react-native-screens
. Did you clear all the caches etc.? There were many changes related to the new architecture so it is for sure good to do it. If it doesn't work, please try and provide a minimal repro as suggested by github bot.
@WoLewicki Hmm, I just think android project settings isn't compatible with new react native screens. Actually it was working fine after I reverted back to old version. Not sure why
Did you try to setup a fresh project with your version of RN and react-native-screens
and check if it works there? Maybe there is something specific in your project that causes this crash. If not, we will need a simple repo with reproduction to be able to say more.
Yes, it's working on fresh project. Going to reproduce the bug here
Hey @WoLewicki. So sorry for late, I've just created reproduction of the crash issue in this repo : https://github.com/iamvucms/rn-screens-reproduce-crash-android.
@iamvucms I tested the repo you provided and it is true that the current version of library leads to the crash and 2.18.1
version doesn't. Still, I think the crash is not a product of react-native-screens
since the crash message is such: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/arch/core/executor/ArchTaskExecutor;
, meaning there are problems with project configuration. I cannot help much more with this and I am not sure if there is anything we can do on the side of react-native-screens
. Did you look for the solutions of this exact error?
@WoLewicki Thank you so much for checking my repo. I will back to this issue after find solution.
@iamvucms
hello did you find solution ??
thank you
@ferasabufares Sorry, I did not. I'm still keeping using old version. Not sure what is conflicting in my android config vs rn screens
Description
App is crashing on android after upgrade to latest react-native-screens
Screenshots
Steps To Reproduce
Expected behavior
Latest react native screens working fine on android
Actual behavior
App crash on launching
Reproduction
app/build.gradle
android/build.gradle
Platform
Workflow
Package versions