Tag Archives: java

Gradle failed to create MD5 hash for file which has non-ascii characters in path

前段时间把 Gitlab Runner 的 executor 更改为 docker,遇到 gradle 报错,但是在本地进入 docker 执行却正常。

* What went wrong:
Execution failed for task ‘:app_ts3000_jplb:mergeDebugAssets’.
> Failed to create MD5 hash for file ‘/builds/multimedia/Avalon/applications/endpoint/android/app_ts3000_jplb/src/main/assets/ts_fonts/?????????.ttf’ as it does not exist.

Workaround:

LC_ALL=en_US.UTF-8 gradle build