导入工程时提示Your project path contains non-ASCII characters

今天导入新的工程时,出现:
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.

发现原来是工程路径中包含了中文名,讲工程不要放在有中文名的路径下就好了。

猜你喜欢

转载自blog.csdn.net/liuxiaopang520/article/details/78224044
今日推荐