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
BlackBerry Development Advisor
mwhiteman
Posts: 158
Registered: ‎11-21-2008
My Carrier: Rogers

Updated Android Runtime development tools v1.5.1

Hey everyone,

 

There is a new version of the Runtime for Android app development tools v 1.5.1. Pick up the latest Command Line tools here: http://developer.blackberry.com/android/tools/

 

Or if you are a user of the Eclipse Plug-in, you can update your environment as well. Additionally, we have a new update site for Eclipse. You're old one will still work, but you should update your site to this: http://developer.blackberry.com/android/downloads/eclipseplugin/

 

This is a smaller tooling update to provide general bug fixes and support for non-ASCII asset names for use in your ported application.

 

Cheers,

Matt

Matt Whiteman
Product Manager, Android, BlackBerry Java & Simulators
Please use plain text.
New Member
yurong
Posts: 1
Registered: ‎02-02-2013
My Carrier: AT&T

Re: Updated Android Runtime development tools v1.5.1

Hi, Matt,

 

After updating to command line tool 1.5.1, the batchbar-signer failed.

 

cp: C:\devtools\blackberry.tools.SDK\lib/EccpressoJDK15ECC.jar;C:\devtools\black
berry.tools.SDK\lib/EccpressoAll.jar;C:\devtools\blackberry.tools.SDK\lib/BarPac
kager.jar;C:\devtools\blackberry.tools.SDK\lib/BarSigner.jar
java.lang.NoClassDefFoundError: com/trustpoint/asn/AsnObject
Caused by: java.lang.ClassNotFoundException: com.trustpoint.asn.AsnObject
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: net.rim.device.codesigning.barsigner.BarSigner.
Program will exit.
Exception in thread "main"

Total signed bars#: 0 Failed#: 1
The batch file is complete.

 

Please help!  Thanks!

 

- Sharon

Please use plain text.
BlackBerry Development Advisor
mwhiteman
Posts: 158
Registered: ‎11-21-2008
My Carrier: Rogers

Re: Updated Android Runtime development tools v1.5.1

Hello yurong,

 

Thanks for the feedback. We're getting the dev team to look into the issue. As a work around, you can still use blackberry-signer to sign your bar files.

 

Cheers,

 

Matt Whiteman
Product Manager, Android, BlackBerry Java & Simulators
Please use plain text.
Contributor
alexvas
Posts: 15
Registered: ‎03-16-2012
My Carrier: n/a

Re: Updated Android Runtime development tools v1.5.1

I have exactly the same issue.

Please use plain text.
New Member
vcvc
Posts: 1
Registered: ‎02-06-2013
My Carrier: Rogers

Re: Updated Android Runtime development tools v1.5.1

Have you installed the Andriod SDK and BlackBerry PlugIn for Android Development tools? There is link here of how to install them, http://developer.blackberry.com/android/documentation/install_plugin_prerequisites_1895476_11.html.

Please use plain text.
Contributor
jonathan2708
Posts: 20
Registered: ‎02-02-2013
My Carrier: O2

Re: Updated Android Runtime development tools v1.5.1

Just to say I'm getting this exact same error too when trying to sign bar files.

 

Jonathan

Please use plain text.
New Contributor
douvi
Posts: 4
Registered: ‎02-08-2013
My Carrier: Simulator Blackberry 10 and playBook

Re: Updated Android Runtime development tools v1.5.1

Same issue for me :

 

cp: /Users/Mac/BB/blackberry.tools.SDK/lib/EccpressoJDK15ECC.jar:/Users/Mac/BB/blackberry.tools.SDK/lib/EccpressoAll.jar:/Users/Mac/BB/blackberry.tools.SDK/lib/BarPackager.jar:/Users/Mac/BB/blackberry.tools.SDK/lib/BarSigner.jar
Exception in thread "main" java.lang.NoClassDefFoundError: com/trustpoint/asn/AsnObject
Caused by: java.lang.ClassNotFoundException: com.trustpoint.asn.AsnObject
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Please use plain text.
BlackBerry Development Advisor
mwhiteman
Posts: 158
Registered: ‎11-21-2008
My Carrier: Rogers

Re: Updated Android Runtime development tools v1.5.1

Hello,

 

Thank you for the feedback. We are aware of the issue and will address it in the next release.

 

If you are using the Command-line tools, as a work around you can use BlackBerry-Signer to sign your applications. Additionally, you can use our Eclipse Plug-in to build and sign your applications.

 

Thanks,
Matt

Matt Whiteman
Product Manager, Android, BlackBerry Java & Simulators
Please use plain text.
Contributor
jonathan2708
Posts: 20
Registered: ‎02-02-2013
My Carrier: O2

Re: Updated Android Runtime development tools v1.5.1

Hi, is there an estimated release date for the next version of the tools?

 

Jonathan

Please use plain text.
Contributor
Misiek06855
Posts: 41
Registered: ‎08-19-2011
My Carrier: Plus

Re: Updated Android Runtime development tools v1.5.1

Hi,

If you need sign bar, you can use older tools. You can extract files from:

http://www.mobilefilehost.com/get/qYAYB1332014887/1360763812.html

 

Regards,

Michal

Please use plain text.