[Python] Dependency not found by Gradle when using Buildozer and P4A

Discussão em 'Python' iniciado por Stack, Fevereiro 26, 2025.

  1. Stack

    Stack Membro Participativo

    When trying to add aar/jar files inside buildozer.spec where location is absolutely correct below error is thrown. Keep in mind, the library I wish to compile my project with is custom supplied and not available publically we were provided with aar and optional jar files.

    I'm unfamiliar with Java and Gradle, so I'm not sure what I'm looking at here. To me it sounds like, Gradle is having issues with finding the module although it is present inside buildozer dir e.g., build-arm64-v8a_armeabi-v7a/build/dists/<my project>/src/main/libs and inside my projects dir.

    When directly editing gradle.build upon executing buildozer -v android debug file is overwritten hence answer (I think) lies within buildozer.spec. Any ideas?

    Versions:

    • python 3.9.20
    • openjdk 17.0.11
    • buildozer 1.5.0

    Error:

    [DEBUG]: Remove directory and subdirectory /tmp/p4a-extra-env-lxktljcc
    [INFO]: Detected highest available build tools version to be 36.0.0-rc3
    [DEBUG]: -> running gradlew clean assembleDebug
    [DEBUG]: Starting a Gradle Daemon (subsequent builds will be faster)
    [DEBUG]: > Task :checkDebugAarMetadata FAILED
    [DEBUG]:
    [DEBUG]: FAILURE: Build failed with an exception.
    [DEBUG]:
    [DEBUG]: * What went wrong:
    [DEBUG]: Execution failed for task ':checkDebugAarMetadata'.
    [DEBUG]: > Could not resolve all files for configuration ':debugRuntimeClasspath'.
    [DEBUG]: > Could not find :kiqmobile:.
    [DEBUG]: Required by:
    [DEBUG]: project :
    [DEBUG]:
    [DEBUG]: * Try:
    [DEBUG]: > Run with --stacktrace option to get the stack trace.
    [DEBUG]: > Run with --info or --debug option to get more log output.
    [DEBUG]: > Run with --scan to get full insights.
    [DEBUG]:
    [DEBUG]: * Get more help at https://help.gradle.org
    [DEBUG]:
    [DEBUG]: Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
    [DEBUG]: > IDLE
    [DEBUG]: You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
    [DEBUG]:
    [DEBUG]: See https://docs.gradle.org/8.0.2/userguide/command_line_interface.html#sec:command_line_warnings
    [DEBUG]:
    [DEBUG]: BUILD FAILED in 25s
    [DEBUG]: 3 actionable tasks: 2 executed, 1 up-to-date

    Exception in thread background thread for pid 2181294:
    Traceback (most recent call last):
    File "/home/jsnieg/anaconda3/envs/spider_env/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
    File "/home/jsnieg/anaconda3/envs/spider_env/lib/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
    File "/home/jsnieg/anaconda3/envs/spider_env/lib/python3.9/site-packages/sh.py", line 1641, in wrap
    fn(*rgs, **kwargs)
    File "/home/jsnieg/anaconda3/envs/spider_env/lib/python3.9/site-packages/sh.py", line 2569, in background_thread
    handle_exit_code(exit_code)
    File "/home/jsnieg/anaconda3/envs/spider_env/lib/python3.9/site-packages/sh.py", line 2269, in fn
    return self.command.handle_command_exit_code(exit_code)
    File "/home/jsnieg/anaconda3/envs/spider_env/lib/python3.9/site-packages/sh.py", line 869, in handle_command_exit_code
    raise exc
    sh.ErrorReturnCode_1:

    RAN: /home/jsnieg/projects/Spider/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/spider/gradlew clean assembleDebug

    STDOUT:
    Starting a Gradle Daemon (subsequent builds will be faster)
    > Task :checkDebugAarMetadata FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':checkDebugAarMetadata'.
    > Could not resolve all files for configuration ':debugRuntimeClasspath'.
    > Could not find :kiqmobile:.
    Required by:
    project :

    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.

    * Get more help at https://help.gradle.org

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
    > IDLE
    You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

    See https://docs.gradle.org/8.0.2/userguide/command_line_interface.html#sec:command_line_warnings

    BUILD FAILED in 25s
    3 actionable tasks: 2 executed, 1 up-to-date


    STDERR:

    [INFO]: STDOUT (last 20 lines of 37):
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.

    * Get more help at https://help.gradle.org

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
    > IDLE
    You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

    See https://docs.gradle.org/8.0.2/userguide/command_line_interface.html#sec:command_line_warnings

    BUILD FAILED in 25s
    3 actionable tasks: 2 executed, 1 up-to-date

    [INFO]: STDERR:

    [INFO]: ENV:
    export SHELL='/bin/bash'
    export WSL2_GUI_APPS_ENABLED='1'
    export CONDA_EXE='/home/jsnieg/anaconda3/bin/conda'
    export _CE_M=''
    export WSL_DISTRO_NAME='Ubuntu-20.04'
    export WT_SESSION='ac0529a6-4238-44d5-b4aa-65e29ffb0b16'
    export JAVA_HOME='/home/jsnieg/anaconda3/envs/spider_env/lib/jvm'
    export JAVA_LD_LIBRARY_PATH='/home/jsnieg/anaconda3/envs/spider_env/lib/jvm/lib/server'
    export HOMEBREW_PREFIX='/home/linuxbrew/.linuxbrew'
    export NAME='DevVDI-Core-017'
    export PWD='/home/jsnieg/projects/Spider'
    export GSETTINGS_SCHEMA_DIR='/home/jsnieg/anaconda3/envs/spider_env/share/glib-2.0/schemas'
    export LOGNAME='jsnieg'
    export CONDA_PREFIX='/home/jsnieg/anaconda3/envs/spider_env'
    export GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=''
    export MOTD_SHOWN='update-motd'
    export HOME='/home/jsnieg'
    export LANG='C.UTF-8'
    export WSL_INTEROP='/run/WSL/2059922_interop'
    export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:eek:r=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:eek:w=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
    export WAYLAND_DISPLAY='wayland-0'
    export CONDA_PROMPT_MODIFIER='(spider_env) '
    export INFOPATH='/home/linuxbrew/.linuxbrew/share/info:'
    export LESSCLOSE='/usr/bin/lesspipe %s %s'
    export TERM='xterm-256color'
    export _CE_CONDA=''
    export LESSOPEN='| /usr/bin/lesspipe %s'
    export USER='jsnieg'
    export HOMEBREW_CELLAR='/home/linuxbrew/.linuxbrew/Cellar'
    export CONDA_SHLVL='3'
    export DISPLAY=':0'
    export SHLVL='1'
    export HOMEBREW_REPOSITORY='/home/linuxbrew/.linuxbrew/Homebrew'
    export CONDA_PYTHON_EXE='/home/jsnieg/anaconda3/bin/python'
    export XDG_RUNTIME_DIR='/run/user/1000/'
    export CONDA_DEFAULT_ENV='spider_env'
    export WSLENV='WT_SESSION::WT_PROFILE_ID'
    export XDG_DATA_DIRS='/usr/local/share:/usr/share:/var/lib/snapd/desktop'
    export PATH='/home/jsnieg/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/jsnieg/.local/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/jsnieg/anaconda3/envs/spider_env/bin:/home/jsnieg/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/GitHub CLI:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Users/jsnieg/scoop/shims:/mnt/c/Users/jsnieg/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/jsnieg/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/jsnieg/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/jsnieg/AppData/Local/Programs/Git/cmd:/mnt/c/Program Files/Git/cmd:/mnt/c/Users/jsnieg/AppData/Local/Programs/Git/cmd:/mnt/c/Users/jsnieg/AppData/Local/Android/Sdk/platform-tools:/mnt/c/users/jsnieg/.local/bin:/snap/bin:/home/jsnieg/.local/bin'
    export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus'
    export HOSTTYPE='x86_64'
    export CONDA_PREFIX_1='/home/jsnieg/anaconda3'
    export CONDA_PREFIX_2='/home/jsnieg/anaconda3/envs/knectiq'
    export PULSE_SERVER='unix:/mnt/wslg/PulseServer'
    export WT_PROFILE_ID='{4dd1e689-b517-5f39-947d-78e8a8bdf958}'
    export OLDPWD='/home/jsnieg/projects'
    export _='/home/jsnieg/anaconda3/envs/spider_env/bin/buildozer'
    export PACKAGES_PATH='/home/jsnieg/.buildozer/android/packages'
    export ANDROIDSDK='/home/jsnieg/.buildozer/android/platform/android-sdk'
    export ANDROIDNDK='/home/jsnieg/.buildozer/android/platform/android-ndk-r25b'
    export ANDROIDAPI='31'
    export ANDROIDMINAPI='21'
    export ANDROID_NDK_HOME='/home/jsnieg/.buildozer/android/platform/android-ndk-r25b'
    export ANDROID_HOME='/home/jsnieg/.buildozer/android/platform/android-sdk'

    [INFO]: COMMAND:
    cd /home/jsnieg/projects/Spider/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/spider && /home/jsnieg/projects/Spider/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/spider/gradlew clean assembleDebug

    [WARNING]: ERROR: /home/jsnieg/projects/Spider/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/spider/gradlew failed!
    No setup.py/pyproject.toml used, copying full private data into .apk.
    Applying Java source code patches...
    Applying patch: src/patches/SDLActivity.java.patch
    # Command failed: ['/home/jsnieg/anaconda3/envs/spider_env/bin/python', '-m', 'pythonforandroid.toolchain', 'apk', '--bootstrap', 'sdl2', '--dist_name', 'spider', '--name', 'Spider', '--version', '1.0', '--package', 'org.srcuk.acolclough.spider', '--minsdk', '21', '--ndk-api', '21', '--private', '/home/jsnieg/projects/Spider/.buildozer/android/app', '--permission', 'INTERNET', '--permission', 'ACCESS_WIFI_STATE', '--permission', 'CHANGE_WIFI_STATE', '--permission', 'ACCESS_NETWORK_STATE', '--permission', 'ACCESS_FINE_LOCATION', '--permission', 'ACCESS_BACKGROUND_LOCATION', '--permission', 'BLUETOOTH', '--permission', 'BLUETOOTH_ADMIN', '--permission', 'BLUETOOTH_SCAN', '--permission', 'BLUETOOTH_CONNECT', '--permission', 'WAKE_LOCK', '--android-entrypoint', 'org.kivy.android.PythonActivity', '--android-apptheme', '@android:style/Theme.NoTitleBar', '--add-jar', '/home/jsnieg/projects/Spider/knectIQ/libs/kiqmobile-sources.jar', '--presplash', '/home/jsnieg/projects/Spider/assets/logos/SplashScreen.png', '--icon', '/home/jsnieg/projects/Spider/assets/logos/Icon.png', '--orientation', 'portrait', '--window', '--wakelock', '--enable-androidx', '--copy-libs', '--add-source', '/home/jsnieg/projects/Spider/knectIQ/libs/kiqmobile-sources.jar', '--add-aar', '/home/jsnieg/projects/Spider/knectIQ/libs/kiqmobile.aar', '--arch', 'arm64-v8a', '--arch', 'armeabi-v7a', '--color=always', '--storage-dir=/home/jsnieg/projects/Spider/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']
    # ENVIRONMENT:
    # SHELL = '/bin/bash'
    # WSL2_GUI_APPS_ENABLED = '1'
    # CONDA_EXE = '/home/jsnieg/anaconda3/bin/conda'
    # _CE_M = ''
    # WSL_DISTRO_NAME = 'Ubuntu-20.04'
    # WT_SESSION = 'ac0529a6-4238-44d5-b4aa-65e29ffb0b16'
    # JAVA_HOME = '/home/jsnieg/anaconda3/envs/spider_env/lib/jvm'
    # JAVA_LD_LIBRARY_PATH = '/home/jsnieg/anaconda3/envs/spider_env/lib/jvm/lib/server'
    # HOMEBREW_PREFIX = '/home/linuxbrew/.linuxbrew'
    # NAME = 'DevVDI-Core-017'
    # PWD = '/home/jsnieg/projects/Spider'
    # GSETTINGS_SCHEMA_DIR = '/home/jsnieg/anaconda3/envs/spider_env/share/glib-2.0/schemas'
    # LOGNAME = 'jsnieg'
    # CONDA_PREFIX = '/home/jsnieg/anaconda3/envs/spider_env'
    # GSETTINGS_SCHEMA_DIR_CONDA_BACKUP = ''
    # MOTD_SHOWN = 'update-motd'
    # HOME = '/home/jsnieg'
    # LANG = 'C.UTF-8'
    # WSL_INTEROP = '/run/WSL/2059922_interop'
    # LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:eek:r=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:eek:w=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'
    # WAYLAND_DISPLAY = 'wayland-0'
    # CONDA_PROMPT_MODIFIER = '(spider_env) '
    # INFOPATH = '/home/linuxbrew/.linuxbrew/share/info:'
    # LESSCLOSE = '/usr/bin/lesspipe %s %s'
    # TERM = 'xterm-256color'
    # _CE_CONDA = ''
    # LESSOPEN = '| /usr/bin/lesspipe %s'
    # USER = 'jsnieg'
    # HOMEBREW_CELLAR = '/home/linuxbrew/.linuxbrew/Cellar'
    # CONDA_SHLVL = '3'
    # DISPLAY = ':0'
    # SHLVL = '1'
    # HOMEBREW_REPOSITORY = '/home/linuxbrew/.linuxbrew/Homebrew'
    # CONDA_PYTHON_EXE = '/home/jsnieg/anaconda3/bin/python'
    # XDG_RUNTIME_DIR = '/run/user/1000/'
    # CONDA_DEFAULT_ENV = 'spider_env'
    # WSLENV = 'WT_SESSION::WT_PROFILE_ID'
    # XDG_DATA_DIRS = '/usr/local/share:/usr/share:/var/lib/snapd/desktop'
    # PATH = ('/home/jsnieg/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/jsnieg/.local/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/jsnieg/anaconda3/envs/spider_env/bin:/home/jsnieg/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program '
    'Files/GitHub CLI:/mnt/c/Program '
    'Files/Docker/Docker/resources/bin:/mnt/c/Users/jsnieg/scoop/shims:/mnt/c/Users/jsnieg/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/jsnieg/AppData/Local/Programs/Microsoft '
    'VS '
    'Code/bin:/mnt/c/Users/jsnieg/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/jsnieg/AppData/Local/Programs/Git/cmd:/mnt/c/Program '
    'Files/Git/cmd:/mnt/c/Users/jsnieg/AppData/Local/Programs/Git/cmd:/mnt/c/Users/jsnieg/AppData/Local/Android/Sdk/platform-tools:/mnt/c/users/jsnieg/.local/bin:/snap/bin:/home/jsnieg/.local/bin')
    # DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus'
    # HOSTTYPE = 'x86_64'
    # CONDA_PREFIX_1 = '/home/jsnieg/anaconda3'
    # CONDA_PREFIX_2 = '/home/jsnieg/anaconda3/envs/knectiq'
    # PULSE_SERVER = 'unix:/mnt/wslg/PulseServer'
    # WT_PROFILE_ID = '{4dd1e689-b517-5f39-947d-78e8a8bdf958}'
    # OLDPWD = '/home/jsnieg/projects'
    # _ = '/home/jsnieg/anaconda3/envs/spider_env/bin/buildozer'
    # PACKAGES_PATH = '/home/jsnieg/.buildozer/android/packages'
    # ANDROIDSDK = '/home/jsnieg/.buildozer/android/platform/android-sdk'
    # ANDROIDNDK = '/home/jsnieg/.buildozer/android/platform/android-ndk-r25b'
    # ANDROIDAPI = '31'
    # ANDROIDMINAPI = '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


    buildozer.spec (fraction):

    # (list) List of Java .jar files to add to the libs so that pyjnius can access
    # their classes. Don't add jars that you do not need, since extra jars can slow
    # down the build process. Allows wildcards matching, for example:
    # OUYA-ODK/libs/*.jar
    #android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
    android.add_jars = knectIQ/libs/kiqmobile-sources.jar

    # (list) List of Java files to add to the android project (can be java or a
    # directory containing the files)
    #android.add_src =
    android.add_src = knectIQ/libs/kiqmobile-sources.jar

    # (list) Android AAR archives to add
    #android.add_aars =
    android.add_aars = knectIQ/libs/kiqmobile.aar


    I will add whole buildozer.spec if required.

    Continue reading...

Compartilhe esta Página