如何禁止下载Android Studio中的组件首先运行 [英] How disable Downloading Components in Android Studio first running

查看:408
本文介绍了如何禁止下载Android Studio中的组件首先运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Andr​​oid提取Studio IDE中135.1740770,

此外,这些软件包安装SDK:

工具

- Android SDK工具24.1.2

- Android的SDK平台的工具,22

- Android SDK中构建工具22.0.1

额外

- Android的支持库13

- Android的支持库22.1

- 谷歌Play服务的23

- 谷歌库16

- 谷歌USB驱动程序11


但是当我运行Android工作室的第一次,虽然它要求我的SDK文件夹的位置,但它想下载旧的SDK重新构建工具:

- Android SDK工具22.1.2

- Android的SDK平台的工具,21

- 来源为Android 21

和下载所有这些之后(约500 MB),然后再次将其删除!并使用我之前安装较新的SDK工具:|

我怎么能运行Android工作室首次无需重新下载这些无用的SDK包?

I extract Android Studio IDE 135.1740770,
Also these packages are installed for SDK:
Tools
- Android SDK Tools 24.1.2
- Android SDK platform-tools 22
- Android SDK Build-tools 22.0.1
Extras
- Android Support Repository 13
- Android Support Library 22.1
- Google Play services 23
- Google Repository 16
- Google USB Driver 11
But when I run Android Studio for the first time, although it asks for location of my sdk folder, but it wants to download older sdk build tools again:
- Android SDK Tools 22.1.2
- Android SDK platform-tools 21
- Sources for android 21
and after downloading all of them (about 500 MB) then removes them again!!! and use the newer sdk tools that I installed before :|
How can I run Android Studio for the first time without re-downloading these useless sdk packages?

推荐答案

选择Android工作室的安装目录。在那里,你会发现一个文件夹中名为箱。此文件夹中有一个名为idea.properties文件。打开此文件,并将以下行添加到文件的末尾:

go to the installation directory of Android Studio. There you will find a folder named bin. Inside this folder there is a file named idea.properties. Open this file and add the following line to the end of the file:

disable.android.first.run = TRUE

disable.android.first.run=true

这将完成是禁用检查Android Studio中进行第一次运行,并决定下载所有的东西。

What this will do is disable the check that Android Studio performs on first run and decides to download all that stuff.

这篇关于如何禁止下载Android Studio中的组件首先运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆