mac里边配置android开发环境,intellij开发工具:
2024-08-24 03:39:17
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
最新文章
- CoreCLR源码探索(一) Object是什么
- SharePoint 2013 新手注意事项总结[不断更新ing]
- HTML5 学习笔记(二)——HTML5新增属性与表单元素
- QTableWidget去除选中虚边框
- SQL Server 数据类型映射
- 自己的JS框架--Amy框架。
- MongoDB 副本集的原理、搭建、应用
- Android studio 查看签名
- fragment 碎片整理
- C++容器类的简介
- android ViewPager滑动事件讲解
- 如何快速使用ECharts绘制可视化图表
- Windows、Ubuntu双系统重装windows系统后grub引导的修复及默认启动项的修改
- Vss服务端用户存在,但客户端登陆不进去
- 【转】linux tree命令以树形结构显示文件目录结构 ---- 不错
- 在Selenium Webdriver中使用XPath Contains、Sibling函数定位
- AngularJS 1.3中的一次性数据绑定(one-time bindings)
- 一个比较实用的商业级图表Echarts
- MySQL数据库学习02: SELECT语句
- 【自制工具类】struts返回json数据包装格式类
热门文章
- rhel5 新建用户提示:the home directory already exists.
- 在Eclipse ee中成功使用jQuery UI插件
- Remove Duplicates from Sorted List(链表)
- ListView的position的保持
- windows openssl
- Arch tty终端使用中文,Fbterm控制台配置
- Cocos2d-x下Lua调用自定义C++类和函数的最佳实践[转]
- 翻译:Knockout 快速上手 - 2: 安装 knockoutJS
- DPdao
- Android 媒体键监听以及模拟媒体键盘的实现 demo