I would say a bug, can you file a bug. thanks, jerome
On Wed Sep 03 2014 at 8:55:58 AM Alexander Lippling <[email protected]> wrote: > Hi, > > I have the following setup: > > *$ cat src/main/AndroidManifest.xml* > <manifest > package="xyz" > xmlns:android="http://schemas.android.com/apk/res/android" > android:versionCode="1" > android:versionName="2.0"> > ... > > *$cat src/release/AndroidManifest.xml* > <manifest > xmlns:android="http://schemas.android.com/apk/res/android" > xmlns:tools="http://schemas.android.com/tools" > android:versionCode="9" > android:versionName="3.0" > tools:replace="versionCode,versionName"> > ... > > *$ ./gradlew assembleRelease* > *$ aapt dump badging build/outputs/apk/app-release.apk | grep -i code* > package: name='xyz' versionCode='1' versionName='3.0' > > The version name is replaced correctly, but there is no change for the > version code. Is this a feature or a bug ;-)? > > Thanks in advance, > Alexander > > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
