Hello guys! I was using ionic beta11 and CLI @beta untill now, and when I generate the apk and put on play store, he shows NATIVE PLATFORMS = ‘arm64-v8a, armeabi, armeabi-v7a, x86, x86_64’:
But now I updated the CLI and the project to RC2, and everything is working fine on my tests, but when I generate the apk don’t show the NATIVE PLATFORMS anymore… So when I upload my new version on play store the generated version is different and I receive a error:
'This configuration cannot be published for the following reason(s):
Version 20109 is not served to any device configuration: all devices that might receive version 20109 would receive one of versions 201069.'
My OLD VERSION is 2.1.6 = 201069
My NEW VERSION is 2.1.8 = 20109
Someone know what I need to do to set the NATIVE PLATFORMS on ionic build?
Since your old version code is 201069, you’ll need to choose a higher number for your next versions (20109 is lower than 201069). You can do this by setting the android-versionCode attribute on the widget element in your config.xml file. I could be wrong, but I believe if you just have one apk for your app then this number isn’t all that important, it’s only for when you are publishing multiple apks: https://developer.android.com/google/play/publishing/multiple-apks.html#VersionCodes.