您的项目路径包含非 ASCII 字符 android studio [英] Your project path contains non-ASCII characters android studio

查看:82
本文介绍了您的项目路径包含非 ASCII 字符 android studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在安装android studio,但是程序启动时出现这个问题:

I was installing android studio, but I have this problem when the program is starting:

错误:(1, 0) 您的项目路径包含非 ASCII 字符.这个很可能会导致构建在 Windows 上失败.请移动你的项目到不同的目录.请参阅 http://b.android.com/95744 了解详情.

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.

可以使用命令行标志禁用此警告-Dcom.android.build.gradle.overridePathCheck=true,或者在 gradle.properties 中添加一行 'com.android.build.gradle.overridePathCheck=true'项目目录中的文件.

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.

推荐答案

我通过添加这一行解决了这个问题

I solved this issue by adding this line

android.overridePathCheck=true

gradle.properties

正如这条消息所说

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.

这篇关于您的项目路径包含非 ASCII 字符 android studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆