org.gradle.api.tasks.stopexecutionexception: 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 adding the line 'android.overridepathcheck=true' to gradle.properties file in the project directory.
时间: 2023-04-27 15:05:01 浏览: 159
这是Gradle构建工具的一个异常,意思是你的项目路径包含非ASCII字符,这很可能会导致在Windows上构建失败。请将项目移动到另一个目录。详细信息请参见http://b.android.com/95744。你可以通过在项目目录中的gradle.properties文件中添加一行“android.overridepathcheck=true”来禁用此警告。
相关问题
org.gradle.api.tasks.StopExecutionException: 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 adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.
这个错误是因为你的项目路径中包含非 ASCII 字符,这可能会导致在 Windows 上构建失败。Android Gradle 插件不支持非 ASCII 字符路径。你可以尝试将项目移动到不包含非 ASCII 字符的路径中来解决这个问题。如果你不能移动项目到其他路径,你可以通过在项目目录下的 gradle.properties 文件中添加一行 'android.overridePathCheck=true' 来禁用该警告。但是请注意,这样做可能会导致在 Windows 上构建失败。
Caused by: org.gradle.api.tasks.StopExecutionException: 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 adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.
原因是:org.gradle.api.tasks.stopexecutionexception:项目路径包含非ASCII字符。这很可能导致在Windows上构建失败。请将您的项目移动到其他目录。有关详细信息,请参阅http://b.android.com/95744。可以通过在项目目录中的gradle.properties文件中添加行android.overridepathcheck=true来禁用此警告。
阅读全文