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
– Leandro Godoy Rosa
Hello Leandro, the targetSdkVersion of this my update is 23. I put the build.Gradle to be clearer. I’m forgetting something?
– JamesMartins