# Where I define Android Native Platforms?

**URL:** <https://forum.ionicframework.com/t/where-i-define-android-native-platforms/70069>\
**Category:** ionic-v3\
**Created:** [November 13, 2016, 10:48pm UTC](https://forum.ionicframework.com/t/where-i-define-android-native-platforms/70069 "2016-11-13T22:48:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![victorcarvalhosp](https://avatars.discourse-cdn.com/v4/letter/v/b782af/32.png) [@victorcarvalhosp](https://forum.ionicframework.com/u/victorcarvalhosp)\
**Post date:** [November 13, 2016, 10:48pm UTC](https://forum.ionicframework.com/t/where-i-define-android-native-platforms/70069/1 "2016-11-13T22:48:45Z")

</div>

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’:

![image](https://global.discourse-cdn.com/ionicframework/original/3X/5/e/5ec1c07022fe129f64dedc5a4373b60f77c3ebbd.png)

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?

Thanks

---

<div class="post-metadata">

**Author:** ![victorcarvalhosp](https://avatars.discourse-cdn.com/v4/letter/v/b782af/32.png) [@victorcarvalhosp](https://forum.ionicframework.com/u/victorcarvalhosp)\
**Post date:** [November 15, 2016, 4:16am UTC](https://forum.ionicframework.com/t/where-i-define-android-native-platforms/70069/2 "2016-11-15T04:16:43Z")

</div>

I can’t upload a new version off my app because of this… If anyone can help…

---

<div class="post-metadata">

**Author:** ![victorcarvalhosp](https://avatars.discourse-cdn.com/v4/letter/v/b782af/32.png) [@victorcarvalhosp](https://forum.ionicframework.com/u/victorcarvalhosp)\
**Post date:** [December 1, 2016, 12:56am UTC](https://forum.ionicframework.com/t/where-i-define-android-native-platforms/70069/3 "2016-12-01T00:56:49Z")

</div>

Didn’t solve it yet… =(

---

<div class="post-metadata">

**Author:** ![tim](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tim/32/7550_2.png) [@tim](https://forum.ionicframework.com/u/tim)\
**Post date:** [December 1, 2016, 5:50am UTC](https://forum.ionicframework.com/t/where-i-define-android-native-platforms/70069/4 "2016-12-01T05:50:36Z")

</div>

Hey @victorcarvalhosp sorry you’re having issues, judging by those version codes the problem might be related to [https://issues.apache.org/jira/browse/CB-8976](https://issues.apache.org/jira/browse/CB-8976). Take a look at the following links:

[https://cordova.apache.org/docs/en/latest/config\_ref/#widget](https://cordova.apache.org/docs/en/latest/config_ref/#widget)  
[https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#setting-the-version-code](https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#setting-the-version-code)

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](https://developer.android.com/google/play/publishing/multiple-apks.html#VersionCodes).
