Reputation: 198
There is my problem: I tried to import Google Maps API samples in android studio. But when I select directory in "Import project"s menu, nothing happens. There are no errors, just silence. Same situation when I try to import any google sample or opensource project. I have Android Studio 2.1.2
UPDATE:
Unable to save '/home/antonid/Android_Projects/android-ActionBarCompat-ShareActionProvider/local.properties'/home/antonid/Android_Projects/android-ActionBarCompat-ShareActionProvider/local.properties (Permission denied)'
Upvotes: 1
Views: 1678
Reputation: 9628
For me, sudo needs to be prepended too:
sudo chmod -R 777 /<path of the project>/android
Upvotes: 1
Reputation: 198
My solution: I have allowed all to write down files in a project directory, usingchmod -R 777 project_dir
Upvotes: 5
Reputation: 1554
This happens sometimes when there is something wrong with your Gradle. Try Build > Clean Project and then rebuild your project.
Upvotes: 0
Reputation: 1796
Try this go to File->Close Project
and instead using Open an Existing Android Studio Project
use Import Project (Eclipse ADT,Gradle,etc.)
.
Upvotes: 2