I have a project developed with Ionic, and when the mobile app was being published on play store, one error occurred:
This configuration cannot be published for the following reason(s): It is forbidden to downgrade devices which previously used M permissions (target SDK 23 and above) to APKs which use old style permissions (target SDK 22 and below). This occurs in the change from version 100062 (target SDK 23) to version 100072 (target SDK 22). Version 100062 is not served to any device configuration: all devices that might receive version 100062 would receive version 100072.
I don't know if it happened because the last version was generated in another machine or because we've put the crosswalk plugin in our project.
Well, in order to solve this problem, just put this line in your config.xml
<preference name="android-targetSdkVersion" value="23"/>
Maybe you will need to change the "23" for the version you want to use.
After that, you will generate again with "ionic build android --release" and that's all :D
Best regards,
Adriano Schmidt
Nenhum comentário:
Postar um comentário