8000 add x86_64 for android version code · lstwzd/python-for-android@1f316dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f316dc

Browse files
committed
add x86_64 for android version code
default for unknown archs in version code
1 parent a194a5b commit 1f316dc

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ def make_package(args):
364364
with open(join(dirname(__file__), 'dist_info.json'), 'r') as dist_info:
365365
dist_data = json.load(dist_info)
366366
arch = dist_data["archs"][0]
367-
arch_dict = {"arm64-v8a": "8", "armeabi-v7a": "7", "x86": "6"}
368-
arch_code = arch_dict[arch]
367+
arch_dict = {"x86_64": "9", "arm64-v8a": "8", "armeabi 4EB0 -v7a": "7", "x86": "6"}
368+
arch_code = arch_dict.get[arch, '1']
369369
min_sdk = args.min_sdk_version
370370
for i in args.version.split('.'):
371371
version_code *= 100

0 commit comments

Comments
 (0)
0