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.


错误原因:引用项目的路径中包含中文

解决方法:重新新建一个项目,项目的路径为英文。2:把现有的项目的路径修改为不包含英文的。


解决思路见:http://stackoverflow.com/questions/32171968/your-project-path-contains-non-ascii-characters-android-studio

翻译这个答案:I have the same problem.then I create a new project and the path only use English alphabet,the problem is resolved.

你可能感兴趣的:(Android开发系列)