Error:(1, 0) Your project path contains non-ASCII characters. 這是個什麼錯誤?

完整的是這樣的:Error:(1, 0) Your project path contains non-ASCII characters. This will most likelycause the build to fail on Windows. Please move your project to a differentdirectory. 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 filein the project directory.從網上下demo直接用android studio import進去就報這個錯,其他demo有時候可以,有時又不行,請問該怎麼解決?

解決方法:

項目的路徑上有中文,比如:E:/workspace/項目/Hello,把中文改一下就行了;




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