问题
Has anyone bothered to create a PPA for the Android SDK and/or NDK packages?
I saw a few things that hinted at this in my Googling, but nothing that jumped out as a preferred solution.
I'd guess that licensing issues might require it to operate like the flash-installer (or more comparably, the google-earth) package, but it would be very useful. The SDK install OOB lacks many of the features that proper package management could bring in (dependencies, multi-user permissions/capability, etc.)
回答1:
Have you tried Upubuntu's guide?
回答2:
try this , I'm a newbie , working on this. I'm packaging these tools for Gajj Distro,
For Precise
sudo add-apt-repository ppa:linuxgndu/gajj-sci
And for trusty
sudo add-apt-repository ppa:linuxgndu/adt-raring
sudo apt-get update
For Android Developers Tool
sudo apt-get install adt (Google may be ending eclipse plugin support, so this package may not be further maintained on this ppa, however you can check plugin updates from eclipse, using Help-> Install new software-> Then adding or selecting plugin repository.)
You also have to install Android-sdk
sudo apt-get install android-sdk
sudo sh /opt/android-sdk/install-sdk
(you may skip sudo sh /opt/android-sdk/install-sdk
if you are installing android studio, bcz studio will automatically find the sdk on installion(first startup or you can manually set the path).)
For Android Studio
sudo apt-get install android-studio
Note: You may want to lock package version from synaptic package manager (or any) to prevent from downloading large updates by this ppa, bcz patches provided by Google are very small. This ppa is meant for installation purpose only.
You can also help me testing my package builds, bcz i'm newbie i don't know that much about ppa & packaging.
Hope this is it what you were asking for. :)
回答3:
I have found no ppa so far, since the Upubuntu ppa is no longer updated and has no package for Quantal. But there is an android-sdk
package in Backtrack Linux' repositories. As of 2012-12-25, this package claims to be the r20.0.3-bt0 version of the sdk nd there is an x64 build, but since I have not tested it, I know nothing else about it.
If you want to use this repository, Ubuntubuzz has a tutorial on how to add them to Ubuntu.
来源:https://stackoverflow.com/questions/10493334/ubuntu-ppa-for-android-sdk-ndk