如官方網站所言,系統要具備:
1.Python 2.5 -- 2.7
2.GNU Make 3.81 -- 3.82
3.JDK 6
4.Git 1.7
1.$sudo apt-get install python-software-properties
2.$sudo add-apt-repository ppa:ferramroberto/java
(Ubuntu 11之後請執行:$sudo add-apt-repository "deb http://ppa.launchpad.net/ferramroberto/java/ubuntu oneiric main")
3.$sudo apt-get update
4.$sudo apt-get install sun-java6-jdk
安裝過程中需要同意License才能繼續安裝
安裝完重新開機可執行
$java -version
檢查JAVA版號
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \
x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
libxml2-utils xsltproc
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
1.下載Android SDK
2.
$cd ~/android-sdk-linux/tools
$./android sdk
3.選擇安裝 "Android SDK Platform-tools" 點選 "Install the package"開始安裝
4.測試是否能正常運作
$cd ~/android-sdk-linux/platform-tools
$adb devices
5.如果正常的話會顯示類似:
List of devices attached
0123456789ABCDEF device
沒有留言:
張貼留言