Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio path error in Mac

I am getting this error when I open 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.

How can I fix it?

like image 1000
Potato Avatar asked Jul 13 '16 05:07

Potato


2 Answers

I fixed this issue by doing the following:

  • Open your "Applications" folder

  • Right click on Android Studio then choose "Show Package Contents"

  • Navigate to the "bin" folder

  • Open the "idea.properties" file with a text edit tool and add this property to the bottom of the file:

    idea.system.path='/Users/MacName/Library/Caches/AndroidStudio3.1'

    then save the file.

Run Android Studio again and it should work.

like image 199
blueware Avatar answered Sep 21 '22 10:09

blueware


I fixed on my mac like this instead and it works:

Open your "Applications" folder Right click on Android Studio then choose "Show Package Contents" Navigate to the "bin" folder Open the "idea.properties" file with a text edit tool and add this property to the bottom of the file: idea.log.path=/Users/macUser/Library/Cache/AndroidStudio3.1

then save the file.

Run Android Studio again and it should work.

like image 33
vsp Avatar answered Sep 19 '22 10:09

vsp