Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio fails to install update (error : Failed to read or create install properties file.)

Screenshot of error

enter image description here

I am running [ Android Studio 2.3 Build #AI-162.3764568, built on February 24, 2017 JRE: 1.8.0_112-release-b06 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o] on Ubuntu 16.04. From last few days android studio gives me error on trying to update. I have no idea how to fix this.

like image 977
spark Avatar asked Mar 27 '17 09:03

spark


2 Answers

I ran the Android studio as administrator and then it worked as it is a permission issue.

like image 156
Sathyajith Avatar answered Oct 11 '22 06:10

Sathyajith


chmod 777 $ANDROID_HOME -R is not a good solution like @spark mentioned.

I solved it by setting ownership to myself

sudo chown $USER:$USER $ANDROID_HOME -R

like image 32
hannes ach Avatar answered Oct 11 '22 05:10

hannes ach