AndroidError:(1, 0) Your project path contains non-ASCII characters.

xiaoxiao2021-02-28  162

Android 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. 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.

原因:因为工程项目路径或者是工程名称包含了中文

解决办法:将中文改成英文,问题解决

转载请注明原文地址: https://www.6miu.com/read-25860.html

最新回复(0)