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
New Contributor
sweetcw
Posts: 5
Registered: ‎03-19-2012
My Device: Playbook

Apk2Bar error from Eclipse

When I run Blackberry Tools -> Sign for Blackberry World from Eclipse I get the following error:

 

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

 

C:\Users\Chad\Documents\Development\tools\eclipse-java-juno-SR2-win32>set LIB=C:\Users\Chad\Documents\Development\tools\eclipse-java-juno-SR2-win32\configuration\org.eclipse.osgi\bundles\471\1\.cp\blackberry.tools.SDK\bin\\..\lib

 

C:\Users\Chad\Documents\Development\tools\eclipse-java-juno-SR2-win32>java -Djava.awt.headless=true -Xmx512M -cp "C:\Users\Chad\Documents\Development\tools\eclipse-java-juno-SR2-win32\configuration\org.eclipse.osgi\bundles\471\1\.cp\blackberry.tools.SDK\bin\\..\lib\BARPackager.jar;C:\Users\Chad\Documents\Development\tools\eclipse-java-juno-SR2-win32\configuration\org.eclipse.osgi\bundles\471\1\.cp\blackberry.tools.SDK\bin\\..\lib\Apk2Bar.jar" net.rim.tools.apk2bar.Apk2Bar C:\Users\Chad\Documents\Development\svn\trunk\marketsup\bin\marketsup.apk "C:\Program Files\android-sdk-windows\" -t "C:\Users\Chad\Documents\Development\svn\trunk\marketsup\dist\Android 4.2.2"

 

Apk2Bar version 1.6.0
Research In Motion Ltd ? 2012 All rights reserved.
[ERROR] Invalid argument: C:\Program Files\android-sdk-windows" -t C:\Users\Chad\Documents\Development\svn\trunk\marketsup\dist\Android
[ERROR] Invalid argument: 4.2.2

 

Any help greatly appreciated!

Thanks.

Please use plain text.
Trusted Contributor
imre_m
Posts: 160
Registered: ‎11-17-2010
My Device: PlayBook, Z10, Q10

Re: Apk2Bar error from Eclipse

Hi,

 

What is your java/jdk version?

Also, for some tools it is a good idea to have the android sdk on a path without spaces.

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.