amlogic:android_build_q

1. Ubuntu 16.04 설치

2. open-jdk 버전 변경

2.1 기존 설치된 open-jdk 삭제
sudo apt-get remove openjdk-* icedtea-* icedtea6-*
2.2 open-jdk 1.7 설치
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update && sudo apt-get install openjdk-7-jdk

3. 안드로이드 기본 툴 설치

sudo apt-get install git ccache automake lzop bison gperf build-essential zip curl \
             zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils \
             bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush \
             schedtool dpkg-dev liblz4-tool make optipng maven git-core gnupg flex \
             gperf build-essential libc6-dev lib32ncurses5-dev x11proto-core-dev \
             libx11-dev libgl1-mesa-dev g++-multilib tofrodos libxml2-utils xsltproc

4. CCACHE 설정

~/.bashrc 파일 마지막에

export USE_CCACHE=1

추가

6. QMX Tool chain 설치

Contact amlogic AP marketing point.

7. Version 확인

java -verison
gcc --version
g++ --version
  • amlogic/android_build_q.txt
  • 마지막으로 수정됨: 2020/09/26 02:12
  • (바깥 편집)