環境: Ubuntu 11.10 x64:
1. 安裝
/opt/eclipse/android-sdk-linux/platform-tools/adb: error while loading shared libraries:libncurses.so.5: wrong ELF class: ELFCLASS64
解決方案: apt-get install ia32-libs
2. Eclipse不能安裝adt外掛程式
開啟eclipse:
windows->preferences->Install/Update->Avai...
選中或添加以下兩個網址,
GEF Update Site : http://download.eclipse.org/tools/gef/updates/releases/
galileo : http://download.eclipse.org/releases/galileo
進入help->Install new software,先選擇GEF進行升級,(應該只升級對應版本即可,不過我把所有的都選了)
再升級WST,這個在galileo的最後面,耐心找一下吧,而且galileo載入也會很慢,稍等即可。
期間按照提示,選擇重啟或OK,應該會很順利地。
如果GEF update Site打不開,直接去 http://www.eclipse.org/galileo/projects.php 尋找對應的網址
Eclipse的版本是3.5.2,配置Android的開發環境時遇到問題……
按照Android官方文檔一步步安裝,到了安裝Eclipse的ADT外掛程式時,提示“requires 'org.eclipse.gef 0.0.0' but it could not be found”,找了很久終於解決問題:
缺少GEF,Eclipse's Graphic Editing Framework,下面是這個外掛程式的地址:
http://download.eclipse.org/tools/gef/updates/releases/
在Eclipse的功能表列Help->Install New Software中添加這一項,然後選擇對應Eclipse版本的選項安裝好即可。
原文地址在此(感謝這位哥們兒,貢獻一個連結)
http://tewson.com/content/orgeclipsegef-000-required-installing-android-development-tools-eclipse-351
另外在安裝ADT時還需要添加以下網站以便自動安裝依賴的組件:
Eclipse GEF - http://download.eclipse.org/tools/gef/updates/releases/
Eclipse EMF - http://download.eclipse.org/modeling/emf/updates/releases/
Eclipse GMF - http://download.eclipse.org/modeling/gmf/updates/releases
Eclipse Webtools - http://download.eclipse.org/webtools/updates/
Google eclipse Plugin - http://dl.google.com/eclipse/plugin/3.5
3. Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.
解決方案: If you look in the "Android SDK Manager" in the "Android 4.0 (API 14)" section you'll see a few packages.
One of these is named "ARM EABI v7a System Image"
This is what you need to download in order to create an android 4.0 virtual device.