Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637422 - dev-util/android-sdk-update-manager could be updated to use the command-line SDK tools
Summary: dev-util/android-sdk-update-manager could be updated to use the command-line ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-13 21:27 UTC by Mike Auty
Modified: 2019-04-20 00:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
android-sdk-update-manager-3859397.ebuild (android-sdk-update-manager-3859397.ebuild,2.88 KB, text/plain)
2017-11-13 21:27 UTC, Mike Auty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty gentoo-dev 2017-11-13 21:27:07 UTC
Created attachment 504126 [details]
android-sdk-update-manager-3859397.ebuild

android-sdk-manager seems not be receiving further updates.  It seems google would prefer people to use android-studio for updating their tools, which is a little bit heavy for most purposes.

Luckily, they also provide a package containing command-line tools to work with the same packages.  The latest version can be found at:

https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip

Updating the android-sdk-update-manager ebuild is reasonably straight forward (the sdk-tools-linux zip effectively just contains the tools directory from the original android-sdk-update-manager package).  I couldn't figure out whether the tools/lib/monitor-x86* files were necessary, but otherwise it's close to a straight copy (with potentially some path updates).  I've attached a hastily hacked together proof-of-concept that is NOT supposed to be the finished version, but is to provide an idea of the changes that might be necessary.

Please let me know if you think this is a reasonable idea?  I'm happy to help with testing or anything else that might be necessary...  5:)
Comment 1 Víctor Enríquez 2018-03-27 13:48:12 UTC
Thanks for the ebuild it works nicely here!, after getting almost crazy for a day trying to make the jenkins android emulator plugin work on my Gentoo server, I realized the current ebuild is not up to date, completely breaking the jenkins plugin.