解决Error:Your project path contains non-ASCII characters.

studio引入项目报这个错误: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. Seehttp://b.android.com/95744for 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.

错误原因:引用项目的路径中包含中文

解决方法:

1:项目中的gradle.properties中添加

com.android.build.gradle.overridePathCheck=true,

重新编译。

2:把现有的项目的路径修改为不包含英文的。

你可能感兴趣的:(解决Error:Your project path contains non-ASCII characters.)