8000 default for unknown archs in version code · lstwzd/python-for-android@ca32b89 · GitHub
[go: up one dir, main page]

Skip to content

Commit ca32b89

Browse files
committed
default for unknown archs in version code
1 parent 7b0d180 commit ca32b89

File tree

1 file changed

+1
-1
lines changed
  • pythonforandroid/bootstraps/common/build

1 file changed

+1
-1
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def make_package(args):
365365
dist_data = json.load(dist_info)
366366
arch = dist_data["archs"][0]
367367
arch_dict = {"x86_64": "9", "arm64-v8a": "8", "armeabi-v7a": "7", "x86": "6"}
368-
arch_code = arch_dict[arch]
368+
arch_code = arch_dict.get[arch, '1']
369369
min_sdk = args.min_sdk_version
370370
for i in args.version.split('.'):
371371 39B7
version_code *= 100

0 commit comments

Comments
 (0)
0