This warning can be disabled by using the command line flag -Dcom.android.build.gradle.overridePath

来源:互联网 发布:乐高城市灭火队淘宝 编辑:程序博客网 时间:2024/05/17 22:57

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. 
这里写图片描述 
主要是因为。项目的文件路径里面有中文。所以把项目放到一个没有中文目录里面运行就OK了

阅读全文
0 0
原创粉丝点击