Turn your Python application into an Android APK
distutils
usage, as is not available anymore on Python 3.12
by @misl6 in https://github.com/kivy/python-for-android/pull/2912
pyjnius
version to 1.6.1
by @misl6 in https://github.com/kivy/python-for-android/pull/2914
.readthedocs.yaml
file, add docs requirements.txt
and update sphinx conf by @misl6 in https://github.com/kivy/python-for-android/pull/2916
8.1.1
and gradle to 8.0.2
by @misl6 in https://github.com/kivy/python-for-android/pull/2887
3.11
and make it the default while building hostpython3
and python3
by @T-Dynamos in https://github.com/kivy/python-for-android/pull/2850
python-for-android
prerequisites (Dockerfile
, prerequisites.py
, docs) by @misl6 in https://github.com/kivy/python-for-android/pull/2923
sourceCompatibility
1.7 and targetCompatibility
1.7 are obsolete, use 1.8 by default by @misl6 in https://github.com/kivy/python-for-android/pull/2942
2.3.0
by @misl6 in https://github.com/kivy/python-for-android/pull/2952
1.1.1w
by @prolenodev in https://github.com/kivy/python-for-android/pull/2958
Full Changelog: https://github.com/kivy/python-for-android/compare/v2023.09.16...v2024.01.21
python-for-android
release that targets Python 3.10 by default. The next release will switch to Python 3.11
actions/setup-python
and actions/checkout
versions, as old ones are deprecated by @misl6 in https://github.com/kivy/python-for-android/pull/2827
mysqldb
recipe as does not support Python 3 by @misl6 in https://github.com/kivy/python-for-android/pull/2828
Babel
recipe as it's not needed anymore. by @misl6 in https://github.com/kivy/python-for-android/pull/2826
dateutil
recipe, as it's not needed anymore by @misl6 in https://github.com/kivy/python-for-android/pull/2829
pytz
recipe, as it's not needed anymore by @misl6 in https://github.com/kivy/python-for-android/pull/2830
kivy
version to 2.2.1
by @misl6 in https://github.com/kivy/python-for-android/pull/2855
Cython
for now, as most of the recipes are incompatible with Cython==3.x.x
by @misl6 in https://github.com/kivy/python-for-android/pull/2862
build_platform
should be all-lowercase by @misl6 in https://github.com/kivy/python-for-android/pull/2864
Full Changelog: https://github.com/kivy/python-for-android/compare/v2023.05.21...v2023.09.16
pyjnius
version to 1.5.0
by @misl6 in https://github.com/kivy/python-for-android/pull/2791
Full Changelog: https://github.com/kivy/python-for-android/compare/v2023.02.10...v2023.05.21
sh
version has been restricted to sh>=1.10, <2.0;
, as sh>2.0
is incompatible. We will migrate our code accordingly in the future.pydantic
recipe has been updated.scypt
recipe has been updated.--orientation
option controls the allowed orientations (portrait
, landscape
, portrait-reverse
, landscape-reverse
). The allowed orientations list is then set to KIVY_ORIENTATION
environment variable, which is used during window setup time to populate the SDL_HINT_ORIENTATIONS
value, as we're doing for other platforms.--manifest-orientation
option has been added to keep the android:screenOrientation
personalisation functionality, even if Android will be likely deprecate this attribute in future.--manifest-orientation
is not set, and only (one of multiple) --orientation options are passed, the value for
android:screenOrientationis guessed and synthesized from the --orientation option. Since
android:screenOrientationaccepts only 1 value, if multiple
--orientationare given,
android:screenOrientation` will be set to unspecified.maxSdkVersion
and usesPermissionFlags
)--manifest-orientation
and changes how --orientation
works so we can now pass the setting to the SDL orientation hint #2739 (misl6)scrypt
recipe #2738 (FilipeMarch)maxSdkVersion
and usesPermissionFlags
) + remove WRITE_EXTERNAL_STORAGE
permission, which has been previously declared by default #2725 (misl6)MIN_TARGET_API
has been updated to 30
and RECOMMENDED_TARGET_API
in order to comply with Google Play Store requirements.android.activity
now offers Application.ActivityLifecycleCallbacks
helpers.SDL2
, SDL2_ttf
, SDL2_mixer
, SDL2_image
recipes has been updated to latest stable releases.InputType.TYPE_TEXT_FLAG_MULTI_LINE
forces InputType.TYPE_TEXT
even if SDLActivity.keyboardInputType
is NULL
#2716 (misl6)sdl2
version to 2.26.1
#2712 (misl6)SDL
with patches for the TextInput / TextEditing (SDL 2.26.0
) #2692 (misl6)MIN_TARGET_API
to 30
and RECOMMENDED_TARGET_API
to 33
#2683 (misl6)SDL2
, SDL2_ttf
, SDL2_mixer
, SDL2_image
to latest releases #2673 (misl6)toml
may not be available on systemwide python #2670 (misl6)hostpython3
and python3
. The next one will target Python 3.10
python-for-android
will use the new SDL2 releases.liblzma
: Use p4a_install
instead of install
, as a file named INSTALL
is already present. #2663 (misl6)--platform=linux/amd64
in Dockerfile #2660 (misl6)sh==1.14.3
LEGACY_NDK
option to build lapack/scipy recipes with a separate NDKpython-for-android
that supports Android App Bundle (AAB) packagingKivy 2.1.0
which is now the latest stable version available.libpython3.8m.so
should not have m
suffix #2278 (davidhewitt)