diff --git a/pythonforandroid/toolchain.py b/pythonforandroid/toolchain.py index d499d9648b..2dd406c3e4 100644 --- a/pythonforandroid/toolchain.py +++ b/pythonforandroid/toolchain.py @@ -830,7 +830,7 @@ def apk(self, args): # .../build/bootstrap_builds/sdl2-python3crystax/gradlew # if docker on windows, gradle contains CRLF output = shprint( - sh.Command('dos2unix'), gradlew._path, + sh.Command('dos2unix'), gradlew._path.decode('utf8'), _tail=20, _critical=True, _env=env ) if args.build_mode == "debug":