Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Reply
New Developer
Posts: 9
Registered: ‎03-04-2009
My Device: Not Specified
Accepted Solution

result::failure -104 deploying a bar file

When deploying a bar file to blackberry Z10, I am consistently getting the following error from blackberry-deploy

 

Info: Sending request: Install
Info: Action: Install
Info: File size: 566071
Info: Installing ...
Info: Processing 566071 bytes
Info: Progress 50%...
Info: Progress 100%...
actual_dname::com.tiggit.controller.testEB4qGwu3SILuHbE3aAwh5Dk
actual_id::testEB4qGwu3SILuHbE3aAwh5Dk
actual_version::1.0.1.0
result::failure -104

 

I have searched for a description of the error messages produced by blackberry-deploy and can find almost no documentation.

 

Does anyone know what this error means, and better, how to fix it ?

 

Thanks

 

Robert.

New Developer
Posts: 9
Registered: ‎03-04-2009
My Device: Not Specified

Re: result::failure -104 deploying a bar file

Answering my own question, since I have found the answer, for future reference.

 


The problem is caused by two packages with the same name being installed with different 'signatures'.

 

The solution is to delete the package using adb (as this is an Android/Dalvik application)

 

adb uninstall com.tiggit.controller

 

This deletes all the instances of com.tiggit.controller on the device and allows a new bar/apk to be installed.

Contributor
Posts: 15
Registered: ‎03-10-2010
My Device: Q10,Z10
My Carrier: Telus

Re: result::failure -104 deploying a bar file

i've just encountered the same error code and this thread helped me solving it, good stuff