今天导入新的工程时,出现:
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 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.
发现原来是工程路径中包含了中文名,讲工程不要放在有中文名的路径下就好了。