Last modified: 2014-04-11 09:51:39 UTC
Android based building with jenkins is broken atm and would need to be setup properly.
So I manually installed the Android SDK ages ago on the gallium server. There is a single job using it and the label is only applied on gallium: https://integration.wikimedia.org/ci/label/hasAndroidSdk/? Job is: https://integration.wikimedia.org/ci/job/apps-android-commons-build/ It fails because the Android SDK is unsurprisingly out of date. Uubuntu Trusty apparently has a package for android SDK http://packages.ubuntu.com/search?keywords=android (and a recent one 2014 03 28). It might be possible to install that package on a Precise Ubuntu. If that works we can get ops to add the package to apt.wikimedia.org then have it installed on the labs slaves and problem is solved :] Else we will have to figure out with ops if that package can be backported to Precise. If it is not possible we will have to find another solution. You could try installing the trusty version on a labs instance and see what happens :]
The package from trusty does not have the android SDK. It had a bunch of android images, and that is it. I don't know what it is supposed to be used for.
Ah, apt-cache tells me they are: android - android Ubuntu Touch images
So that is probably useless for us isn't it ? :-) Could you figure out how one can install the Android SDK manually? Then poke ops to hopefully have that puppetized. At worth it can be a shell script.
So https://gist.github.com/yuvipanda/10408391 installs the latest version of the android sdk and installs it in home. Unfortunately on Ubuntu 12.04 it requires other packages to work. I've managed to get this to build on tool-labs as a one off, but to actually work properly even on toollabs it requires https://gerrit.wikimedia.org/r/125241 to work. Android sdk still isn't natively 64 bit fully, so that is a problem. But with all that it works! Perhaps we can make a contint labs instance that is used just for this? Also note that the shell script to setup the SDK needs to be run only once
(In reply to Yuvi Panda from comment #3) > Ah, apt-cache tells me they are: > > android - android Ubuntu Touch images That is not the package we need. The Debian source package androidsdk-tools seems to generate a bunch of binary packages that might be more interesting. See list at https://packages.debian.org/source/sid/androidsdk-tools We might backport them from Ubuntu Trusty to Ubuntu Precise https://packages.ubuntu.com/androidsdk-tools :-]