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

查看:1023
本文介绍了您的项目路径包含非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.

推荐答案

我通过添加以下行

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天全站免登陆