React Native running android says the new target SDK 22 doesn't support runtime permissions. The old target SDK 24 does though, so how do you fix it?
Image of Error
Uninstall old version of your app.
Change the following attributes in the file [project path]/android/app/build.gradle ,
........
.........
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.kotac"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
.................
.............
as needed
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With