第一次安装AndroidStudio后的一些配置


AndroidStudio下载地址


安装后,打开 androidstudio\bin 目录下的idea.properties文件,修改如下几处:

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.config.path=E:/cache_as/.AndroidStudio/config

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.system.path=E:/cache_as/.AndroidStudio/system
#-----------------------------------------------------------------------
# Change to 'enabled' if you want to receive instant visual notifications
# about fatal errors that happen to an IDE or plugins installed.
#-----------------------------------------------------------------------
idea.fatal.error.notification=disabled
gradle.user.home=E:/cache_as/.gradle
disable.android.first.run=true

其中 : E:/cache_as 目录为存放 缓存文件目录

disable.android.first.run=true  

此行代码用于解决第一次启动Fetching Android ……

添加ANDROID_SDK_HOME 环境变量
SDK_HOME

猜你喜欢

转载自blog.csdn.net/dong40407/article/details/69778962