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 running buildozer android debug it seems like the --ndk-api appears twice when invoking the python3 -m pythonforandroid.toolchain create command.
For instance this is the log I'm getting:
Ask you can see we have --ndk-api 9 and --ndk-api=21.
This seems to only happens when the android.ndk_api is defined in the buildozer.spec.
Basically the first one --ndk-api 9 is always present, while the second one --ndk-api=21is being picked up frombuildozer.spec`
I reckon this got introduced at the same time ndk-api param got introduced to buildozer in 6b004f9.
buildozer.spec
Command:
buildozer android debug
Spec file:
The spec file is the default master one after buildozer init with only two changes:
$ buildozer android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.19.0.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
# Search for Git (git)
# -> found at /usr/bin/git
# Search for Cython (cython)
# -> found at /home/andre/.local/bin/cython
# Search for Java compiler (javac)
# -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
# -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
# Install platform
# Run "/usr/bin/python3 -m pip install -q --user 'appdirs' 'colorama>=0.3.3' 'jinja2' 'six'"
# Cwd None
# Apache ANT found at /home/andre/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/andre/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/andre/.buildozer/android/platform/android-ndk-r17c
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --ndk-api 9 --arch armeabi-v7a --copy-libs --color=always --storage-dir="/tmp/trash/.buildozer/android/platform/build" --ndk-api=21'
# Cwd /tmp/trash/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19, 21, 27)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r17c
[INFO]: Found virtualenv at /home/andre/.local/bin/virtualenv
[INFO]: Found the following toolchain versions: ['4.9']
[INFO]: Picking the latest gcc toolchain, here 4.9
[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[ERROR]: Didn't find any valid dependency graphs.
[ERROR]: This means that some of your requirements pull in conflicting dependencies.
[ERROR]: Exiting.
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --ndk-api 9 --arch armeabi-v7a --copy-libs --color=always --storage-dir="/tmp/trash/.buildozer/android/platform/build" --ndk-api=21
#
# 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
$
The text was updated successfully, but these errors were encountered:
Versions
Description
When running
buildozer android debug
it seems like the--ndk-api
appears twice when invoking thepython3 -m pythonforandroid.toolchain create
command.For instance this is the log I'm getting:
Ask you can see we have
--ndk-api 9
and--ndk-api=21
.This seems to only happens when the
android.ndk_api
is defined in thebuildozer.spec
.Basically the first one
--ndk-api 9
is always present, while the secondone
--ndk-api=21is being picked up from
buildozer.spec`I reckon this got introduced at the same time
ndk-api
param got introduced to buildozer in 6b004f9.buildozer.spec
Command:
Spec file:
The spec file is the default master one after
buildozer init
with only two changes:android.ndk = 17c
android.ndk_api = 21
Logs
The text was updated successfully, but these errors were encountered: