I am desperately trying to upload an Android-App that has been developed and packaged with Adobe Flex SDK 4.6 using Intellij IDEA. The PKCS#12 was created using openSSL (I just want to mention this, but I don't think this is the problem).
Everything worked fine until I got the silly desire to publish the App into the Google Play store. It destroyed all my dreams with this simple sentence:
Google Play requires versionCode to be set to a positive 32-bit integer in AndroidManifest.xml.
Okay, its not a secret that you can not define the Android versionCode from Flex SDK directly. You have to use the -Tag, which I did. Actually I tried this in several different combinations (of course only one at a time) like:
<versionNumber>0</versionNumber>
<versionNumber>1</versionNumber>
<versionNumber>2</versionNumber>
<versionNumber>0.0.1</versionNumber>
<versionNumber>1.0.0</versionNumber>
<versionNumber>2.0.1</versionNumber>
... and whatever you can imagine ...
But whatever I did, when I upload the APK, the status bar is going to 100% and starts counting backwards as if it was laughing at me and ends up with the above error message.
From the Adobe Community I learned that on Android, the AIR version a.b.c is translated to the Android version code using the formula: a*1000000 + b*1000 + c.
Well, using this formula all my values for the -Tag should become a 32-Bit Integer.
Any Ideas?