您的项目路径包含非ASCII字符android studio [英] Your project path contains non-ASCII characters 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屋!