Building the android code

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

你可能感兴趣的:(Building the android code)