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开发

相关文章
相关标签/搜索