Fix output directory for gradle

(cherry picked from commit 4296edc472)
This commit is contained in:
WO 2018-12-12 09:05:33 +09:00 committed by Akinwale Ariwodola
parent 4a1253e00a
commit ec1ede62d2

View file

@ -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)