# apt-get install sun-java6-jdk sun-java6-jre
2. 安裝 Eclipse
下載 Eclipse IDE for Java Developers 版本
3. 安裝 Android Development Tools (ADT)
開啟 eclipse -> Help -> Install New Softare -> Add -> 輸入 Name 「ADT」 與 URL 「http://dl-ssl.google.com/android/eclipse/site.xml 」-> OK -> Eclipse 會搜尋一下 -> 選擇 Developer Tools 含底下項目後 -> 一直 Next 後 Install -> 完成後重新啟動 eclipse
4. 安裝 Android SDK
從 http://developer.android.com/sdk/index.html 下載 android-sdk_r18-linux.tgz 解壓至 ~/
開啟 eclipse -> Window -> Android SDK Manager
回報錯誤訊息
Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: peer not authenticated
Fetching URL: https://dl-ssl.google.com/android/repository/repository-6.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: peer not authenticated
在 Android SDK Manager -> Tools -> Manage Add-on Sites, 新增
http://dl-ssl.google.com/android/repository/addons_list-1.xml
http://dl-ssl.google.com/android/repository/repository-6.xml
可以安裝 API 15、14、....
安裝 API 時出現
This package depends on 'Missing SDK Platform Android, API 15'.
要手動從 https://dl-ssl.google.com/android/repository/repository-6.xml 下載 Platform 檔案, 解壓至 ~/android-sdk-linux/platforms
https://dl-ssl.google.com/android/repository/android-15_r03.zip
5. 新增 AVD
開啟 eclipse -> Window -> AVD Manager
新增完後開啟 AVD 出現
Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.
要手動從 https://dl-ssl.google.com/android/repository/repository-6.xml 下載 image 檔案, 解壓至 ~/android-sdk-linux/system-images
https://dl-ssl.google.com/android/repository/sysimg_armv7a-15_r02.zip
Reference :
android 4.0 sdk直接下载地址 - cmoaciopm的专栏 - 博客频道 - CSDN.NET
Missing android-sdk-linux/tools/lib/proguard-project.txt - 异读心寒 - ITeye技术网站
Android 4.0:Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder. - 懒人的技术笔记 - 博客频道 - CSDN.NET
报错“Unable to find a userdata.img file for ABIarmeabi to copy into the AVD folder.”_移动开发_电脑学网(Xue5.CoM)
沒有留言:
張貼留言