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

Android™ Runtime Development

Reply
Contributor
Posts: 18
Registered: ‎05-01-2013
My Device: BlackBerry Z10
My Carrier: NA
Accepted Solution

blackberry-deploy : result::failure -103

I receive this mysterious error code when trying to deploy to the device. 

What does that mean ? 

Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: blackberry-deploy : result::failure -103

Hey namanhams,

 

This can mean a few things.

 

1. The APK (before being packaged into a BAR) was not signed

2. The APK (before being packaged into a BAR) was manually edited, after it was signed

3. You are trying to upgrade an Android application that was previously signed with different keys than the one you're upgrading to.

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Contributor
Posts: 18
Registered: ‎05-01-2013
My Device: BlackBerry Z10
My Carrier: NA

Re: blackberry-deploy : result::failure -103

Hi Justin,

 

1 and 2 are not the case.

For 3, it also cannot happen. I've deleted the app from the Blackberry device, so even if i signed the Android app with different key, it doesn't matter because to the Blackberry device it's totally new app. 

Retired
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: blackberry-deploy : result::failure -103

Are you using the newest tools to deploy (1.6.1)?

 

Just to confirm, you've got CERT.RSA, CERT.SF, and MANIFEST.MF inside the META-INF folder of your APK, yes?

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
BlackBerry Development Advisor
Posts: 140
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: blackberry-deploy : result::failure -103

    /**
     * Installation parse return code: this is passed to the {@link IPackageInstallObserver} by
     * {@link #installPackage(android.net.Uri, IPackageInstallObserver, int)}
     * if the parser did not find any certificates in the .apk.
     * @hide
     */
    public static final int INSTALL_PARSE_FAILED_NO_CERTIFICATES = -103;