I am getting this error in Android studio
Target API level '30' is out of range ('11' - '24')
My build.gradle contains
plugins {
id 'com.android.application'
}
android {
compileSdk 31
defaultConfig {
applicationId "com.android.cts_camera"
minSdk 30
targetSdk 31
versionCode 1
versionName "1.0"
/* renderscriptTargetApi 18
renderscriptSupportModeEnabled true*/
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
how to get rid of this error?
Update the compile SDK to 32. API level 32 is the latest compiled SDK version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.