Resync your project gradle files to add the app module through Gradle
-
In the root folder of your project, open the
settings.gradlefile for editing. -
Cut line
include ':app'from the file. -
On Android Studio, click on the
FileMenu, and selectSync Project with Gradle files. -
After synchronisation, paste back line
include ':app'to thesettings.gradlefile. -
Re-run
Sync Project with Gradle filesagain.