Skip to content

Commit 2c7edcc

Browse files
committed
Added a temporary hardcoded APP_PLATFORM setting
1 parent 60b9b07 commit 2c7edcc

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

pythonforandroid/bootstraps/sdl2/build/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def make_package(args):
409409

410410
def parse_args(args=None):
411411
global BLACKLIST_PATTERNS, WHITELIST_PATTERNS, PYTHON
412-
default_android_api = 12
412+
default_android_api = 21
413413
import argparse
414414
ap = argparse.ArgumentParser(description='''\
415415
Package a Python application for Android.

pythonforandroid/bootstraps/sdl2/build/jni/Application.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55

66
# APP_ABI := armeabi armeabi-v7a x86
77
APP_ABI := $(ARCH)
8+
APP_PLATFORM := android-21

pythonforandroid/recipes/python3/__init__.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,5 @@ def build_arch(self, arch):
106106
ipdb.set_trace()
107107

108108
shprint(sh.make, 'all', _env=env)
109-
110-
exit(1)
111109

112-
113-
# if not exists('config.status'):
114-
115-
116-
# shprint(sh.make, '-C', build_dir)
117-
118-
119110
recipe = Python3Recipe()

0 commit comments

Comments
 (0)