Your project path contains non-ASCII characters. This will most likely cause the build to fail......

问题:
Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory.
See http://b.android.com/95744 for details. This warning can be disabled by adding the line ‘android.overridePathCheck=true’ to gradle.properties file in the project directory.
Open File

在这里插入图片描述

解决:
一)、项目路径有中文,把中文的修改为英文。
二)、:项目中的gradle.properties中添加

com.android.build.gradle.overridePathCheck=true, (第二个方法未试过,暂未知是否有效果)