下载

http://developer.android.com/sdk/index.html

  • android-studio-ide-141.1980579-mac.dmg
  • android-sdk_r24.3.3-macosx.zip
安装
(预先安装好JDK,我用的是jdk1.7.0_76)
点击android-studio-ide-141.1980579-mac.dmg,安装Android Studio。安装完毕后,先不启动Android Studio。 Finder-》应用程序-》右键Android Studio-》显示包内容-》Contents-》bin 编辑 idea.properties文件,在最后一行加上“ disable.android.first.run=true
解压sdk到任意目录。
配置
启动Android Studio,在Welcome to Android Studio页面, Configure-》Project Defaults-》Project Structure配置SDK路径
SDK Manager配置 在Setting的Others部分,勾选Force https://...sources to be fetched using http://...

然后创建应用就好了。

最后,创建应用后有可能出现下面问题

Error:Failed to find: com.android.support:appcompat-v7:22.+

Install Repository and sync project

Open File

Open in Project Structure dialog


我的解决方式是: Android SDK Manager中 安装 Extras目录下的 Android Support RepositoryAndroid Support Library

更多相关文章

  1. Appium学习第一个测试脚本
  2. Android实现应用下载并自动安装apk包
  3. Android(安卓)添加桌面快捷方式操作
  4. Android(安卓)8.0和8.1通知栏
  5. android Intent类
  6. Android(安卓)模糊效果实现
  7. Android(安卓)Audio System 之二:AudioFlinger
  8. Android(安卓)检查版本更新 Server后台下载
  9. OpenGL ES教程I之创建OpenGL视图(原文对照)

随机推荐

  1. Android(安卓)studio 如何创建创建第三方
  2. Android中不同Activity的切换
  3. 自定义android折线图,实现左右滑动和快速
  4. Android(安卓)推断当前的界面是否是桌面
  5. EditText属性大全详解
  6. Android笔记(五):Android中的Radio
  7. 64位ubuntu16.04安装Android(安卓)Studio
  8. android实现对导航Tab设置下划线选中效果
  9. Android(安卓)三角形控件
  10. Mobile Development with C#:Building Na