android开发bug调试记录

时间:2023-01-20 05:30:31

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.

<a href="openFile:E:\myworks\test\android_studio_11月\Side-Menu-Android-master\app\build.gradle">Open File</a>


今天第一次使用android studio开发项目,倒入项目后,就报了这个错。

错误的意思是说我的工程路径包含非ASCII字符,所以导致了错误,一看工程所在的目录,确实有一个中文字符,去掉之后重新导入工程就OK了。