Merge pull request #803 from inclement/update_for_p4a_master

Update for p4a master
This commit is contained in:
Alexander Taylor 2019-01-30 13:05:44 +00:00 committed by GitHub
commit b520c00c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View file

@ -87,20 +87,20 @@ fullscreen = 0
# (list) Permissions
#android.permissions = INTERNET
# (int) Android API to use
#android.api = 19
# (int) Target Android API, should be as high as possible.
#android.api = 27
# (int) Minimum API required. You will need to set the android.ndk_api to be as low as this value.
#android.minapi = 9
# (int) Minimum API your APK will support.
#android.minapi = 21
# (int) Android SDK version to use
#android.sdk = 20
# (str) Android NDK version to use
#android.ndk = 9c
#android.ndk = 17c
# (int) Android NDK API to use (optional). This is the minimum API your app will support.
#android.ndk_api = 19
# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21
# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True
@ -152,8 +152,8 @@ fullscreen = 0
# (list) Java classes to add as activities to the manifest.
#android.add_activites = com.example.ExampleActivity
# (str) python-for-android branch to use, defaults to stable
#p4a.branch = stable
# (str) python-for-android branch to use, defaults to master
#p4a.branch = master
# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled

View file

@ -14,10 +14,10 @@ if sys.platform == 'win32':
from platform import uname
WSL = 'Microsoft' in uname()[2]
ANDROID_API = '19'
ANDROID_MINAPI = '9'
ANDROID_API = '27'
ANDROID_MINAPI = '21'
ANDROID_SDK_VERSION = '20'
ANDROID_NDK_VERSION = '9c'
ANDROID_NDK_VERSION = '17c'
APACHE_ANT_VERSION = '1.9.4'
import traceback

View file

@ -13,7 +13,7 @@ from os.path import join, expanduser, realpath
class TargetAndroidNew(TargetAndroid):
targetname = 'android'
p4a_branch = "stable"
p4a_branch = "master"
p4a_directory = "python-for-android-new-toolchain"
p4a_apk_cmd = "apk --debug --bootstrap="
extra_p4a_args = ''