Android出現:Your project path contains non-ASCII characters. This will most likely cause the build

這是我有一次導入項目的時候,出現這個問題:

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.

出現這個問題特別容易解決,原因就是你的工程項目路徑或者項目名稱有中文 ,修改相關的名稱就能把問題解決。

注意: 一個高逼格的程序員是不允許自己的代碼有中文拼音或者中文名字的,無時無刻養成一個高逼格的習慣

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章