04-04-2013 12:34 PM
I am trying to deploy my android app from eclipse on to my blackberry Z10 running 10.0.9.422 and i am unsuccessfull at it.
Here is the actual error that i am receiving.
Failed to deploy project XXXX
Info: Sending request: Install
Info: Action: Install
Info: File size: 8659959
Info: Installing ...
Info: Processing 8659959 bytes
Info: Progress 0%...
Info: Progress 49%...
Info: Progress 50%...
Info: Progress 100%...
After this error, I could see the app icon on my Z10, but when i try to access it, it says' Initializing. Please wait...' and the app crashes thereafter.
What does failure -9 indicate and any idea on what's the issue/resolution might be?
Any help is greatly appreciated.
Solved! Go to Solution.
04-05-2013 10:46 AM
Typically a failure -9 on deployment means that the app contains an unsupported library.
Would you be able to run apk2barVerifier and post the output?
04-05-2013 11:31 AM
I was able to figure out the unsupported libraries from the apk verifier. After little research, this is how I made the deployment to work.
My app was using com.google.android.maps package. So, I edited the android manifest file to reflect the below line.
<uses-library android:name="com.google.android.maps" android:required="false" />
After this change, even though the 'Verify apk' option from eclipse is showing me the same warnings, I was able to deploy the app to my Z10 and had it to work.
04-05-2013 01:45 PM
Just to note, the verifier will continue to throw warnings as long as the Google Maps entry is in the manifest.
The workaround for Google Maps is shown here: https://developer.blackberry.com/android/apisuppor