1. 程式人生 > >Android出現:Your project path contains non-ASCII characters.

Android出現:Your project path contains non-ASCII characters.

匯入Project的出現

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.

其實很好解決啦,就是你的工程專案路徑或者專案名稱包含了中文,修改相關的名稱就好了! 出現這個錯誤說明什麼,咱們還是要專業一點兒,別再專案路徑名稱中去搞另類弄什麼中文名,要專業!!!!!