這是我有一次導入項目的時候,出現這個問題:
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/235788 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.
出現這個問題特別容易解決,原因就是你的工程項目路徑或者項目名稱有中文 ,修改相關的名稱就能把問題解決。