记项目导入错误

xiaoxiao2021-02-28  123

错误如下:

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 adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory. <a href="openFile:E:\workspace\新建文件夹\androidClientCounsellor2\BaseLibs\build.gradle">Open File</a>

翻译过来就是:

你的项目目录里面包含中文,所以编译不过去

解决方法如下:

修改文件目录,改为英文就好了。(如果你的项目没有问题的话,就可以跑起来了)

转载请注明原文地址: https://www.6miu.com/read-24230.html

最新回复(0)