您的位置:首页 > 大数据 > 人工智能

Your project path contains non-ASCII characters

2015-12-23 16:08 405 查看
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/95744for
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.

错误原因:引用项目的路径中包含中文

解决方法:重新新建一个项目,项目的路径为英文。2:把现有的项目的路径修改为不包含英文的。

解决思路见:http://stackoverflow.com/questions/32171968/your-project-path-contains-non-ascii-characters-android-studio

翻译这个答案:I have the same problem.then I create a new project and the path only use English alphabet,the problem is resolved.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: