Ubuntu 11.10 X64 Android環境搭建時遇到的問題總結

來源:互聯網
上載者:User

環境: 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. 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.