Search code examples
javaandroidconfigurationapp-storerelease

Android compileSdk 33 targets SDK 24 in playstore


this is my defaultConfig

   defaultConfig {
        applicationId "com.portlmedia.streets"
        minSdkVersion 24
        compileSdk 33
        versionCode 4
        versionName "1.0.2"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        buildConfigField "String", "WEBVIEW_URL", "\"https://streets.portlmedia.com\""
        ndk {
            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
        }
    }

But when I created the .aab file and try to update to playstore, It shows me that the Target SDK is 24 enter image description here

Can anyone tell me what is the issue here?


Solution

  • you should use:

            targetSdkVersion 33