You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building with the requirements in default.spec, which include python3, Buildozer reports that the API settings are incompatible. Furthermore, to support API versions past 19, the NDK version also has to be increased. These increases should probably be the defaults so that Buildozer works out of the box.
(The first sed is to work around buildozer 760 and friends. The second sed is because the current p4a stable branch doesn't know the python3 recipe, which also keeps Buildozer from working out of the box, but that's a separate problem.)
Spec file: just the current default.spec with that second sed command run on it to switch to p4a.branch = master. (If a full copy is preferred, let me know, and I can paste it.)
Logs
…
[ERROR]: Build failed: Target ndk-api is 19, but the python3 recipe supports only 21+
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/cse/.buildozer/android/platform/build"
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
(To get past such errors, I must:
Change android.api to at least 21,
Change android.minapi to at least 21,
Increase android.ndk [I chose 17c], and
Unpatch android.py because the NDK version is new enough that buildozer 760 isn't an issue.)
The text was updated successfully, but these errors were encountered:
Versions
Description
When building with the requirements in
default.spec
, which includepython3
, Buildozer reports that the API settings are incompatible. Furthermore, to support API versions past 19, the NDK version also has to be increased. These increases should probably be the defaults so that Buildozer works out of the box.buildozer.spec
Commands:
(The first
sed
is to work around buildozer 760 and friends. The secondsed
is because the currentp4a
stable branch doesn't know thepython3
recipe, which also keeps Buildozer from working out of the box, but that's a separate problem.)Spec file: just the current default.spec with that second
sed
command run on it to switch top4a.branch = master
. (If a full copy is preferred, let me know, and I can paste it.)Logs
(To get past such errors, I must:
android.api
to at least 21,android.minapi
to at least 21,android.ndk
[I chose17c
], andandroid.py
because the NDK version is new enough that buildozer 760 isn't an issue.)The text was updated successfully, but these errors were encountered: