当前位置: 代码迷 >> Android >> Mac AndroidStudio 异常
  详细解决方案

Mac AndroidStudio 异常

热度:170   发布时间:2016-04-27 22:07:49.0
Mac AndroidStudio 错误

错误信息:

Log path '/Users/robot/Library/Logs/AndroidStudio1.4' is inaccessible. If you have modified the 'idea.log.path' property please make sure it is correct, otherwise please re-install it.


如图



尝试如下做法:

rm -rfv ~/Library/Application\ Support/AndroidStudio*rm -rfv ~/Library/Preferences/AndroidStudio*rm -rfv ~/Library/Caches/AndroidStudio*rm -rfv ~/Library/Logs/AndroidStudio*rm -rfv ~/.AndroidStudio*

把AndroidStudio相关的东西删除了,重新安装,无效。


最后解决办法:

> sudo mkdir ~/Library/Logs/AndroidStudio1.4

> chmod a+w ~/Library/Logs/AndroidStudio1.4/


粗暴的手动创建目录,并授权,成功启动!!