Issue
I cloned the material components android example repository from this URL to Android Studio by doing File > New > Project from Version Control > Repository URL and using this link.
It’s loaded, but any file I try to view gives me the error "Design editor is unavailable until next gradle sync".
What am I missing here? The Sync Gradle icon does not appear either. It appears for other projects I created on my local machine.
I’ve posted a screenshot of my project structure.
P.S I’m an absolute newbie to Android.
Solution
You opened the wrong folder, it should have been Reply as the root directory.
Answered By – Uriel Frankel
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0