I have a problem with Android Studio and Gradle to import appcompat-v7.
So here is my src/build.gradle:
apply plugin: \'andro
I'm an Ubuntu user and I had the same problem. I followed pyus13's answer and I gave the write permissions to the project folder instead of giving it to android-studio and android-sdk-linux. Also, the command
sudo chmod 7777 /your/project/path
didn't work. But,
sudo chmod 757 -R /your/project/path
worked perfectly.