Android Studio导入项目问题

来源:互联网 发布:ug8.0编程手机教程 编辑:程序博客网 时间:2024/06/05 11:35

AndroidStudio: Error:(1, 0) Your project path contains non-ASCII characters.

问题详情:Android 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/95744 for 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.

其实就是

项目路径包含了非ASCII字符,可能会导致构建失败…通俗来讲,路径不能含有中文。

因此

将路径改成拼音或是英文就可以了。

作者:谢伟伟
原文链接:Android Studio导入项目问题

原创粉丝点击