在导入project时,我们需要在可能会报下面的错误:
Error:(1, 0) 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 using the command line flag -Dcom.android.build.gradle.overridePathCheck=true, or adding the line com.android.build.gradle.overridePathCheck=true' to gradle.properties file in the project directory.
<a href="openFile:E:\安卓易资料\NewsClient\NewsClient\app\build.gradle">Open File</a>
这是因为我们导入的project所在的文件目录结构包含中文。所以我们只需要将我们要导入的project复制到英文目录下再导入就行了。