File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/purushottam2/.local/lib/python3.8/site-packages/sh.py", line 1637, in wrap
fn(*rgs, **kwargs)
File "/home/purushottam2/.local/lib/python3.8/site-packages/sh.py", line 2561, in background_thread
handle_exit_code(exit_code)
File "/home/purushottam2/.local/lib/python3.8/site-packages/sh.py", line 2265, in fn
return self.command.handle_command_exit_code(exit_code)
File "/home/purushottam2/.local/lib/python3.8/site-packages/sh.py", line 865, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/purushottam2/Desktop/any_where/AW/aw/.buildozer/android/platform/build-arm64-v8a/dists/cameraxf__arm64-v8a/gradlew assembleDebug
STDOUT:
Starting a Gradle Daemon, 5 busy and 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
> Task :mergeExtDexDebug
AGPBI: {"kind":"error","text":"Invoke-customs are only supported starting with Android O (--min-api 26)","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"error","text":"Invoke-customs are only supported starting with Android O (--min-api 26)","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"error","text":"Static interface methods are only supported starting with Android N (--min-api 24): androidx.camera.camera2.internal.compat.CameraManagerCompat$CameraManagerCompatImpl androidx.camera.camera2.internal.compat.CameraManagerCompat$CameraManagerCompatImpl.from(android.content.Context, android.os.Handler)","sources":[{}],"tool":"D8"}
AGPBI: {"kind":"error","text":"Default interface methods are only supported starting with Android N (--min-api 24): void androidx.camera.core.impl.CameraCaptureResult.populateExifData(androidx.camera.core.impl.utils.ExifData$Builder)","sources":[{}],"tool":"D8"}
> Task :mergeExtDexDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mergeExtDexDebug'.
> Could not resolve all files for configuration ':debugRuntimeClasspath'.
> Failed to transform camera-camera2-1.0.0.aar (androidx.camera:camera-camera2:1.0.0) to match attributes {artifactType=android-dex, dexing-enable-desugaring=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /home/purushottam2/.gradle/caches/transforms-2/files-2.1/368b8804cddb4c03f326d00a7807777e/camera-camera2-1.0.0/jars/classes.jar.
> Error while dexing.
> Failed to transform camera-view-1.0.0-alpha25.aar (androidx.camera:camera-view:1.0.0-alpha25) to match attributes {artifactType=android-dex, dexing-enable-desugaring=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /home/purushottam2/.gradle/caches/transforms-2/files-2.1/b7d398283465a35173d9394c17e4bde9/camera-view-1.0.0-alpha25/jars/classes.jar.
> Error while dexing.
The dependency contains Java 8 bytecode. Please enable desugaring by adding the following to build.gradle
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
> Failed to transform camera-lifecycle-1.0.0.aar (androidx.camera:camera-lifecycle:1.0.0) to match attributes {artifactType=android-dex, dexing-enable-desugaring=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /home/purushottam2/.gradle/caches/transforms-2/files-2.1/67a9381a8af2061a0a068593a74fcd39/camera-lifecycle-1.0.0/jars/classes.jar.
> Error while dexing.
The dependency contains Java 8 bytecode. Please enable desugaring by adding the following to build.gradle
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
> Failed to transform camera-core-1.0.0.aar (androidx.camera:camera-core:1.0.0) to match attributes {artifactType=android-dex, dexing-enable-desugaring=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /home/purushottam2/.gradle/caches/transforms-2/files-2.1/6e38b5c1f86a708fc0b0364161eb73c4/camera-core-1.0.0/jars/classes.jar.
> Error while dexing.
* 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.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
BUILD FAILED in 1m 28s
13 actionable tasks: 13 executed
STDERR:
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing.
Applying Java source code patches...
Applying patch: src/patches/SDLActivity.java.patch
[INFO]: STDOUT (last 20 lines of 98):
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
BUILD FAILED in 1m 28s
13 actionable tasks: 13 executed
[INFO]: STDERR:
[INFO]: ENV:
export LESSOPEN='| /usr/bin/lesspipe %s'
export LANGUAGE='en_IN:en'
export USER='purushottam2'
export SSH_AGENT_PID='1658'
export XDG_SESSION_TYPE='x11'
export SHLVL='1'
export HOME='/home/purushottam2'
export OLDPWD='/home/purushottam2/Desktop/any_where/AW'
export DESKTOP_SESSION='ubuntu'
export GNOME_SHELL_SESSION_MODE='ubuntu'
export GTK_MODULES='gail:atk-bridge'
export PS1='(AW) \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
export MANAGERPID='1465'
export ANDROIDMINAPI='21'
export DBUS_STARTER_BUS_TYPE='session'
export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus,guid=690d793cf2d42a82094c5d9c61364406'
export COLORTERM='truecolor'
export MANDATORY_PATH='/usr/share/gconf/ubuntu.mandatory.path'
export IM_CONFIG_PHASE='1'
export LOGNAME='purushottam2'
export JOURNAL_STREAM='8:35747'
export _='/home/purushottam2/.local/bin/buildozer'
export ANDROIDAPI='30'
export XDG_SESSION_CLASS='user'
export DEFAULTS_PATH='/usr/share/gconf/ubuntu.default.path'
export USERNAME='purushottam2'
export TERM='xterm-256color'
export GNOME_DESKTOP_SESSION_ID='this-is-deprecated'
export ANDROIDNDK='/home/purushottam2/.buildozer/android/platform/android-ndk-r19c'
export WINDOWPATH='2'
export PATH='/home/purushottam2/.buildozer/android/platform/android-ndk-r19c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86/bin/:/home/purushottam2/.buildozer/android/platform/android-ndk-r19c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/:/home/purushottam2/.buildozer/android/platform/android-ndk-r19c:/home/purushottam2/.buildozer/android/platform/android-sdk/tools:/home/purushottam2/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/purushottam2/Desktop/any where/AW/bin:/home/purushottam2/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
export SESSION_MANAGER='local/purushottam2-HP-Laptop-15-bs1xx:@/tmp/.ICE-unix/1756,unix/purushottam2-HP-Laptop-15-bs1xx:/tmp/.ICE-unix/1756'
export INVOCATION_ID='4d1b0e2321df472b82e11d3ff56d6497'
export XDG_MENU_PREFIX='gnome-'
export GNOME_TERMINAL_SCREEN='/org/gnome/Terminal/screen/9a255a0b_d60e_4567_8e44_8ec1e77e27ce'
export XDG_RUNTIME_DIR='/run/user/1000'
export DISPLAY=':1'
export LANG='en_IN'
export XDG_CURRENT_DESKTOP='ubuntu:GNOME'
export ANDROIDSDK='/home/purushottam2/.buildozer/android/platform/android-sdk'
export XMODIFIERS='@im=ibus'
export XDG_SESSION_DESKTOP='ubuntu'
export XAUTHORITY='/run/user/1000/gdm/Xauthority'
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:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=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 GNOME_TERMINAL_SERVICE=':1.117'
export SSH_AUTH_SOCK='/run/user/1000/keyring/ssh'
export SHELL='/bin/bash'
export QT_ACCESSIBILITY='1'
export GDMSESSION='ubuntu'
export PACKAGES_PATH='/home/purushottam2/.buildozer/android/packages'
export LESSCLOSE='/usr/bin/lesspipe %s %s'
export GPG_AGENT_INFO='/run/user/1000/gnupg/S.gpg-agent:0:1'
export VIRTUAL_ENV='/home/purushottam2/Desktop/any where/AW'
export QT_IM_MODULE='ibus'
export PWD='/home/purushottam2/Desktop/any_where/AW/aw/.buildozer/android/platform/python-for-android'
export XDG_CONFIG_DIRS='/etc/xdg/xdg-ubuntu:/etc/xdg'
export DBUS_STARTER_ADDRESS='unix:path=/run/user/1000/bus,guid=690d793cf2d42a82094c5d9c61364406'
export XDG_DATA_DIRS='/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
export VTE_VERSION='6003'
export ANDROID_NDK_HOME='/home/purushottam2/.buildozer/android/platform/android-ndk-r19c'
export ANDROID_HOME='/home/purushottam2/.buildozer/android/platform/android-sdk'
[INFO]: COMMAND:
cd /home/purushottam2/Desktop/any_where/AW/aw/.buildozer/android/platform/build-arm64-v8a/dists/cameraxf__arm64-v8a && /home/purushottam2/Desktop/any_where/AW/aw/.buildozer/android/platform/build-arm64-v8a/dists/cameraxf__arm64-v8a/gradlew assembleDebug
[WARNING]: ERROR: /home/purushottam2/Desktop/any_where/AW/aw/.buildozer/android/platform/build-arm64-v8a/dists/cameraxf__arm64-v8a/gradlew failed!
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name cameraxf --name CXF --version 0.1 --package org.test.cameraxf --minsdk 21 --ndk-api 21 --private /home/purushottam2/Desktop/any_where/AW/aw/.buildozer/android/app --permission CAMERA --permission RECORD_AUDIO --android-entrypoint org.kivy.android.PythonActivity --android-apptheme @android:style/Theme.NoTitleBar --orientation sensor --window --copy-libs --depend "androidx.camera:camera-core:1.0.0" --depend "androidx.camera:camera-camera2:1.0.0" --depend "androidx.camera:camera-lifecycle:1.0.0" --depend "androidx.camera:camera-view:1.0.0-alpha25" --depend "androidx.lifecycle:lifecycle-process:2.3.0" --arch arm64-v8a --color=always --storage-dir="/home/purushottam2/Desktop/any_where/AW/aw/.buildozer/android/platform/build-arm64-v8a" --ndk-api=21
# ENVIRONMENT:
# SHELL = '/bin/bash'
# SESSION_MANAGER = 'local/purushottam2-HP-Laptop-15-bs1xx:@/tmp/.ICE-unix/1756,unix/purushottam2-HP-Laptop-15-bs1xx:/tmp/.ICE-unix/1756'
# QT_ACCESSIBILITY = '1'
# COLORTERM = 'truecolor'
# XDG_CONFIG_DIRS = '/etc/xdg/xdg-ubuntu:/etc/xdg'
# XDG_MENU_PREFIX = 'gnome-'
# GNOME_DESKTOP_SESSION_ID = 'this-is-deprecated'
# LANGUAGE = 'en_IN:en'
# MANDATORY_PATH = '/usr/share/gconf/ubuntu.mandatory.path'
# GNOME_SHELL_SESSION_MODE = 'ubuntu'
# SSH_AUTH_SOCK = '/run/user/1000/keyring/ssh'
# XMODIFIERS = '@im=ibus'
# DESKTOP_SESSION = 'ubuntu'
# SSH_AGENT_PID = '1658'
# GTK_MODULES = 'gail:atk-bridge'
# DBUS_STARTER_BUS_TYPE = 'session'
# PWD = '/home/purushottam2/Desktop/any_where/AW/aw'
# XDG_SESSION_DESKTOP = 'ubuntu'
# LOGNAME = 'purushottam2'
# XDG_SESSION_TYPE = 'x11'
# GPG_AGENT_INFO = '/run/user/1000/gnupg/S.gpg-agent:0:1'
# XAUTHORITY = '/run/user/1000/gdm/Xauthority'
# WINDOWPATH = '2'
# HOME = '/home/purushottam2'
# USERNAME = 'purushottam2'
# IM_CONFIG_PHASE = '1'
# LANG = 'en_IN'
# 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:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=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:'
# XDG_CURRENT_DESKTOP = 'ubuntu:GNOME'
# VIRTUAL_ENV = '/home/purushottam2/Desktop/any where/AW'
# VTE_VERSION = '6003'
# GNOME_TERMINAL_SCREEN = '/org/gnome/Terminal/screen/9a255a0b_d60e_4567_8e44_8ec1e77e27ce'
# INVOCATION_ID = '4d1b0e2321df472b82e11d3ff56d6497'
# MANAGERPID = '1465'
# LESSCLOSE = '/usr/bin/lesspipe %s %s'
# XDG_SESSION_CLASS = 'user'
# TERM = 'xterm-256color'
# DEFAULTS_PATH = '/usr/share/gconf/ubuntu.default.path'
# LESSOPEN = '| /usr/bin/lesspipe %s'
# USER = 'purushottam2'
# GNOME_TERMINAL_SERVICE = ':1.117'
# DISPLAY = ':1'
# SHLVL = '1'
# QT_IM_MODULE = 'ibus'
# DBUS_STARTER_ADDRESS = 'unix:path=/run/user/1000/bus,guid=690d793cf2d42a82094c5d9c61364406'
# XDG_RUNTIME_DIR = '/run/user/1000'
# PS1 = ('(AW) \\[\\e]0;\\u@\\h: '
'\\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ')
# JOURNAL_STREAM = '8:35747'
# XDG_DATA_DIRS = '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
# PATH = ('/home/purushottam2/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/purushottam2/Desktop/any '
'where/AW/bin:/home/purushottam2/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin')
# GDMSESSION = 'ubuntu'
# DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus,guid=690d793cf2d42a82094c5d9c61364406'
# OLDPWD = '/home/purushottam2/Desktop/any_where/AW'
# _ = '/home/purushottam2/.local/bin/buildozer'
# PACKAGES_PATH = '/home/purushottam2/.buildozer/android/packages'
# ANDROIDSDK = '/home/purushottam2/.buildozer/android/platform/android-sdk'
# ANDROIDNDK = '/home/purushottam2/.buildozer/android/platform/android-ndk-r19c'
# ANDROIDAPI = '30'
# 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