12-03-2012 12:18 PM
I have en error (9) when I try to deploy my android app.
Is there a code list with error message, in order to understand what's wrong ?
Solved! Go to Solution.
12-03-2012 10:18 PM
unfortunatly there is not a table with error codes and their descriptions or how to fix them. Can you post the complete error you get a more detailed steps? Usually you need to make sure these things are done when you deploy a a device:
verify the apk
sign your apk
convert to bar
sign the bar
deploy to device
12-04-2012 03:04 AM
Thanks for your response.
Here the full error :
Failed to deploy project XXXXX
Info: Sending request: Install
Info: Action: Install
Info: File size: 7517220
Info: Installing ...
Info: Processing 7517220 bytes
Info: Progress 0%...
Info: Progress 50%...
Info: Progress 100%...
I do the same steps with a simply hello world and it works very well.
I succeed once a time to deploy my app and I get this error :
Status ERROR: net.rim.ajde code=4 Connecting 192.168.213.130 to ADB failed! null children=[Status ERROR: net.rim.ajde code=0 Please check if the Android player was fully started when you got this error. If not, you can either increase the Android player launch timeout on the BlackBerry->BlackBerry Android Development Tools preference page or wait until the Android player is fully started and try again. null]
So I encrease the timeout.
The application was installed and when I tried to lunch it I get the loading, then I accept the permissions, loading again, then crash...
I want to deploy on the simulator.
Thanks if anyone get informations !
12-04-2012 10:48 AM
Really weird. Did you try running the APK verifier on your project and see if you have any errors? Maybe that is why your hello world application works fine becuase it is simple and your real application since it is more complex has some errors that prevent it from installing properly on the emulator.
12-05-2012 12:43 PM
The app isn't launched anymore because there is failurre 9 while the deployement.
12-06-2012 10:47 AM
This error (-9) may be a result of your application trying to use a shared library from Android that is not supported on the BlackBerry Runtime for Android Apps. Is your application using a shared library?
12-10-2012 11:13 AM
I found the guylty !
<uses-library android:name="com.google.android.maps" />
I removed the librairie but not the permission ...