Android Studio Run/Debug Configuration Error: Module Not Specified
Answer :
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.
never mind, i changed the name in settings.gradle and synced and then changed it back and synced again and it inexplicably worked this time.
Try to delete the app.iml in your project directory and restart android studio
Comments
Post a Comment