Skip to content

Commit 6c891ff

Browse files
author
Jonas Thiem
committed
Fix broken ndk_api default breaking distribution packaging in some cases
1 parent 5a22c35 commit 6c891ff

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
@@ -261,7 +261,7 @@ def __init__(self):
261261
help=('The version of the Android NDK. This is optional: '
262262
'we try to work it out automatically from the ndk_dir.'))
263263
generic_parser.add_argument(
264-
'--ndk-api', type=int, default=0,
264+
'--ndk-api', type=int, default=None,
265265
help=('The Android API level to compile against. This should be your '
266266
'*minimal supported* API, not normally the same as your --android-api. '
267267
'Defaults to min(ANDROID_API, {}) if not specified.').format(DEFAULT_NDK_API))

0 commit comments

Comments
 (0)