android的學習(一)環境搭建

來源:互聯網
上載者:User

在此我就不重複那麼多安裝的步驟了。園子裡有很多環境搭建的文章可以學習。

http://www.cnblogs.com/smartbooks/archive/2012/05/27/2520595.html

這裡提供個連結。

 

我安裝過程中遇到過一些問題:

一般情況下開啟SDK Manager.exe把需要下載的東西下全了。

有時候會出現PANIC: Could not open: C:\Documents and Settings\Administrator\.android/avd/ 這種提示

需要設定ANDROID_SDK_HOME=D:/android-sdk-windows/tools; (你自己的位置)

然後重啟eclipse,就OK了。

 

第一次運行模擬器速度很慢,大家耐心等等。

 

運行完,小修改了下 第二次啟動並執行時候,報錯了,類似下面的:

[2012-07-26 11:27:46 - demo] Re-installation failed due to different application signatures.[2012-07-26 11:27:46 - demo] You must perform a full uninstall of the application. WARNING: This will remove the application data![2012-07-26 11:27:46 - demo] Please execute 'adb uninstall com.example.demo' in a shell.[2012-07-26 11:27:46 - demo] Launch canceled!
E:\android-sdk\platform-tools>adb uninstall com.example.demoSuccess

按照上述的語句執行下就OK,還有模擬器可以不用關閉,直接run項目就可以了。

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.