Android报错: Error:(1, 0) Your project path contains non-ASCII characters

今天本来是做了个标题悬停滚动的demo,给外层文件夹做了个备注,结果打开工程的时候报错了,以前也遇到过,不过总不长记性,今天还是在这里做下记录吧

这是报错提示:

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.


这个错误原因呢,就是因为open project的时候,项目路径中包含中文导致的,这是常识,但我总疏忽,算是给自己的一个警示,要记住!!!要记住!!

猜你喜欢

转载自blog.csdn.net/qq_16252123/article/details/78663066