android-studio - Android Studio路径错误

标签 android-studio

我收到此错误:

Config path'C:\Program Files(x86)\Android\android-studio\config' is invalid.  
If you have modified the 'idea.config.path' property please make sure it is correct,      
otherwise please re-install the IDE.

我什至重新安装了IDE,但是,它不起作用!

如何解决这个错误?

最佳答案

打开此文件 C:\Program Files (x86)\Android\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}/.AndroidStudioPreview/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}/.AndroidStudioPreview/system
....etc

从这些特定选项中删除#号并保存。

#---------------------------------------------------------------------
# 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}/.AndroidStudioPreview/config
....etc

再次重新启动 android-stuido。

关于android-studio - Android Studio路径错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17390213/

相关文章:

android - isDialog() 与 Espresso 中的对话框 fragment 不匹配

Android Studio 3.4 list 合并失败 : uses-sdk:minSdkVersion 1 cannot be smaller than version 14

android-studio - 为什么Log.d()和Log.v()无法打印

java - 发布构建失败

android - 我想在运行时在屏幕上显示多个标记,这些标记具有从服务器接收到的不同 ID

Android Studio 禁用换行

java - 重命名所有风格的类

android - 升级到 android studio 花栗鼠后,应用程序未安装在模拟器中

javascript - 如何在webview中的js中调用java中的变量

xml - 如何在 Android Studio 上关闭 XML 标记之前配置间距?