When I trying to install Android Studio on my PC so the error occurs it says:
The IDE cannot create the directory. Possible reason: parent directory is read-only or the user lacks necessary permissions.
If you have modified the
idea.config.path
property, please make sure it is correct, otherwise, please re-install the IDE.
Location: C:\Users\Acer/.AndroidStudio4.0/config java.nio.file.AccessDeniedException: C:\Users\Acer.AndroidStudio4.0
I had a similar problem on Ubuntu. At first, I tried running ./studio.sh as root. However, I faced other issues down the line. So I cleaned the .cache directory that was created by the root user, also deleted the Google/AndroidStudio* and "Android Open Source Project" under .config. Then I was able to run ./studio.sh without any root permissions.
I just ran into this bug on a MacBook and to fix it I ran: sudo chmod 777 ~/Library/Application\ Support/Google in the terminal.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With