微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

configurationpathAndroid工作室无效

我不确定是否有其他人之前看过这个,但是几天前我得到了一个Windows更新,自从我的android studio无法打开。 我得到的确切的错误信息是:

Config path C:/windows/system32/config/systemprofile/.AndroidSudio.3/config is invalid. If you have modified the 'idea.config.path' property please make sure it is correct,otherwise please re-install the IDE.

当我以pipe理员模式运行时,它会再次进行安装。 我不想每次打开它都要这样做。

对于Windows窗体,PostMessage等于自己的什么?

将Web应用程序加载为Windows桌面应用程序的简单/最佳方法

Ruby使用thin + ssl在windows上崩溃

C#将其他应用程序的sendkeys发送到特定的文本字段

如何在Windows 10中使用Telnet连接到网站?

管理员身份运行Android Studio,它将创建idea.properties文件

而现在,即使在%USERPROFILE%.AndroidStudio2.1下创建了一个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}/.AndroidStudio2.1/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}/.AndroidStudio2.1/system #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.plugins.path=${idea.config.path}/plugins #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.log.path=${idea.system.path}/log

错误仍然没有消失。

这个配置路径是否存在?

Android Studio基于IntelliJ。 请参阅IntelliJ Idea Properties来修改您的idea.properties文件的位置,并按照IntelliJ Idea – Project and IDE Settings页面底部所述修改idea.config.path

我卸载旧版本的Android Studio后,在我的Windows 10笔记本电脑上安装了AndroidStudio 1.5时出现同样的错误。 为了解决这个问题,我遵循了Android开发者网站的说明: http : //tools.android.com/tech-docs/configuration 。

首先,不要修改位于安装Android Studio的bin文件夹中的idea.properties文件。 旧的堆栈溢出帖子会告诉你修改这个idea.properites文件,但你不应该这样做的AndroidStudio 1.5。 按照说明操作,我在%USERPROFILE%。{FOLDER_NAME} idea.properties创建了一个idea.properties文件。 如果您安装了AndroidStudio 1.5,则{FOLDER_NAME}应该是{AndroidStudio1.5}。 我的idea.properties文件内容如下:

#--------------------------------------------------------------------- # IDEA can copy library .jar files to prevent their locking. # By default this behavior is enabled on Windows and disabled on other platforms. # Uncomment this property to override. #--------------------------------------------------------------------- # idea.jars.nocopy=false #--------------------------------------------------------------------- # The VM option value to be used to start a JVM in debug mode. # Some JREs define it in a different way (-XXdebug in Oracle VM) #--------------------------------------------------------------------- idea.xdebug.key=-Xdebug #----------------------------------------------------------------------- # 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 #--------------------------------------------------------------------- # 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 #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes #--------------------------------------------------------------------- idea.plugins.path=${user.home}/.AndroidStudio1.5/config/plugins #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.log.path=${user.home}/.AndroidStudio1.5/system/log

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐