Error:(1, 0) Your project path contains non-ASCII characters. This will most likely cause the build

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 adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.

<a href="openFile:H:\Studio Workspace\管理助手\EsintManager\app\build.gradle">Open File</a>


出现这种错误是因为工程文件的路径有中文名字,解析不了,只要把路径上的中文删除或者改成英文就行。





因为路径上的文件名被修改了,原来打开的工程也会跟丢,最后重新打开工程就好了。

猜你喜欢

转载自blog.csdn.net/Nobody_else_/article/details/80077686