Reading build.xml it suggests copying the targets from mail_rules.xml
(found in $android_home/tools/ant) into build.xml.

Reading mail_rules.xml it seemed I can define a property called
"version.code" in my build before main_rules.xml defines it
(properties can only be written once in ant) and maybe get the same
results that way with a simpler change and without duplicating Android
build steps in my build file.

That looked good, so I tried it, also removing my integer reference in
the manifest.

But on app upload Market complains: "Market requires versionCode to be
set to a positive 32-bit integer in AndroidManifest.xml."  :-(

Would have been nice.

Copying the "aapt" target into build.xml and modifying it does seem to
work though.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to