Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing version code in AndroidManifest not Working

I tried to update my app in the playstore, to do that I changed my versioncode from 1 to 2:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.xamaxon.congstardatenverbrauch"
android:versionCode="2"
android:versionName="1.0.1">

When I'm uploading the app the developerconsole is saying, that I still use the version code 1 and there is no human support for German developer, so I hope someone is able to help me.

like image 424
Cedric Krause Avatar asked Jan 09 '14 22:01

Cedric Krause


People also ask

What is the difference between version code and version name?

The version code is an incremental integer value that represents the version of the application code. The version name is a string value that represents the “friendly” version name displayed to the users. Save this answer.

What is APK version code?

versionCode — A positive integer used as an internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. This is not the version number shown to users; that number is set by the versionName setting, below.


1 Answers

The version code and name get overridden by values in your build.gradle file. So edit your build.gradle and rebuild.

like image 124
laalto Avatar answered Sep 28 '22 02:09

laalto