mac裏邊配置android開發環境,intellij開發工具:

1 在android的官網下載 android sdk的mac版html

  http://developer.android.com/sdk/index.html  選擇mac的版本android

  下載後打開sdk-manager下載各個android版本的apiapi

2 jetbrains的官網下載intellij,intellij裏邊自帶有adt,這樣就能夠試用intellij新建android項目了,能夠試用默認的emulate(android自帶的模擬器)進行開發。oracle

3. 因爲自帶的模擬器比較慢,因此能夠考慮使用genymotion來代替自帶的emulate。使用genymotion要作如下幾件事:工具

  (1) mac裏邊須要先安裝oracle的virtualbox(下載地址)。不然會報錯插件

  (2) 使用genymotion要先註冊,由於工具自己提供雲服務,點擊跳轉到下載頁,在這個頁面也能下載到intellij的genymotion插件。rest

     插件安裝步驟:      htm

  • Start your IDE
  • Go to the "File/Settings" menu
  • In the new opened window, select the "Plugins" section and then click on "Browse repositories..." button (on the bottom right)
  • In the list, click on Genymotion and click on "download and install" button (on the top left)
  • Click on "Yes" button to begin
  • Click on "Close" button to leave the browse repository window
  • Click on "OK" button to leave the settings window
  • IntelliJ asks for restart. Accept by clicking on "Restart" button

  (3)從新打開intellij,在工具欄就能看到一個紅色的genymotion插件的按鈕。便可使用blog

genymotion開發

相關文章
相關標籤/搜索