zoukankan      html  css  js  c++  java
  • mac里边配置android开发环境,intellij开发工具:

    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

  • 相关阅读:
    [luogu p4447] [AHOI2018初中组]分组
    咕咕咕通知
    [luogu p3817] 小A的糖果
    [luogu p1228] 地毯填补问题
    [luogu p1259] 黑白棋子的移动
    [luogu p3612] [USACO17JAN]Secret Cow Code S
    [luogu p1990] 覆盖墙壁
    [luogu p1928] 外星密码
    [luogu p2036] Perket
    [luogu p2392] kkksc03考前临时抱佛脚
  • 原文地址:https://www.cnblogs.com/waniu/p/3935766.html
Copyright © 2011-2022 走看看