My androidmanifest.xml does not appear to be getting updated.
I change the version number and save it, run the app in the emulator.
Check the file, same as it was before I changed anything.
If I delete the file, it IS recreated but with the versionCode and versionName reset back to 1 and not the current version/build:
The version could should increment and the version name should be what I have in the Titanium settings.
At present to publish I am having to change these manually but I am wondering what else is not being changed?
Is this a bug in 1.3? or is it something I am doing wrong?
Editing your tiapp.xml file is a lot easier than maintaining custom manifests. During build it outputs a manifest with the parameters in it.
<?xml version="1.0" encoding="UTF-8"?> <ti:app xmlns:ti="http://ti.appcelerator.org"> ... <android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest android:versionCode="2" android:versionName="1.2.0" android:installLocation="auto"> </manifest> </android> <modules> </modules> </ti:app>
Check in the Programing Guides section. You need to rename the AndroidManifest.xml to AndroidManifest.custom.xml and make your changes there.