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
Administrator
MSohm
Posts: 14,237
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell
Accepted Solution

Android SDK Tools version 22 Not Supported

[ Edited ]

The BlackBerry Plug-in for the Android SDK Tools version 1.5.2 does not support version 22.0 of the Android SDK Tools.

 

We are working on an update that will be available in early June that will support the latest ADT version.

 

 

The BlackBerry Plug-in for the Android SDK Tools version 1.6 are now posted and support version 22.0 of the Android SDK Tools!

 

You can download the CMD tools here: https://developer.blackberry.com/android/tools/

For Eclipse users, you should be able to see the update within Eclipse.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Contributor
zdziczkowski
Posts: 9
Registered: ‎04-29-2013
My Device: Z10
My Carrier: Verizon

Re: Android SDK Tools version 22 Not Supported

I have already upgraded to v22. Is there a way to rollback to v21?

Please use plain text.
Contributor
RobC450
Posts: 28
Registered: ‎08-06-2012
My Device: Playbook & Z10
My Carrier: Rogers / Thunder Bay Tel

Re: Android SDK Tools version 22 Not Supported

According to the Eclipse doc's you can roll back to a previous version:

- Start Eclipse

- Select Help -> About SDK -> Installation Details

- Under the Installation History tab you'll see a list of previously installed versions.

- Select the one you want and pick Revert.

 

I tried it on my system and it didn't work. It said some of the required files were not found.

At the moment I'm stuck and will have to wait until BlackBerry issue the update.

 

Hopefully you have better luck than I did.

 

rob

 

 

 

Please use plain text.
BlackBerry Development Advisor
jjasmann
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Android SDK Tools version 22 Not Supported

I posted this solution elsewhere and will work as a temporarily fix until we can get a new tools version out:

 

"

 

Hey there,

 

As a developer myself, I can completely understand your frustration. When you need to get something done and there's no immediate resolution to your problem(s), it can be aggravating. Hopefully this helps.

 

I'm going to make some assumptions here:

1. You're running OSX 10.8.x

2. You're running the most recent (permitted) version of Java (I believe that's 1.6.0_45, not Java 7)

3. You've updated to ADT v22 (most recent)

 

The reason why I emphasized the third point, is because Google has modified the locations of a few files/folders that happen to be dependencies of our tools. Because of this, our tooling will be unable to find these dependencies and will emit a message saying the ANDROID_HOME variable is not set (even though this is not the case).

 

Referencing the release notes of ADT v22, it appears that Google has moved some Android tools from <ANDROID_SDK>/platform-tools, to <ANDROID_SDK>/build-tools/17.0.0. We are currently working to update our references to reflect this change.

 

As a temporary solution, you can copy all of the files from <ANDROID_SDK>/build-tools/17.0.0 back to <ANDROID_SDK>/platform-tools. This will allow our tools (apk2barVerfifier, apk2bar, etc.) to function as expected. You may need to provide the SDK location directly to the tool, depending how you've got things setup.

For me,

apk2bar Sample.apk /Applications/android-sdk-macosx

 

Let me know if this helps!

 

    Justin

 

"

 

    Justin

 

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Please use plain text.
Contributor
RobC450
Posts: 28
Registered: ‎08-06-2012
My Device: Playbook & Z10
My Carrier: Rogers / Thunder Bay Tel

Re: Android SDK Tools version 22 Not Supported

Thanks for the info Justin.

I'm running Win 7 x64. Will copying the Android SDK files work for the windows environment as well?

Please use plain text.
BlackBerry Development Advisor
jjasmann
Posts: 264
Registered: ‎01-08-2013
My Device: BlackBerry 10 Dev Alpha B
My Carrier: Bell

Re: Android SDK Tools version 22 Not Supported

It should, yep :smileyhappy:

 

We're looking for the dependencies (aapt, aidl, etc.) in the <ANDROID_SDK>/platform-tools directory, so as long as you get them back into there then you should be fine.

 

    Justin

Justin Jasmann | Android Application Development Consultant
Developer Relations
developer.blackberry.com
Please use plain text.
Contributor
RobC450
Posts: 28
Registered: ‎08-06-2012
My Device: Playbook & Z10
My Carrier: Rogers / Thunder Bay Tel

Re: Android SDK Tools version 22 Not Supported

Yahoo!!

I'll try it when I'm back at my desk.

 

Thanks!!

 

Please use plain text.
Contributor
nguafack
Posts: 44
Registered: ‎05-22-2013
My Device: Blackberry 10
My Carrier: 02

Re: Android SDK Tools version 22 Not Supported

ADT version 21.0 is not available on googles sites, anywhere I can get it?

Please use plain text.
Developer
barees63
Posts: 122
Registered: ‎07-26-2008
My Device: 8320, 9500, 9700
My Carrier: Vodafone

Re: Android SDK Tools version 22 Not Supported

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

Re: Android SDK Tools version 22 Not Supported

I can confirm that restoring the previous platform-tools directory is a good workaround to solve the issue.

 

This Android SDK Tools update also broke some other tools, so maybe it is a good idea not to upgrade from version 21 unless all third parties can also prepare an update. However the presented workaround seems to solve everything for now.

 

Regards,

Imre

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