我尽量不以管理员身份运行软件,除非真的有必要,在这种情况下不是。
按照@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)所获得的乐趣的一部分