我在打开 Android Studio 时遇到此错误:
System path '/Users/username/Library/Caches/AndroidStudio2.1' is invalid. If you have modified the 'idea.system.path' property please make sure it is correct, otherwise please re-install the IDE.
我该如何解决?
最佳答案
我通过执行以下操作解决了这个问题:
打开“应用程序”文件夹
右键单击 Android Studio,然后选择“显示包内容”
导航到“bin”文件夹
用文本编辑工具打开“idea.properties”文件,将这个属性添加到文件底部:
idea.system.path='/Users/MacName/Library/Caches/AndroidStudio3.1'
然后保存文件。
再次运行 Android Studio,它应该可以工作了。
关于Mac 中的 Android Studio 路径错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38342984/