Merge "Updated Android build instructions to mention envsetup.sh and lunch."
This commit is contained in:
@@ -264,6 +264,8 @@ After importing the keys, you can verify any tag with <br><br></span>
|
||||
Building the code</h2>
|
||||
<span>To build the files, run make from within your working directory:</span>
|
||||
<br><span>$ cd ~/mydroid</span>
|
||||
<span><br>$ source build/envsetup.sh</span>
|
||||
<span><br>$ lunch</span>
|
||||
<span><br>$ make</span>
|
||||
<br></span>
|
||||
<p>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.,</p>
|
||||
|
||||
Reference in New Issue
Block a user