1 在android的官网下载 android sdk的mac版

  http://developer.android.com/sdk/index.html  选择mac的版本

  下载后打开sdk-manager下载各个android版本的api

2 jetbrains的官网下载intellij,intellij里边自带有adt,这样就可以试用intellij新建android项目了,可以试用默认的emulate(android自带的模拟器)进行开发。

3. 由于自带的模拟器比较慢,所以可以考虑使用genymotion来代替自带的emulate。使用genymotion要做以下几件事:

  (1) mac里边需要先安装oracle的virtualbox(下载地址)。否则会报错

  (2) 使用genymotion要先注册,因为工具本身提供云服务,点击跳转到下载页,在这个页面也能下载到intellij的genymotion插件。

     插件安装步骤:      

  • 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插件的按钮。即可使用

 

genymotion

相关文章:

  • 2021-07-10
  • 2022-12-23
  • 2021-07-23
  • 2021-06-15
  • 2021-06-25
  • 2021-10-08
  • 2021-09-15
猜你喜欢
  • 2021-12-22
  • 2021-09-18
  • 2022-12-23
  • 2021-05-17
  • 2021-12-27
  • 2021-11-23
相关资源
相似解决方案