如下图,配置时没有module可选,因此报错error: Module not specified
解决方法:
1、打开根目录的settings.gradle,删除include ':app'
2、在Android Studio上,点击File -->
Sync Project with Gradle files
3、同步后,把include ':app'重新写入settings.gradle
4、重新运行File -->
Sync Project with Gradle files
END-------------------