App Submission Problem in Play Store

Asked

Viewed 2,310 times

5

I am submitting an updated version of my app (sdk 23) in the Play Store and is giving this error when having publish in the section in Beta Tester:

Cannot publish configuration for following reasons: Not possible to downgrade devices that used previously M (SDK 23 and higher) permissions for Apks that use the old style (SDK 22 and lower). This occurs in the version change 32 (SDK 23) for version 29 (SDK 19).

I’ve made the changes of requestPermission for sdk 23. But to contemplate the devices with android <23 my manifest is like this:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

My build.Radle looks like this:

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

defaultConfig {
    applicationId "br.com.app.vertz"
    minSdkVersion 14
    targetSdkVersion 23
    versionCode 36
    versionName "2.8"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}

I still get the error message:

Unable to downgrade devices they used previously the M (SDK 23 and higher) permissions for Apks using the old style permissions (SDK 22 and lower). This occurs in the change from version 32 (SDK 23) to version 29 (SDK 19).

  • If I am not mistaken this message is that you are trying to send an apk that has targetSdkVersion less than 23 when you have already sent some other apk with targetSdkVersion >= 23, whether sent for production or for testing, once you published an apk with sdk 23 you can never go back

  • Hello Leandro, the targetSdkVersion of this my update is 23. I put the build.Gradle to be clearer. I’m forgetting something?

1 answer

1


It looks like you tried to load an APK for production that uses the M permissions model (level 23). This means you cannot do the downgrade for earlier versions. This is due to the changed permissions template between these different versions.

See here on Console of the Google developer:

Note that the rollbacks are not supported due to the requirements of application version of the Android platform. If you need reverse, check before launching a previous APK with a new number of version. However, this practice should only be used as the last resource, since users will lose access to new features and the old application may not be compatible with changes or server data formats, so be sure to run alpha and beta tests before update.

To correct it is necessary:

  1. Rebuild the project in its previous state with the version number higher (should be higher than all submitted versions formerly)
  2. Forward

Browser other questions tagged

You are not signed in. Login or sign up in order to post.