下载

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. Android应用程序使用Localsocket与Linux层通信
  2. Android应用程序的构成
  3. Android 混合了 JSON 的 Android 应用程序
  4. 常用Android应用程序中的Intent动作
  5. Android在一个应用程序中启动另一个应用程序

随机推荐

  1. 2020年Service Mesh:三大发展方向
  2. K8S中文社区
  3. 数据可视化 - 近现代数据可视化发展历程
  4. DevOps实践永无止境!
  5. 苹果Mac轻量级音频编辑器: Fission 助你实
  6. eNSP:hybrid接口配置实例
  7. 痞子衡嵌入式:恩智浦i.MX RT1xxx系列MCU启
  8. DevOps和它的朋友们——聊聊其他“Ops”(
  9. Service Mesh对比:Istio与Linkerd
  10. BBED系列之编译安装(1)