03-19-2012 11:32 PM
Hi guys I need some help. I registered for the free playbooks and have been trying to get this app resumitted. The app signer wont sign my AUTHOR and RDK codes, and I get this error message:
"Packaging failed:1C:\Users\Programs\eclipse>set version=1.0.3 C:\Users\Programs\eclipse>set LIB=C:\Users\Programs\eclipse\bin\Blackberry SDK\ C:\Users\Programs\eclipse>java -Xmx512m - cp "C:\Users\Programs\eclipse\...\BARPackager.jar;C:\Users\Programs\eclipse\...\Apk2bar-1.0.3.jar" net.rim.tools.apk2bar.Apk2bar "C:\Users\Programs\eclipse\App\bin\App.apk" "C:\Users\Programs\eclipse\windows-android-sdk" - t "C:\Users\Programs\eclipse\...\ dist\Android3.1\ Start packaging App.apk [ERROR] [BarGenerator] Unknown image type 0App.apk....................................Failed summary: Total Apk files #1; succeeded0; skipped 0; failed 1;"
I summed up some of the file names, but could someone help me. Any help is appreciated!
03-20-2012 01:13 AM - edited 03-20-2012 09:26 AM
Is that accurate? Go check inside your project directory. Inside the root of your project directory go into the dist directory and then tell me what the name of the directory inside there is.
It appears you designed your project for a target of Android 3.1. That's not allowed, Playbook OS 2.0 only supports a target of 2.3.3 at most.
03-22-2012 09:01 AM - edited 03-22-2012 09:03 AM
Great that you found out how to solve your problem.
For the guys that says it's the Android 3.1 folder and the target-sdk:
In manifest.xml you have to set your minSDK to maximum level 10:
<uses-sdk android:minSdkVersion="10" />
But in properties.properties you CAN set your target level higher then level 10:
I had to set it to level 13 because the ad sdk I used needed this and it works fine and the app got approval with this target SDK. So don't worry if you find your app in /dist/Android 3.1 cause it's okay. The BAR signer stops compiling if there is a porblem with the SDK level.
05-09-2012 09:04 PM
I have this same issue, and can't get past it. I actually have one app that works and one that doesn't. Both have Properties -> Android -> Project Build Target set to Android 2.3.3 (API Level 10). Both have the following in the manifest:
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="9"/>
I've also tried changing the one that didn't work to this, without luck:
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10"/>