我收到此错误:
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,但是,它不起作用!
如何解决此错误?
我收到此错误:
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。
以管理员身份运行。\config 和 \system 的默认位置在 c:\Program Files 下,Windows 不允许普通软件写入。Karu 的解决方案将 \config 和 \system 文件夹移动到当前用户目录,这是更公平的游戏。
我尽量不以管理员身份运行软件,除非真的有必要,在这种情况下不是。
按照@karu 说的做,但是继续并取消注释idea.properties文件中的前4 个路径,以停止下一个错误,您会收到关于无效系统路径的错误等等......
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
#---------------------------------------------------------------------
# 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}/.AndroidStudioPreview/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}/.AndroidStudioPreview/system/log
保存此文件并重新启动 Android Studio,您应该不会再出现错误。
注意:我想他们会在未来的版本中解决这个问题,但这是你加入一个仍处于 Beta 阶段的项目(目前是 v0.2)所获得的乐趣的一部分
取消注释idea.config.path以及 C:\Program Files (x86)\Android\android-studio\bin\idea.properties 文件中可用的选项
我遇到了这个问题,只需等待 5 分钟,它就会正常启动。
我遇到了这个问题,我的问题的原因是我的硬盘空间不足(安装新的 android 版本在我不知道的情况下填满了我的硬盘:))。清理硬盘并获得一些可用空间解决了我的问题
我的问题是我的笔记本电脑存储空间已满,一旦空间被释放,这个错误就得到了解决。
只需以管理员身份运行 Android Studio ......
只需以管理员身份运行
问题是关于权限
为我工作:)
卸载 Android Studio 并使用默认设置重新安装(仅为当前用户安装)。
Android Studio 只是半生不熟,支持跨多个用户共享安装是仍在烤箱中的功能之一。
注意:要解决多用户安装的另一个错误C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Android Studio,您必须通过手动删除来“帮助”卸载程序。否则,重新安装后,您将拥有两组“开始”菜单图标。
删除临时文件后,我解决了同样的问题。
只需进入运行,输入“%temp%”,回车,然后删除 Temp 目录下的所有文件。
将您的快捷方式(高级选项)配置为始终以管理员身份运行,每次可以节省几秒钟。
我用 android studio 寻找不同的方法来解决这个问题,我找到了解决方案。
我的问题是 Windows 帐户管理器锁定了我的个人资料文件夹以执行任何操作,只需更改对该文件夹的权限即可
只需在您的个人资料文件夹中执行此操作并选择您的用户

在此之后,运行 Android Studio,瞧!希望这有帮助!