From ec1ede62d296206c481ab5eb9dd92fbd658de152 Mon Sep 17 00:00:00 2001 From: WO Date: Wed, 12 Dec 2018 09:05:33 +0900 Subject: [PATCH] Fix output directory for gradle (cherry picked from commit 4296edc472649e05cb81d96cc41d69f03323309a) --- buildozer/targets/android.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 753285b..d9c30f2 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -813,7 +813,7 @@ class TargetAndroid(Target): packagename = config.get('app', 'package.name') apk = u'{packagename}-{mode}.apk'.format( packagename=packagename, mode=mode) - apk_dir = join(dist_dir, "build", "outputs", "apk") + apk_dir = join(dist_dir, "build", "outputs", "apk", mode) apk_dest = u'{packagename}-{version}-{mode}.apk'.format( packagename=packagename, mode=mode, version=version)