In any case, to avoid rejection at the Android level?

I get an error - INSTALL_FAILED_PERMISSION_LEVEL_DOWNGRADE when installing an application from adb after targeting sdk 22, starting at 23.

I have to do this, temporarily due to some other problems, but this is not the best experience for users updating the application on Google if they simply cannot. The only solution I know at the moment is to remove the current version (targeting SDK 23) and then install the update (targeting SDK 22).

Despite the fact that only a handful of people are present at Marshmallow, it would be better if they did not encounter this problem.

Does anyone know about this?

Update : AFAIK nothing can be done in the application or on the console so that users do not uninstall and install the application. Fortunately, I did this when there were few users on Marshmallow.

+4
source share
1 answer

This answer may not directly address the question, but can it help others reach a faster solution.

I created several versions with the following configuration (inside build.gradle) and made them available to alpha and beta testers through the Google Play Console :

minSdkVersion 23
targetSdkVersion 23

, , :

minSdkVersion 19
targetSdkVersion 19

Google Play Console. , , , ( ).

minSdkVersion 19
targetSdkVersion 23
0

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


All Articles