App crashes on Android 11 after targetSdkVersion upgrade to 30 without any error logs

Viewed 1320
minSdkVersion = 25
compileSdkVersion = 29
targetSdkVersion = 30

It is a React Native project, and the app works well till android 10. issue persist only in android 11.

i tried updating Google WebView which was suggested in a similar issue, but it didnt work..

if anyone have a solution, please share..

2 Answers

Add this line to your app/build.gradle:

implementation("com.squareup.okhttp3:okhttp:4.9.2")

Edit: Although it is resolved since react native @0.67.2

Try to upgrade the compileSdkVersion = 30.

The compileSdkVersion should not be lower than the targetSdkVersion.

Related