# Ionic not update app version

**URL:** <https://forum.ionicframework.com/t/ionic-not-update-app-version/66688>\
**Category:** ionic-v3\
**Created:** [October 12, 2016, 1:05pm UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688 "2016-10-12T13:05:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 12, 2016, 1:05pm UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/1 "2016-10-12T13:05:24Z")

</div>

Hello! I has app v 1.0.2 (100028) based on ionic beta 11 in Google Play Store.  
Early I migrated my app to ionic rc0, changed version in config.xml to 1.1 and now I try to upload new build to Google Play. It says me 'APK number version must be greater 100028."

In AndroidManifest.xml:

```
android:versionCode="10100" android:versionName="1.1"

```

What I doing wrong? I already update my app two times with no errors before migration to rc0.

---

<div class="post-metadata">

**Author:** ![Yimiprod](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/yimiprod/32/101546_2.png) [@Yimiprod](https://forum.ionicframework.com/u/Yimiprod)\
**Post date:** [October 12, 2016, 1:19pm UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/2 "2016-10-12T13:19:19Z")

</div>

Change `10100` to `101000` or `101000`

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 12, 2016, 1:35pm UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/3 "2016-10-12T13:35:46Z")

</div>

I write new value in AndroidManifest but ionic auto change versionCode back to 10100 on build process.

---

<div class="post-metadata">

**Author:** ![LAFONT](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@LAFONT](https://forum.ionicframework.com/u/LAFONT)\
**Post date:** [October 12, 2016, 1:42pm UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/4 "2016-10-12T13:42:33Z")

</div>

check this:

> <https://stackoverflow.com/questions/38671683/your-apks-version-code-should-be-higher-than-378/38675269#38675269>

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 12, 2016, 2:01pm UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/5 "2016-10-12T14:01:40Z")

</div>

It works. But why this broke in latest ionic?

---

<div class="post-metadata">

**Author:** ![LAFONT](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@LAFONT](https://forum.ionicframework.com/u/LAFONT)\
**Post date:** [October 12, 2016, 2:14pm UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/6 "2016-10-12T14:14:31Z")

</div>

i guess it’s not Ionic related.

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 13, 2016, 6:31am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/7 "2016-10-13T06:31:11Z")

</div>

but I think it’s something in ionic environment bcs on ionic beta 11 all works

---

<div class="post-metadata">

**Author:** ![LAFONT](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@LAFONT](https://forum.ionicframework.com/u/LAFONT)\
**Post date:** [October 13, 2016, 9:07am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/8 "2016-10-13T09:07:25Z")

</div>

I am curious to know the cause too, I had the same problem but before RC0. Did you upgrade cordova client with RC0?

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [October 13, 2016, 9:10am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/9 "2016-10-13T09:10:50Z")

</div>

Did you use Crosswalk before by any chance?

---

<div class="post-metadata">

**Author:** ![LAFONT](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@LAFONT](https://forum.ionicframework.com/u/LAFONT)\
**Post date:** [October 13, 2016, 9:21am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/10 "2016-10-13T09:21:43Z")

</div>

“Crosswalk” related, it seems logical, since crosswalk adds a number to “versioncode”

From memory, I did not use crosswalk when I met the problem. (But I could be wrong)

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [October 13, 2016, 9:43am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/11 "2016-10-13T09:43:53Z")

</div>

Yeah since crosswalk automatically ups the version by a factor 10. If you then would remove crosswalk or stop using it, the versioncode becomes ‘normal’ again. If you already uploaded a crosswalk to the PlayStore, your current version number is simply too low. It’s one scenario that could be happening at least 🙂

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 13, 2016, 9:47am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/12 "2016-10-13T09:47:12Z")

</div>

I did only steps from **Copying your Project to a New Project** ([CHANGELOG.md](http://CHANGELOG.md)):

```
npm uninstall -g ionic 
npm install -g ionic
ionic start --v2 myApp
```

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 13, 2016, 9:47am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/13 "2016-10-13T09:47:39Z")

</div>

Nope, I don’t used Crosswalk in this project.

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [October 13, 2016, 9:49am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/14 "2016-10-13T09:49:54Z")

</div>

You said you used to do up version 1.1, but what was it before that? Since I would expect a version number with three digits, f.i. 1.1.1

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 13, 2016, 9:51am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/15 "2016-10-13T09:51:23Z")

</div>

I used Crosswalk early in other project. Uploading new version with Crosswalk or without it don’t give me any similar problems.

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 13, 2016, 9:52am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/16 "2016-10-13T09:52:31Z")

</div>

My app was 1.0.2 version. I try with next versions and no one works:  
1.0.3  
1.0.5  
1.1

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [October 13, 2016, 9:56am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/17 "2016-10-13T09:56:28Z")

</div>

Okay, but Crosswalk is bound to a project, so if you used it in another project it shouldn’t be an issue now. It’s logical that the playstore doesn’t accept a version that’s lower then the one you’re trying to upload. The playstore expects a version higher then 100028, since the apk you’ve uploaded before was on that version. You should rather ask yourself the question how you’ve uploaded an apk with such a high version number, since that’s definitely an upped version number. Just up the version number with a zero and your build will pass (i.e. versionnumber: 10.1.1). I now that’s ugly, but that should supersede the current version in the playstore 100028.

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 13, 2016, 10:04am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/18 "2016-10-13T10:04:54Z")

</div>

I used and deleted Crosswalk several month ago and already uploaded new versions of others apps and this app to Play Store. All has been broken only after upgrade to ionic rc0. Someone has this issue too? Manual edit codeVersion is not normal.

---

<div class="post-metadata">

**Author:** ![luukschoen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/luukschoen/32/98585_2.png) [@luukschoen](https://forum.ionicframework.com/u/luukschoen)\
**Post date:** [October 13, 2016, 10:07am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/19 "2016-10-13T10:07:41Z")

</div>

Ionic isn’t breaking anything here. The build process yes, because it doesn’t obey the crosswalk versioning anymore. I suppose there used to be a reference to the crosswalk in your build settings, but since upgrading to RC0 this probably isn’t the case anymore. That’s why the builds are failing.

---

<div class="post-metadata">

**Author:** ![Stanislav](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stanislav](https://forum.ionicframework.com/u/Stanislav)\
**Post date:** [October 13, 2016, 10:11am UTC](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688/20 "2016-10-13T10:11:15Z")

</div>

Can u help me repair this build process?

[Next page](https://forum.ionicframework.com/t/ionic-not-update-app-version/66688.md?page=2)
