本文共 522 字,大约阅读时间需要 1 分钟。
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 for details.
This warning can be disabled by using the command line flag -Dcom..build.gradle.overridePathCheck=true, or adding the line ‘com.android.build.gradle.overridePathCheck=true’ to gradle.properties file in the project directory.
错误原因:引用项目的路径中包含中文
解决方法:重新新建一个项目,项目的路径为英文。2:把现有的项目的路径修改为不包含英文的。
什么时间国人能写出牛逼的开发软件就不会出现这种问题了!!!
转载地址:http://bwdub.baihongyu.com/