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