android 入門-安裝環境

來源:互聯網
上載者:User

標籤:android   blog   http   sp   2014   log   bs   ad   工作   

1.安裝jdk 相關連結

2.安裝adt 裡麵包含eclipse

3.下載androidsdk

4.開啟eclipse 找到windows -> 屬性 -> android 主目錄 複製 存放在android-sdk 的路徑 

 

ps:如果之前安裝jdk 然後在安裝eclipse  之後在安裝 adt 的話。把之前的工作目錄刪掉。重新添加。

步驟1步驟2步驟3省略。

步驟4

 

當然也可以直接引用E:\Android\android-sdk

建立項目

  • 1.
  • 2.當模擬器產生的時候。顯示你的項目。
  • 3.開啟模擬器的瀏覽器。發現不能上網。

解決:

  1. cmd 
  2.  選擇你的目錄,向下翻你會看到 3 【net。eth0.dns1】:10.0.2.3
  3.  修改1 中的預設閘道地址 
  4.   在重新輸入  你會看到 
  5. 開啟模擬器瀏覽器 開始上網吧。

 

android 入門-安裝環境

聯繫我們

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