Whenever I export the application google gives this message:
EventhoughI'mchangingAndroidManifest.xml:
android:versionCode="2"
android:versionName="1.0.2"
Procedure I'm doing:
I'm exporting right?
Whenever I export the application google gives this message:
EventhoughI'mchangingAndroidManifest.xml:
android:versionCode="2"
android:versionName="1.0.2"
Procedure I'm doing:
I'm exporting right?
Your procedure is correct, but the problem is that Gradle rewrites those attributes in AndroidManifest
.
Look at gradle.build
of your main module, by the following excerpt:
defaultConfig {
applicationId "xxx.xxx.xxx.xxxxxxxxx"
minSdkVersion 10
targetSdkVersion 20
versionCode 1
versionName "1.0"
}
Change the versionCode
and versionName
to the desired.