Skip to content

Commit 29e8e9a

Browse files
committed
use unsigned if release mode if used, and no keystore given
1 parent 9e028ec commit 29e8e9a

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
@@ -736,7 +736,7 @@ def apk(self, args):
736736
if not apk_file:
737737
info_main('# APK filename not found in build output, trying to guess')
738738
suffix = args.build_mode
739-
if suffix == 'release':
739+
if suffix == 'release' and not args.keystore:
740740
suffix = suffix + '-unsigned'
741741
apks = glob.glob(join(dist.dist_dir, 'bin', '*-*-{}.apk'.format(suffix)))
742742
if len(apks) == 0:

0 commit comments

Comments
 (0)