Andrid Studio Gradle sync failed: A problem occurred configuring project ':app' 解决方法

Android Studio中进行Gradle sync 时出现了这个错误,Android Studio 出错提示是 Gradle sync failed: A problem occurred configuring project ‘:app’

在项目里有一个叫settings.gradle的文件,打开之后其内容为include ‘:app’,在这个app前面加上了一个英文句点,

原文地址:https://www.cnblogs.com/liulala2017/p/10768610.html