Android Studio出现:Your project path contains non-ASCII 错误代码解决方法

阅读 107

2022-11-02


​Project​​的出现:

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.

就是你的工程项目路径或者项目名称包含了中文,修改相关的名称就好了!

精彩评论(0)

0 0 举报