AOSP 빌드 기초
버추얼박스(VirtualBox) 클립보드(복사, 붙여넣기) 설정 방법 - 익스트림 매뉴얼
aosp의 경우는 jdk를 깔자 SE 시리즈 깔지 말자 -19.10.10
다른 방법들은 막혀서 수동설치 해야되는데 이 방법을 쓰면 설치가 가능하다.
jdk-8- 설치
# add repository
sudo add-apt-repository ppa:openjdk-r/ppa
# update cache
sudo apt-get update
# install openjdk-8-jdk
sudo apt-get install openjdk-8-jdk
# At this time, if you check the version of java/javac,
# you will see the version of JAVA 7
# You need to update alternatives for java and javac
# You can find the new one for the java-8-openjdk-amd64
sudo update-alternatives --display javac
# Configure(select) the version of java & javac you want to use by interactive mode
sudo update-alternatives --config java
sudo update-alternatives --config javac
# Now you can see 1.8.0_171 for the version of java and javac
java -version
javac -version
필요파일 설치
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc unzip |
mkdir ~/bin PATH=~/bin:$PATH |
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo |
mkdir WORKING_DIRECTORY cd WORKING_DIRECTORY |
cd WORKING_DIRECTORY |
git config --global user.name "Your Name" git config --global user.email "you@example.com" |
git config --global user.name "Your Name" |