I'm on RN 0.66.0 and I'm trying to update from v8.0.0 to v8.1.1. iOS is working perfectly, but when I try to launch in Android I get the error Attempt to invoke virtual method 'boolean com.facebook.react.uimanager.FabricViewStateManager.hasStateWrapper()' on a null object reference.
Adding this to app/build.gradle worked for me:
dependencies {
...
implementation ("androidx.appcompat:appcompat:1.3.1") {
version {
strictly '1.3.1'
}
}
...
}
work for me, but if i not update RN and in app/build.gradle have two appcompat :
implementation ("androidx.appcompat:appcompat:1.3.1") {
version {
strictly '1.3.1'
}
}
and
implementation 'com.android.support:appcompat-v7:28.0.0'
if I just use androidx.appcompat:appcompat:1.3.1 or I use both of them ??
I'm afraid that the app doesn't support under Android 8.