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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 5
Registered: ‎03-19-2012
My Device: Playbook
My Carrier: Verizon Wireless

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.

Highlighted
Trusted Contributor
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.