Building the code
To build the files, run make from within your working directory:$ cd ~/mydroid
$ source build/envsetup.sh
$ lunch
$ make
If your build fails, complaining about a missing "run-java-tool", try setting the ANDROID_JAVA_HOME env var to $JAVA_HOME before making. E.g.,
$ export ANDROID_JAVA_HOME=$JAVA_HOME