You must Login before you can answer or comment on any questions.
I tried manually modifying Version in AndroidManifest XML, and also tried to change it in Titanium Edit tab (Version:), but Google Android Market still complains about Version as it sees as same Version Code 1 all the time.
You Need to bump both android:versionCode and android:versionName
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.appcelerator.aidori" android:versionCode="5" android:versionName="1.4" >
Hey guys, technically there are a hybrid of answers above to make a working solution but it is in-fact possible to just edit the tiapp.xml file.
The initial code of line reads:
<android xmlns:android="http://schemas.android.com/apk/res/android"/>what you need to replace it with is:
<android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest android:versionCode="101" android:versionName="1.0.1"/> </android>versionCode must be an integer and versionName should be a float or integer.
I solved it :)
Just create a folder called "platform" and within a folder called "android" in your project folder (together with other folders like build, resources etc.). And copy the "AndroidManifest.xml" file from the build\android folder in there and modify the versioncode to 2,3,4,5,6,7 etc. and version name to 1.1, 1.2, 1.3 etc.
Best regards, Darius
using mobile sdk 1.7.2 and even when I set both android:versionCode and android:versionName -- the displayed versions is ALWAYS "1"
what's the proper location/syntax for these declarations in the tiapp.xml?
currently I have them inside of the <android> tag
<android> android:versionCode="1.1.1" android:versionName="Test" </android>
Think you can help? Login to answer this question!