From f67243cec134c77f0e1e30442f4c49574ed59eb1 Mon Sep 17 00:00:00 2001 From: Gabriel Pettier Date: Mon, 26 Nov 2018 19:51:38 +0100 Subject: [PATCH] decode gradle path to avoid python3 crash needs test in python2 --- pythonforandroid/toolchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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":