Your project path contains non-ASCII characters

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.

错误原因:你的项目路径包含了中文;

解决方案:把项目复制到非中文路径目录下;

猜你喜欢

转载自blog.csdn.net/niuba123456/article/details/81582584
今日推荐