java - Amazon Appstore upload failed due to minSDK (ANDROID) Gradle error - Stack Overflow

admin2025-04-16  4

I have previously uploaded my app with config in (Build.Gradle) like

android {
    namespace '----------------------------------'
    compileSdk 35

    defaultConfig {
        applicationId '------------------------------'
        minSdk 26
        targetSdk 35
        versionCode 2
        versionName "1.2"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

Now I have optimized the code and realize that the minSDK can be reduce to 23

android {
    namespace '----------------------------------'
    compileSdk 35

    defaultConfig {
        applicationId '------------------------------'
        minSdk 23
        targetSdk 35
        versionCode 3
        versionName "1.2.1"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

now i got error for from Amazon Appstore

i try to reduce the version code which is obesely not worked as expected and now i don't know what to do next..

NOTE: I am uploading new version (Not a new app)

Why i want to do this :- To increase the scoop of devices my app can run on...

I am new in publishing the apps for first time, can someone guide me.. i can't find this error anywhere else..

转载请注明原文地址:http://www.anycun.com/QandA/1744807416a87892.html