android apk building error

468 views
Skip to first unread message

purushottam yadav

unread,
Jan 9, 2022, 3:25:23 PM1/9/22
to Kivy users support

what is this error related to ?

================error=====================

Compiling '/home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/app/vt.py'...
Compiling '/home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/app/vvt.py'...
[INFO]:    Detected highest available build tools version to be 32.0.0
[DEBUG]:   -> running gradlew assembleDebug
[DEBUG]:           Starting a Gradle Daemon, 5 busy Daemons could not be reused, use --status for details
[DEBUG]:          
[DEBUG]:           > Configure project :
[DEBUG]:           WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
[DEBUG]:           The current default is 'true'.
[DEBUG]:          
[DEBUG]:          
[DEBUG]:           > Task :processDebugManifest
[DEBUG]:           /home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/platform/build-armeabi-v7a/dists/myapp/src/main/AndroidManifest.xml:35:5-81 Warning:
[DEBUG]:                   Element uses-permission#android.permission.WRITE_EXTERNAL_STORAGE at AndroidManifest.xml:35:5-81 duplicated with element declared at AndroidManifest.xml:28:5-81
[DEBUG]:          
[DEBUG]:           > Task :checkDebugDuplicateClasses FAILED
[DEBUG]:          
[DEBUG]:           FAILURE: Build failed with an exception.
[DEBUG]:          
[DEBUG]:           * What went wrong:
[DEBUG]:           Execution failed for task ':checkDebugDuplicateClasses'.
[DEBUG]:           > 1 exception was raised by workers:
[DEBUG]:             java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.os.IResultReceiver found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:             Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
[DEBUG]:          
[DEBUG]:             Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
[DEBUG]:          
[DEBUG]:          
[DEBUG]:           * Try:
[DEBUG]:           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.
[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 7.0.
[DEBUG]:           Use '--warning-mode all' to show the individual deprecation warnings.
[DEBUG]:           See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings
[DEBUG]:          
[DEBUG]:           BUILD FAILED in 47s
[DEBUG]:           12 actionable tasks: 12 executed

Exception in thread background thread for pid 100351:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/purushottam2/Desktop/project/tttt/lib/python3.7/site-packages/sh.py", line 1637, in wrap
    fn(*rgs, **kwargs)
  File "/home/purushottam2/Desktop/project/tttt/lib/python3.7/site-packages/sh.py", line 2561, in background_thread
    handle_exit_code(exit_code)
  File "/home/purushottam2/Desktop/project/tttt/lib/python3.7/site-packages/sh.py", line 2265, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/purushottam2/Desktop/project/tttt/lib/python3.7/site-packages/sh.py", line 865, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/platform/build-armeabi-v7a/dists/myapp/gradlew assembleDebug

  STDOUT:
Starting a Gradle Daemon, 5 busy Daemons could not be reused, use --status for details

> Configure project :
WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
The current default is 'true'.


> Task :processDebugManifest
/home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/platform/build-armeabi-v7a/dists/myapp/src/main/AndroidManifest.xml:35:5-81 Warning:
        Element uses-permission#android.permission.WRITE_EXTERNAL_STORAGE at AndroidManifest.xml:35:5-81 duplicated with element declared at AndroidManifest.xml:28:5-81

> Task :checkDebugDuplicateClasses FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':checkDebugDuplicateClasses'.
> 1 exception was raised by workers:
  java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.os.IResultReceiver found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
  Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
 
  Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.


* 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 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 47s
12 actionable tasks: 12 executed


  STDERR:


[INFO]:    STDOUT (last 20 lines of 75):

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

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.        
See https://docs.gradle.org/6.4.1/userguide/command_line_interface.html#sec:command_line_warnings        
       
BUILD FAILED in 47s        
12 actionable tasks: 12 executed        

[INFO]:    STDERR:

[INFO]:    ENV:
export LESSOPEN='| /usr/bin/lesspipe %s'
export LANGUAGE='en_IN:en'
export USER='purushottam2'
export SSH_AGENT_PID='1730'
export XDG_SESSION_TYPE='x11'
export SHLVL='1'
export HOME='/home/purushottam2'
export OLDPWD='/home/purushottam2/Desktop/project/tttt'
export DESKTOP_SESSION='ubuntu'
export GNOME_SHELL_SESSION_MODE='ubuntu'
export GTK_MODULES='gail:atk-bridge'
export PS1='(tttt) \[\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='1543'
export ANDROIDMINAPI='21'
export DBUS_STARTER_BUS_TYPE='session'
export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus,guid=0c95e0259e2e5bb96331a1eb61db1617'
export COLORTERM='truecolor'
export MANDATORY_PATH='/usr/share/gconf/ubuntu.mandatory.path'
export IM_CONFIG_PHASE='1'
export LOGNAME='purushottam2'
export JOURNAL_STREAM='8:45216'
export _='/home/purushottam2/Desktop/project/tttt/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-r19b'
export WINDOWPATH='2'
export PATH='/home/purushottam2/.buildozer/android/platform/android-ndk-r19b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/:/home/purushottam2/.buildozer/android/platform/android-ndk-r19b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/:/home/purushottam2/.buildozer/android/platform/android-ndk-r19b:/home/purushottam2/.buildozer/android/platform/android-sdk/tools:/home/purushottam2/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/purushottam2/Desktop/project/tttt/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/1827,unix/purushottam2-HP-Laptop-15-bs1xx:/tmp/.ICE-unix/1827'
export INVOCATION_ID='e2533eac27d840de80530deddd43b696'
export XDG_MENU_PREFIX='gnome-'
export GNOME_TERMINAL_SCREEN='/org/gnome/Terminal/screen/549cc3a0_0e9d_4611_ba19_d6536506fab1'
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.89'
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/project/tttt'
export QT_IM_MODULE='ibus'
export PWD='/home/purushottam2/Desktop/project/tttt/yyy/.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=0c95e0259e2e5bb96331a1eb61db1617'
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-r19b'
export ANDROID_HOME='/home/purushottam2/.buildozer/android/platform/android-sdk'

[INFO]:    COMMAND:
cd /home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/platform/build-armeabi-v7a/dists/myapp && /home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/platform/build-armeabi-v7a/dists/myapp/gradlew assembleDebug

[WARNING]: ERROR: /home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/platform/build-armeabi-v7a/dists/myapp/gradlew failed!
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing.
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/purushottam2/Desktop/project/tttt/bin/python3.7 -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name myapp --name kApplication --version 0.1 --package org.test.myapp --minsdk 21 --ndk-api 21 --private /home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/app --permission INTERNET --permission WRITE_EXTERNAL_STORAGE --permission READ_EXTERNAL_STORAGE --permission ACCESS_NETWORK_STATE --permission ACCESS_COARSE_LOCATION --permission ACCESS_FINE_LOCATION --permission CAMERA --permission RECORD_AUDIO --android-entrypoint org.kivy.android.PythonActivity --android-apptheme @android:style/Theme.NoTitleBar --meta-data com.google.android.gms.ads.APPLICATION_ID=ca-app-pub-3940256099942544~3347511713 --orientation sensor --window --copy-libs --depend 'com.google.firebase:firebase-ads:10.2.0' --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 armeabi-v7a --color=always --storage-dir="/home/purushottam2/Desktop/project/tttt/yyy/.buildozer/android/platform/build-armeabi-v7a" --ndk-api=21
# ENVIRONMENT:
#     SHELL = '/bin/bash'
#     SESSION_MANAGER = 'local/purushottam2-HP-Laptop-15-bs1xx:@/tmp/.ICE-unix/1827,unix/purushottam2-HP-Laptop-15-bs1xx:/tmp/.ICE-unix/1827'
#     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 = '1730'
#     GTK_MODULES = 'gail:atk-bridge'
#     DBUS_STARTER_BUS_TYPE = 'session'
#     PWD = '/home/purushottam2/Desktop/project/tttt/yyy'
#     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/project/tttt'
#     VTE_VERSION = '6003'
#     GNOME_TERMINAL_SCREEN = '/org/gnome/Terminal/screen/549cc3a0_0e9d_4611_ba19_d6536506fab1'
#     INVOCATION_ID = 'e2533eac27d840de80530deddd43b696'
#     MANAGERPID = '1543'
#     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.89'
#     DISPLAY = ':1'
#     SHLVL = '1'
#     QT_IM_MODULE = 'ibus'
#     DBUS_STARTER_ADDRESS = 'unix:path=/run/user/1000/bus,guid=0c95e0259e2e5bb96331a1eb61db1617'
#     XDG_RUNTIME_DIR = '/run/user/1000'
#     PS1 = ('(tttt) \\[\\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:45216'
#     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/project/tttt/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=0c95e0259e2e5bb96331a1eb61db1617'
#     OLDPWD = '/home/purushottam2/Desktop/project/tttt'
#     _ = '/home/purushottam2/Desktop/project/tttt/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-r19b'
#     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

Python 4 Fun

unread,
Jan 9, 2022, 4:29:47 PM1/9/22
to Kivy users support

Robert

unread,
Jan 9, 2022, 6:12:50 PM1/9/22
to Kivy users support
> Element uses-permission#android.permission.WRITE_EXTERNAL_STORAGE at AndroidManifest.xml:35:5-81 duplicated with element declared at AndroidManifest.xml:28:5-81

This occurs because WRITE_EXTERNAL_STORAGE is declared in buildozer.spec and it doesn't need to be because p4a always inserts it. I think this is a warning not an error, you can probably ignore it.


>   java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)
>  Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.3.2-runtime.jar (androidx.core:core:1.3.2) and support-v4-24.0.0-runtime.jar (com.android.support:support-v4:24.0.0)

It appears gradle is trying to pull in the java android and androidx support libs.  This is possibly(?) related to the buildozer.spec setting, gradle dependencies, androidx, or api version. If you are including some 3rd party package re-read its install instructions.
Reply all
Reply to author
Forward
0 new messages