Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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..

like image 976
Yadhu Krishna Avatar asked Jan 26 '26 19:01

Yadhu Krishna


1 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

like image 132
Alireza Hadjar Avatar answered Jan 29 '26 08:01

Alireza Hadjar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!