Is it possible to do automatic installations of the Android SDK?

by redsolo » Mon, 18 Jan 2010 04:26:48 GMT

Sponsored Links
 As of now the Android SDK uses a GUI to select and install SDK
components. This is all nice, but is it possible to install SDK
components without a GUI? Using the old way, I could just untar the
package into a folder and everything was done (after setting PATH).

I ask the question because I would like to make it possible to use the
Android SDK together with Hudsons automatic tool installation. Hudson
is a CI server that can build on distributed computers/nodes. To be
able to build an android application on all nodes I have today do this
on all nodes: logon on, download the SDK, install all SDK components
using a GUI and set up the PATHs. This is cumbersome if you would like
to add a bunch of nodes to a build farm.

Hudson has already automatic installation of any Java, Ant, Maven
version on any node, ie if a build requires any version of those tools
it will install it automatically and set it up properly. What is
really happening is that Hudson downloads the Ant tar.gz, unpacks it
to a folder under the Hudson installation and then uses it. This way
you can have several different versions of Java, Ant and Maven if that
is needed. This is what I would like to have with the Android SDK
also, but as of now it seems impossible?

So is it possible to do automatic installation without a GUI?


Other Threads

1. Accessing resources from other packages


I'd like to access resources from other packages installed. Is there
any better practice than
using getResources() combined with createPackageContext()? Another
question is how to
use resources from other packages in methods like Notification(int
icon, CharSequence
tickerText, long when), where 1st argument is just resource id?


2. Disabling Idle mode

Hello everybody,

I am currently searching to set out an issue I encounter.
I am developing an Application on Android which have to download a lot
of data and then be unused for a while.

During the download, the device is locked and switch to a kind of idle
mode that close the wifi connection.
I don't find out anything about it so I need your precious help.

I would want to programmatically disable this idle mode. Is it
possible, what sould I do for it?

Respectfully regards,

Yannick Plenevaux
Geolives SA


3. finish() at onStop causes ANR

4. Understand the filesystem contents

5. Multiple concurrent versions of same app, filtered by minSdkVersion?

6. error getting editText from second activity's layout xml file saying No package identifier

7. allign text vertically in a text view