Skip to content
Doug Schaefer edited this page May 7, 2014 · 8 revisions

Welcome to the android-sdk wiki!

This is a fork of the Android platform sdk repo. The main goal here is to work on cleaning up the ADT so that it fits in the Eclipse IDE with other plug-ins properly. We'll contribute everything we do here to AOSP, but history has taught us that is usually a long process. In the meantime, we can continue to work and do builds from this one.

Speaking of builds, the first thing I did was mavenize the build by adding poms in strategic locations. To build, you need to do the following.

First, set up the android source tree. It's huge, about 22GB, but once set up you're off to the races:

curl http://storage.googleapis.com/git-repo-downloads/repo > repo
chmod +x repo
./repo init -u git@github.com:dschaefer/android-manifest.git \
    -g all,-notdefault,-device,-mips,-x86,-linux,eclipse,tools -b tools_r22.6f
./repo sync

This is for the current 22.6 branch (tools_r22.6f, f for fork :).

Next, you need to get the external jar files into to the plug-ins. Run the following script. Make sure you have Java 7 (Java 8 won't work and Java 6 is deprecated).

export EXPERIMENTAL_USE_JAVA7=true
sdk/eclipse/scripts/create_all_symlinks.sh

Now go to sdk/eclipse/maven directory and run maven.

mvn clean verify

The resulting p2 repo is in the sdk/eclipse/maven/repo/target/repository directory.

Also, once you run the symlinks script you can import the git repo in sdk with EGit and import all the projects under sdk/eclipse to work on them.

Clone this wiki locally