range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
107
www.xunlong.tv
orangepi_r1_plus_android9_v1.0.tar.gz00: success
orangepi_r1_plus_android9_v1.0.tar.gz01: success
orangepi_r1_plus_android9_v1.0.tar.gz02: success
orangepi_r1_plus_android9_v1.0.tar.gz03: success
3) After the Android source code package is downloaded, you first need to merge
multiple compressed files into one, and then unzip
test@test:~$ mkdir OrangePiR1Plus
test@test:~$ cat orangepi_r1_plus_android9_v1.0.tar.gz* > OrangePiR1Plus.tar
test@test:~$ tar xf OrangePiR1Plus.tar -C OrangePiR1Plus
8.2. Build Android compilation environment
4) Because the Android 9.0 source code is too large, in order to avoid unnecessary errors
in the compilation and development process, it is recommended that the local
environment hardware and software configuration:
a. Operating system: 64-bit Ubuntu 18.04 and above
b. Hard disk space: minimum 150GB or more
5) Install JDK
test@test:~$ sudo add-apt-repository ppa:openjdk-r/ppa
test@test:~$ sudo apt-get update
test@test:~$ sudo apt-get install openjdk-8-jdk
6) Configure JAVA environment variables
a. First determine the installation path of java, generally
test@test:~$ ls /usr/lib/jvm/java-8-openjdk-amd64
ASSEMBLY_EXCEPTION bin docs include jre lib man src.zip
THIRD_PARTY_README
b. Then use the following command to export java environment variables
test@test:~$ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
test@test:~$ export PATH=$JAVA_HOME/bin:$PATH
test@test:~$ export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
7) Install platform support software