我已經導出BBM酒吧應用程序沒有問題,同時我試圖導出我的應用程序大約10Mo大小,並得到一個錯誤。有人可以幫我嗎?有什麼需要配置或者是一個錯誤?BBM酒吧導出失敗重APK
在此先感謝您的幫助:拍手:
堆棧跟蹤:
單擊 「詳細信息」 按鈕查看詳細信息 包裝失敗:-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;
IllegalArgumentException被apk2bar拋出,所以OP將無法進一步調試 – donturner
我認爲這個問題可能來自BBM命令Apk2Bar無法調整圖片大小? – promachos4