03-20-2014 12:11 PM
I am using blackberry-apkpackager to package apk->bar.
Original manifest.xml has two fields defined for the version:
After packaging the manifest.mf has the following two defined:
Of course, after signing and deploying to Blackberry World, the application (using sandbox) shows
Question 1: How can I get it to show 1.30.0 ?
I am using using only BB10 tools (the beta) and thus cannot rely on eclipse although eclipse did not help
I saw people mentioning .lsv files but I cannot get those. Where is the documentation for that?
My last resort is to unzip the .bar after packaging, edit the manifest.mf, zipping the .bar file back, signing it and pushing to the Blackberry world. Anyone have any better idea?
What about android.cfg? Cannot find documentation for that one too
i would also gladly use -m and/or -ma swithces of the blackberry-apkpackager but don't have the docs for that too RIM please give us some documentation...
Solved! Go to Solution.
03-20-2014 06:54 PM
03-21-2014 02:54 AM
I found the solution.
"Evidently something changed in the BlackBerry build tools. Try setting the application's
android:versionName attribute to a 4-part value (such as
18.104.22.168). BlackBerry has always used this format (major.minor.micro.build) for native apps. It seems that unless your Android manifest has the same format, the BlackBerry build tools fail to parse the versionName attribute and use a fall-back"
That's exactly what happened in my case. The android:versionName used major.minor.micro, and bbtools then reverted to android:versionCode to generate something completely useless
I would still love to see some documentation about all this...