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™ Development

New Contributor
Posts: 2
Registered: ‎05-08-2013
My Device: Z10
My Carrier: ORANGE

Error export Bar with heavy APK


I've already export BBM bar application without problem meanwhile I'm trying to export my application of around 10Mo size and got an error .Can someone help me ? Is there something to configure or is it a bug ? 

Thanks in advance for your help :Clap:

StackTrace :

Click the "Details" button to see details
Packaging failed:-1

C:\eclipse>set LIB=C:\eclipse\plugins\net.rim.ajde_1.5.2.201302260701\blackberry.tools.SDK\bin\\..\lib

C:\eclipse>java -Djava.awt.headless=true -Xmx512M -cp "C:\eclipse\plugins\net.rim.ajde_1.5.2.201302260701\blackberry.tools.SDK\bin\\..\lib\BARPackager.jar;C:\eclipse\plugins\net.rim.ajde_1.5.2.201302260701\blackberry.tools.SDK\bin\\..\lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar C:\workspace-sts\MyProject\bin\MyProject.apk C:\android-sdks\ -t "C:\workspace-sts\MyProject\dist\Android 4.2.2"
Apk2Bar version 1.5.2
Research In Motion Ltd ? 2012 All rights reserved.
[MyProject.apk]:smileysad:AndroidManifest.xml) targetSdkVersion: 17 is higher than 10:impact=1
[MyProject.apk]:Resizing icon app_icon.png 512x512 -> 114x114
[ERROR] Exception during packaging: Unknown image type 0
java.lang.IllegalArgumentException: Unknown image type 0
at java.awt.image.BufferedImage.<init>(Unknown Source)

at net.rim.tools.apk2bar.Apk2Bar.resize(Apk2Bar.java:523)
at net.rim.tools.apk2bar.Apk2Bar.packageBar(Apk2Bar.java:418)
at net.rim.tools.apk2bar.Apk2Bar.main(Apk2Bar.java:312)
Summary: Total Apk files # 1 succeeded: 0 skipped: 0 failed: 1
Summary: [5]=1; [4]=0; [3]=0; [2]=0; [1]=1;
Impact Legend: [5]=Severe; [4]=High /context; [3]=Medium /context; [2]=Medium-low /context; [1]=Minor;