Android Studio 安裝后首次啟動的 Config path ...... is invalid 問題(轉)


 

  原文鏈接:http://m.blog.csdn.net/blog/hnust_xiehonghao/46127775

 

1. 問題描述:

     安裝好Android Studio后,啟動時彈出如下信息:

      Config path ‘C:\Users\Administrator\.AndroidStudio1.5\config’ is invalid.
If you have modified the ‘idea.config.path’ property please make sure it is correct,
otherwise please re-install the IDE

 

2.原因分析:

 

     程序無權限訪問這個目錄或者這個目錄不存在!

 

3.解決方法:

        打開 android-studio安裝目錄下的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=${user.home}/.AndroidStudio1.5/config

#---------------------------------------------------------------------

# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes

#---------------------------------------------------------------------

#idea.system.path=${user.home}/.AndroidStudio1.5/system

....etc

     C盤新建一個目錄android_studio_data, 然后把${user.home} 換成C:\android_studio_data, 然后所在行的idea前的#去掉(如果沒有以上內容,直接添加以下內容,路徑可自行設置

添加或修改如下:

#---------------------------------------------------------------------

# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.

#---------------------------------------------------------------------

idea.config.path=C:/android_studio_data/.AndroidStudio1.5/config

#---------------------------------------------------------------------

# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.

#---------------------------------------------------------------------

idea.system.path=C:/android_studio_data/.AndroidStudio1.5w/system



 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM