Reputation: 259
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?
Upvotes: 6
Views: 5659
Reputation: 83
I think I figured out the root cause (at least for me) and I don't love sudo editing files and folders so here's what worked for me. Turns out Chrome was creating the Application Support folder with root permissions. Android Studio uses that same folder but couldn't do anything with it. Essentially the fix was:
~/Library/Application\ Support/Google
folder (may have to use sudo here 😂)Upvotes: 0
Reputation: 172
just check the folder permission in , Replace "xxx" with username
/Users/xxx/Library/Application Support/Google
It needs read/Write/Execute Permission.
Will have to run sudo chmod 777 .
to fix and relaunch the Android Studio
Upvotes: 1
Reputation: 5371
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.
Upvotes: 16
Reputation: 19
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.
Upvotes: 1