Unable to publish the application on the PlayStore. It is forbidden to transfer devices that previously used permissions M

Play store snap

I can not understand the error. I realized that in my 14th version of targetSdkVersion there were 23, and now I can not download apk. Now I have targetSdkVersion = 22, and even for my previous version targetSdkVersion was 22.

I want to run the application as soon as possible. But stuck in this problem.

Gradle

defaultConfig {
    applicationId "***"
    versionCode 30
    versionName "3.0"
    multiDexEnabled true
    compileSdkVersion 23
    buildToolsVersion "23.1.1"
    minSdkVersion 14
    targetSdkVersion 22
}
+4
source share
1 answer

You seem to have loaded the APK into prod, which uses the M runtime permission model (level 23); This means that you cannot downgrade to 22. This is due to the changed permissions model between these different versions.

, APK- API 22, .

+1

Source: https://habr.com/ru/post/1628888/


All Articles