I installed android studio 3.0 on ubuntu 16.04. But when I open a project with it, I get the error below:
Gradle 'MyApplication' project refresh failed.
Error:Operation not permitted(Socket creation failed)
How can I fix this? Thanks
The problem was with the permissions. I opened android studio using sudo and it worked!
sudo
. If you edit your question with details about how you installed Android Studio, and also say if all projects produce that error or just some, that might help you get answers with other solutions you might like better.
Dec 7, 2017 at 14:22