I am using latest version of Android Studio on Mac. Whenever I open the app it shows me the above error. Can anyone help me in resolving it? Here is a picture as well:
I had the same problem here, but into ubuntu 16.04.
Based on @madhan's comment I saw that the permissions of my .android was only for root user, so I did change the owner for that folder and that's it.
I used this command for change the folder owner:
sudo chown -R davidg:davidg .android/
Please replace "davidg:davidg" with your own user.
All working fine now.
I supose that at the first android studio start, it creates the file "analytics.settings" and maybe others into this folder but if permission is not granted for the user running the IDE then shows this error.
I hope this help you.
Before change the owner
After change the owner
step1: find .android folder in my case it is in /home/pravin if you dont find it press ctrl+h to view the hidden folders
step2: pravin@pravin:~$ sudo chmod 777 /home/pravin/.android
just restart android studio done
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