首页 > 建站教程 > APP开发,混合APP >  org.gradle.api.tasks.StopExecutionException: Your project path contains non-ASCII characters正文

org.gradle.api.tasks.StopExecutionException: Your project path contains non-ASCII characters

作为一个前端,弄安卓项目真是难受得很。公司推来一个安卓项目,刚用安卓studio打开,就报了上面的错:

org.gradle.api.tasks.StopExecutionException: 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.


百度了,都说在gradle.properties中添加一行代码

android.overridePathCheck=true


但并没有解决我的问题,最后的解决办法是,文件路径中含有中文,将中文换成纯英文再重新打开就解决问题了。