Skip to content

Commit 891b286

Browse files
authored
Merge pull request #1493 from kivy/fix_gradle_build
decode gradle path to avoid python3 crash
2 parents a5c9078 + f67243c commit 891b286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ def apk(self, args):
830830
# .../build/bootstrap_builds/sdl2-python3crystax/gradlew
831831
# if docker on windows, gradle contains CRLF
832832
output = shprint(
833-
sh.Command('dos2unix'), gradlew._path,
833+
sh.Command('dos2unix'), gradlew._path.decode('utf8'),
834834
_tail=20, _critical=True, _env=env
835835
)
836836
if args.build_mode == "debug":

0 commit comments

Comments
 (0)