Fetching Android SDK component information

来源:互联网 发布:2017中国并购数据统计 编辑:程序博客网 时间:2024/04/29 20:08

在启动Android Studio时,可能弹出“Fetching Android SDK component information”对话框去获取Android SDK组件的信息。这个获取的过程可能需要很长的时间,也不一定能够成功的获取。

本经验介绍一种方法,在启动的时候不去获取Android SDK component information.

工具/原料

  • Android Studio

方法/步骤

  1. 如果启动时,弹出“Fetching Android SDK component information”对话框,如图所示:

    则可以在配置文件中配置启动时,不去获取Android SDK component information

    Fetching Android SDK component information
  2. 打开Android Studio的安装目录下的bin目录,如图所示:

    Fetching Android SDK component information
  3. 在bin目录下,找到idea.properties文件,如图:

    Fetching Android SDK component information
  4. 打开idea.properties文件

    本经验采用Notepad++打开idea.properties,

    Fetching Android SDK component information
  5. 在最后一行添加“disable.android.first.run=true”。如图:

    Fetching Android SDK component information
  6. 重启Android Studio,就不会去获取Android SDK component information了。如图:

    Fetching Android SDK component information

0 0
原创粉丝点击