[Unity] Android 專案路徑含有非 ASCII 字元

發表日期:
2021.05.16
/
分類:
錯誤訊息位置 請檢查 Gradle build failed. 紀錄。 如出現 Your project path contains non-ASCII characters. 字句,先將 Unity 關閉,再將專案路徑中所有的中文字改成英文,最後啟動 Unity 專案並重新執行編譯。 * What went wrong:

錯誤訊息位置

請檢查 Gradle build failed. 紀錄。

如出現 Your project path contains non-ASCII characters. 字句,先將 Unity 關閉,再將專案路徑中所有的中文字改成英文,最後啟動 Unity 專案並重新執行編譯。

* What went wrong: A problem occurred evaluating project ‘:launcher’.

Failed to apply plugin [id ‘com.android.internal.application’] 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 adding the line ‘android.overridePathCheck=true’ to gradle.properties file in the project directory.

comments powered by Disqus