The solution to this is easy. Delete the .gradle folder in your project folder. Then look for the icon in Android Studio (see image).

android_studio_gradle_sync

It says Sync Project with Gradle Files. Click that button and all should be well.

Related Posts Plugin for WordPress, Blogger...