aab for release

156 views
Skip to first unread message

purushottam yadav

unread,
Aug 21, 2022, 3:20:26 AM8/21/22
to Kivy users support
 I am using https://gist.github.com/Guhan-SenSam/fa4ed215ef3419e7b3154de5cb71f641 to Creating a Release AAB  . 

In last step , he said  " Make sure u configured the spec file so that releases are made in the .aab format. "   , did not say how to do it .

1 ) how to configure to get aab ? 
2 ) if i want to update the app , how to signin again for next version ?

Robert

unread,
Aug 21, 2022, 12:52:05 PM8/21/22
to Kivy users support
2) You must have the same key as use for the first version in the store.

purushottam yadav

unread,
Aug 22, 2022, 4:18:56 AM8/22/22
to Kivy users support
i got this first  error , so , i changed  package.domain = 'org.release.myappp' and   i  got new error  below .
how to deal this error ?

[INFO]:    myappp has compatible recipes, using this one
#
# ERROR: Trying to release a package that starts with org.test
#
# The package.domain org.test is, as the name intented, a test.
# Once you published an application with org.test,
# you cannot change it, it will be part of the identifier
# for Google Play / App Store / etc.
#
# So change package.domain to anything else.
#
# If you messed up before, set the environment variable to force the build:
# export BUILDOZER_ALLOW_ORG_TEST_DOMAIN=1



=========================  new error ==========================================


[DEBUG]:   -> running gradlew bundleRelease
[DEBUG]:       Starting a Gradle Daemon (subsequent builds will be faster)
[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 :processReleaseGoogleServices FAILED
[DEBUG]:      
[DEBUG]:       FAILURE: Build failed with an exception.
[DEBUG]:      
[DEBUG]:       * What went wrong:
[DEBUG]:       Execution failed for task ':processReleaseGoogleServices'.
[DEBUG]:       > No matching client found for package name 'org.release.myappp'
[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.9.1/userguide/command_line_interface.html#sec:command_line_warnings
[DEBUG]:      
[DEBUG]:       BUILD FAILED in 29s
[DEBUG]:       2 actionable tasks: 2 executed

Exception in thread background thread for pid 177038:
Traceback (most recent call last):
  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/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 1683, in wrap
    fn(*rgs, **kwargs)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 2662, in background_thread
    handle_exit_code(exit_code)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 2349, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 905, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/dists/myappp/gradlew bundleRelease

  STDOUT:
Starting a Gradle Daemon (subsequent builds will be faster)

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


> Task :processReleaseGoogleServices FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processReleaseGoogleServices'.
> No matching client found for package name 'org.release.myappp'

* 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.9.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 29s
2 actionable tasks: 2 executed


  STDERR:

[INFO]:    STDOUT (last 20 lines of 35):
    FAILURE: Build failed with an exception.    
   
* What went wrong:    
Execution failed for task ':processReleaseGoogleServices'.    
> No matching client found for package name 'org.release.myappp'    
   
* 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.9.1/userguide/command_line_interface.html#sec:command_line_warnings    
   
BUILD FAILED in 29s    
2 actionable tasks: 2 executed    

[INFO]:    STDERR:
   
[INFO]:    ENV:
export LESSOPEN='| /usr/bin/lesspipe %s'
export LANGUAGE='en_IN:en'
export P4A_RELEASE_KEYSTORE='/home/purushottamdev/keystores/mykeystore.keystore'
export USER='purushottamdev'
export SSH_AGENT_PID='2708'
export XDG_SESSION_TYPE='x11'
export SHLVL='1'
export P4A_RELEASE_KEYALIAS='INETWORK'
export HOME='/home/purushottamdev'
export OLDPWD='/home/purushottamdev/directory_env/f'
export DESKTOP_SESSION='ubuntu'
export GNOME_SHELL_SESSION_MODE='ubuntu'
export GTK_MODULES='gail:atk-bridge'
export PS1='(f) \[\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='2536'
export ANDROIDMINAPI='26'
export DBUS_STARTER_BUS_TYPE='session'
export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1001/bus,guid=cd0b8e64a9a4b5f73c594f1363030b0b'
export COLORTERM='truecolor'
export MANDATORY_PATH='/usr/share/gconf/ubuntu.mandatory.path'
export IM_CONFIG_PHASE='1'
export LOGNAME='purushottamdev'
export JOURNAL_STREAM='8:94358'
export _='/home/purushottamdev/directory_env/f/bin/buildozer'
export ANDROIDAPI='33'
export P4A_RELEASE_KEYSTORE_PASSWD='VASUDEV'
export XDG_SESSION_CLASS='user'
export DEFAULTS_PATH='/usr/share/gconf/ubuntu.default.path'
export USERNAME='purushottamdev'
export TERM='xterm-256color'
export GNOME_DESKTOP_SESSION_ID='this-is-deprecated'
export ANDROIDNDK='/home/purushottamdev/.buildozer/android/platform/android-ndk-r19c'
export WINDOWPATH='2'
export PATH='/home/purushottamdev/.buildozer/android/platform/android-ndk-r19c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86/bin/:/home/purushottamdev/.buildozer/android/platform/android-ndk-r19c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/:/home/purushottamdev/.buildozer/android/platform/android-ndk-r19c:/home/purushottamdev/.buildozer/android/platform/android-sdk/tools:/home/purushottamdev/.buildozer/android/platform/android-ndk-r19c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/:/home/purushottamdev/.buildozer/android/platform/android-ndk-r19c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/:/home/purushottamdev/.buildozer/android/platform/android-ndk-r19c:/home/purushottamdev/.buildozer/android/platform/android-sdk/tools:/home/purushottamdev/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/purushottamdev/directory_env/f/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/2781,unix/purushottam2-HP-Laptop-15-bs1xx:/tmp/.ICE-unix/2781'
export P4A_RELEASE_KEYALIAS_PASSWD='VASUDEV'
export INVOCATION_ID='603d73dc9f4a448b907e4c16740c019a'
export XDG_MENU_PREFIX='gnome-'
export GNOME_TERMINAL_SCREEN='/org/gnome/Terminal/screen/96a8e032_e30a_4715_b46f_c022c858aa3b'
export XDG_RUNTIME_DIR='/run/user/1001'
export DISPLAY=':1'
export LANG='en_IN'
export XDG_CURRENT_DESKTOP='ubuntu:GNOME'
export ANDROIDSDK='/home/purushottamdev/.buildozer/android/platform/android-sdk'
export XMODIFIERS='@im=ibus'
export XDG_SESSION_DESKTOP='ubuntu'
export XAUTHORITY='/run/user/1001/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.169'
export SSH_AUTH_SOCK='/run/user/1001/keyring/ssh'
export SHELL='/bin/bash'
export QT_ACCESSIBILITY='1'
export GDMSESSION='ubuntu'
export PACKAGES_PATH='/home/purushottamdev/.buildozer/android/packages'
export LESSCLOSE='/usr/bin/lesspipe %s %s'
export GPG_AGENT_INFO='/run/user/1001/gnupg/S.gpg-agent:0:1'
export VIRTUAL_ENV='/home/purushottamdev/directory_env/f'
export QT_IM_MODULE='ibus'
export PWD='/home/purushottamdev/python-for-android'
export XDG_CONFIG_DIRS='/etc/xdg/xdg-ubuntu:/etc/xdg'
export DBUS_STARTER_ADDRESS='unix:path=/run/user/1001/bus,guid=cd0b8e64a9a4b5f73c594f1363030b0b'
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/purushottamdev/.buildozer/android/platform/android-ndk-r19c'
export ANDROID_HOME='/home/purushottamdev/.buildozer/android/platform/android-sdk'

[INFO]:    COMMAND:
cd /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/dists/myappp && /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/dists/myappp/gradlew bundleRelease

[WARNING]: ERROR: /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/dists/myappp/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/purushottamdev/directory_env/f/bin/python3 -m pythonforandroid.toolchain aab --bootstrap sdl2 --dist_name myappp --name Networks --version 2 --package org.release.myappp --minsdk 26 --ndk-api 26 --private /home/purushottamdev/directory_env/f/ff2/.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 --orientation portrait --window --enable-androidx --release --sign --copy-libs --arch armeabi-v7a --arch arm64-v8a --color=always --storage-dir="/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a" --ndk-api=26 --ignore-setup-py --debug
# ENVIRONMENT:
#     SHELL = '/bin/bash'
#     SESSION_MANAGER = 'local/purushottam2-HP-Laptop-15-bs1xx:@/tmp/.ICE-unix/2781,unix/purushottam2-HP-Laptop-15-bs1xx:/tmp/.ICE-unix/2781'
#     QT_ACCESSIBILITY = '1'
#     P4A_RELEASE_KEYSTORE_PASSWD = 'VASUDEV'
#     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/1001/keyring/ssh'
#     P4A_RELEASE_KEYALIAS = 'INETWORK'
#     XMODIFIERS = '@im=ibus'
#     DESKTOP_SESSION = 'ubuntu'
#     SSH_AGENT_PID = '2708'
#     GTK_MODULES = 'gail:atk-bridge'
#     DBUS_STARTER_BUS_TYPE = 'session'
#     PWD = '/home/purushottamdev/directory_env/f/ff2'
#     XDG_SESSION_DESKTOP = 'ubuntu'
#     LOGNAME = 'purushottamdev'
#     XDG_SESSION_TYPE = 'x11'
#     GPG_AGENT_INFO = '/run/user/1001/gnupg/S.gpg-agent:0:1'
#     P4A_RELEASE_KEYALIAS_PASSWD = 'VASUDEV'
#     XAUTHORITY = '/run/user/1001/gdm/Xauthority'
#     WINDOWPATH = '2'
#     HOME = '/home/purushottamdev'
#     USERNAME = 'purushottamdev'
#     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/purushottamdev/directory_env/f'
#     VTE_VERSION = '6003'
#     GNOME_TERMINAL_SCREEN = '/org/gnome/Terminal/screen/96a8e032_e30a_4715_b46f_c022c858aa3b'
#     INVOCATION_ID = '603d73dc9f4a448b907e4c16740c019a'
#     MANAGERPID = '2536'
#     LESSCLOSE = '/usr/bin/lesspipe %s %s'
#     XDG_SESSION_CLASS = 'user'
#     TERM = 'xterm-256color'
#     DEFAULTS_PATH = '/usr/share/gconf/ubuntu.default.path'
#     P4A_RELEASE_KEYSTORE = '/home/purushottamdev/keystores/mykeystore.keystore'
#     LESSOPEN = '| /usr/bin/lesspipe %s'
#     USER = 'purushottamdev'
#     GNOME_TERMINAL_SERVICE = ':1.169'
#     DISPLAY = ':1'
#     SHLVL = '1'
#     QT_IM_MODULE = 'ibus'
#     DBUS_STARTER_ADDRESS = 'unix:path=/run/user/1001/bus,guid=cd0b8e64a9a4b5f73c594f1363030b0b'
#     XDG_RUNTIME_DIR = '/run/user/1001'
#     PS1 = ('(f) \\[\\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:94358'
#     XDG_DATA_DIRS = '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
#     PATH = '/home/purushottamdev/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/purushottamdev/directory_env/f/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/1001/bus,guid=cd0b8e64a9a4b5f73c594f1363030b0b'
#     OLDPWD = '/home/purushottamdev/directory_env/f'
#     _ = '/home/purushottamdev/directory_env/f/bin/buildozer'
#     PACKAGES_PATH = '/home/purushottamdev/.buildozer/android/packages'
#     ANDROIDSDK = '/home/purushottamdev/.buildozer/android/platform/android-sdk'
#     ANDROIDNDK = '/home/purushottamdev/.buildozer/android/platform/android-ndk-r19c'
#     ANDROIDAPI = '33'
#     ANDROIDMINAPI = '26'
#
# 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

purushottam yadav

unread,
Aug 22, 2022, 6:49:35 AM8/22/22
to Kivy users support
Again i did buildozer appclean  and  buildozer android release  , i got below error . 


Compiling '/home/purushottamdev/directory_env/f/ff2/.buildozer/android/app/toast.py'...
[INFO]:    Detected highest available build tools version to be 33.0.0

[DEBUG]:   -> running gradlew bundleRelease
[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 :processReleaseGoogleServices FAILED
[DEBUG]:      
[DEBUG]:       FAILURE: Build failed with an exception.
[DEBUG]:      
[DEBUG]:       * What went wrong:
[DEBUG]:       Execution failed for task ':processReleaseGoogleServices'.
[DEBUG]:       > No matching client found for package name 'org.release.myappp'
[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.9.1/userguide/command_line_interface.html#sec:command_line_warnings
[DEBUG]:      
[DEBUG]:       BUILD FAILED in 7s
[DEBUG]:       2 actionable tasks: 1 executed, 1 up-to-date

Exception in thread background thread for pid 333266:

Traceback (most recent call last):
  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/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 1683, in wrap
    fn(*rgs, **kwargs)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 2662, in background_thread
    handle_exit_code(exit_code)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 2349, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 905, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/dists/myappp/gradlew bundleRelease

  STDOUT:

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


> Task :processReleaseGoogleServices FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processReleaseGoogleServices'.
> No matching client found for package name 'org.release.myappp'

* 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.9.1/userguide/command_line_interface.html#sec:command_line_warnings

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


  STDERR:

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

    FAILURE: Build failed with an exception.    
   
* What went wrong:    
Execution failed for task ':processReleaseGoogleServices'.    
> No matching client found for package name 'org.release.myappp'    
   
* 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.9.1/userguide/command_line_interface.html#sec:command_line_warnings    
   
BUILD FAILED in 7s    
2 actionable tasks: 1 executed, 1 up-to-date    
Warning: failed to apply patch (exit code 1), assuming it is already applied:  src/patches/SDLActivity.java.patch
# Command failed: /home/purushottamdev/directory_env/f/bin/python3 -m pythonforandroid.toolchain aab --bootstrap sdl2 --dist_name myappp --name Networks --version 0.1 --package org.release.myappp --minsdk 26 --ndk-api 26 --private /home/purushottamdev/directory_env/f/ff2/.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 --orientation portrait --window --enable-androidx --release --sign --copy-libs --arch armeabi-v7a --arch arm64-v8a --color=always --storage-dir="/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a" --ndk-api=26 --ignore-setup-py --debug

Tomek CEDRO

unread,
Aug 22, 2022, 6:55:45 AM8/22/22
to kivy-...@googlegroups.com
[DEBUG]: * What went wrong:
[DEBUG]: Execution failed for task ':processReleaseGoogleServices'.
[DEBUG]: > No matching client found for package name 'org.release.myappp'

That looks like some configuration / cache problem..?

Try cleaning up the build environment:
buildozer appclean
buildozer distclean

Then build the distribution again and see if that helps :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Robert

unread,
Aug 22, 2022, 12:44:31 PM8/22/22
to Kivy users support

purushottam yadav

unread,
Aug 23, 2022, 12:20:12 AM8/23/22
to Kivy users support
I forgot to mention that i was using Buildozer 1.2.0 . i uninstalled it , reinstalledd 1.4 version . 
i made below changes to old spec file 
 
android.api = 33

android.archs = armeabi-v7a, arm64-v8a


After changing buildozer.spec  i used below commands  and  got those errors  , any suggestons  ?  

 

buildozer appclean
buildozer android release   

purushottam yadav

unread,
Aug 23, 2022, 1:54:25 AM8/23/22
to Kivy users support
now i deleted the old spec file and created new one and used below commands and i got a new error this time .  

buildozer distclean
rm -fr ~/.buildozer
buildozer android release


======================  new error   ===================================


[DEBUG]:       /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/jni/application/src/start.c:197:3: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
[DEBUG]:         PyEval_InitThreads();
[DEBUG]:         ^
[DEBUG]:       /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_26/python3/Include/ceval.h:130:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
[DEBUG]:       Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
[DEBUG]:       ^
[DEBUG]:       /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_26/python3/Include/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
[DEBUG]:       #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
[DEBUG]:                                                            ^
[DEBUG]:       1 warning generated.
[DEBUG]:       [arm64-v8a] SharedLibrary  : libmain.so
[DEBUG]:       /home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -Wl,-soname,libmain.so -shared /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/obj/local/arm64-v8a/objs-debug/main/__/__/SDL/src/main/android/SDL_android_main.o /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/obj/local/arm64-v8a/objs-debug/main/start.o -latomic /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/obj/local/arm64-v8a/libSDL2.so -target aarch64-none-linux-android26 -no-canonical-prefixes   -Wl,--build-id=sha1 -Wl,--no-rosegment  -L/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_26/python3/android-build -stdlib=libstdc++ -Wl,--no-undefined -Wl,--fatal-warnings -lGLESv1_CM -lGLESv2 -llog -lpython3.9 -lc -lm -o /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/obj/local/arm64-v8a/libmain.so
[DEBUG]:       [arm64-v8a] Install        : libmain.so => libs/arm64-v8a/libmain.so
[DEBUG]:       install -p /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/obj/local/arm64-v8a/libmain.so /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2/libs/arm64-v8a/libmain.so
[INFO]:    <- directory context /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android
[INFO]:    Building ffmpeg for arm64-v8a
[INFO]:    -> directory context /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_26/ffmpeg
[DEBUG]:   -> running configure --disable-everything --enable-openssl --enable-nonfree --enable-protocol=https,tls_openssl --enable-gpl --enable-libx264 --enable-libshine --enable-libvpx --enable-parsers --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --disable-symver --disable-programs --disable-doc --enable-filter=aresample,resample,crop,adelay,volume,scale --enable-protocol=file,http,hls --enable-small --enable-hwaccels --enable-pic --disable-static --disable-debug --enable-shared --target-os=android --enable-cross-compile --cross-prefix=aarch64-linux-android26- --arch=aarch64 --strip=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --sysroot=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot --enable-neon --prefix=/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_26/ffmpeg
[DEBUG]:       tput: No value for $TERM and no -T specified
[DEBUG]:       tput: No value for $TERM and no -T specified
[DEBUG]:       aarch64-linux-android26-clang is unable to create an executable file.
[DEBUG]:       C compiler test failed.
[DEBUG]:      
[DEBUG]:       If you think configure made a mistake, make sure you are using the latest
[DEBUG]:       version from Git.  If the latest version fails, report the problem to the
[DEBUG]:       ffmpe...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
[DEBUG]:       Include the log file "ffbuild/config.log" produced by configure as this will help
[DEBUG]:       solve the problem.
Exception in thread background thread for pid 70559:

Traceback (most recent call last):
  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/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 1683, in wrap
    fn(*rgs, **kwargs)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 2662, in background_thread
    handle_exit_code(exit_code)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 2349, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 905, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_26/ffmpeg/configure --disable-everything --enable-openssl --enable-nonfree --enable-protocol=https,tls_openssl --enable-gpl --enable-libx264 --enable-libshine --enable-libvpx --enable-parsers --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --disable-symver --disable-programs --disable-doc --enable-filter=aresample,resample,crop,adelay,volume,scale --enable-protocol=file,http,hls --enable-small --enable-hwaccels --enable-pic --disable-static --disable-debug --enable-shared --target-os=android --enable-cross-compile --cross-prefix=aarch64-linux-android26- --arch=aarch64 --strip=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --sysroot=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot --enable-neon --prefix=/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_26/ffmpeg

  STDOUT:
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
aarch64-linux-android26-clang is unable to create an executable file.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpe...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.


  STDERR:


Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1297, in <module>
    main()
  File "/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
    ToolchainCL()
  File "/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 731, in __init__
    getattr(self, command)(args)
  File "/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 154, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 213, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx,
  File "/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 505, in build_recipes
    recipe.build_arch(arch)
  File "/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/ffmpeg/__init__.py", line 143, in build_arch
    shprint(configure, *flags, _env=env)
  File "/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
    for line in output:
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 953, in next
    self.wait()
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 879, in wait
    self.handle_command_exit_code(exit_code)

  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 905, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_26/ffmpeg/configure --disable-everything --enable-openssl --enable-nonfree --enable-protocol=https,tls_openssl --enable-gpl --enable-libx264 --enable-libshine --enable-libvpx --enable-parsers --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --disable-symver --disable-programs --disable-doc --enable-filter=aresample,resample,crop,adelay,volume,scale --enable-protocol=file,http,hls --enable-small --enable-hwaccels --enable-pic --disable-static --disable-debug --enable-shared --target-os=android --enable-cross-compile --cross-prefix=aarch64-linux-android26- --arch=aarch64 --strip=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --sysroot=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot --enable-neon --prefix=/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_26/ffmpeg

  STDOUT:
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
aarch64-linux-android26-clang is unable to create an executable file.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpe...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.


  STDERR:

# Command failed: /home/purushottamdev/directory_env/f/bin/python3 -m pythonforandroid.toolchain create --dist_name=inetwork --bootstrap=sdl2 --requirements=python3,kivy==2.0.0,ffpyplayer,libshine,libx264,ffpyplayer_codecs,kivymd,sdl2_ttf==2.0.15,thumb_gen,plyer,pyzbar,libzbar,pillow,pyjnius,kivmob,kivy_garden.mapview,requests,ffmpy,urllib3,chardet,idna,infomedia,boto3,botocore,dateutil,jmespath,simplejson,certifi --arch arm64-v8a --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a" --ndk-api=26 --ignore-setup-py --debug

# ENVIRONMENT:
#     SHELL = '/bin/bash'
#     SESSION_MANAGER = 'local/purushottam2-HP-Laptop-15-bs1xx:@/tmp/.ICE-unix/2022,unix/purushottam2-HP-Laptop-15-bs1xx:/tmp/.ICE-unix/2022'

#     QT_ACCESSIBILITY = '1'
#     P4A_RELEASE_KEYSTORE_PASSWD = 'VASUDEV'
#     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/1001/keyring/ssh'
#     P4A_RELEASE_KEYALIAS = 'INETWORK'
#     XMODIFIERS = '@im=ibus'
#     DESKTOP_SESSION = 'ubuntu'
#     SSH_AGENT_PID = '1951'

#     GTK_MODULES = 'gail:atk-bridge'
#     DBUS_STARTER_BUS_TYPE = 'session'
#     PWD = '/home/purushottamdev/directory_env/f/ff2'
#     XDG_SESSION_DESKTOP = 'ubuntu'
#     LOGNAME = 'purushottamdev'
#     XDG_SESSION_TYPE = 'x11'
#     GPG_AGENT_INFO = '/run/user/1001/gnupg/S.gpg-agent:0:1'
#     P4A_RELEASE_KEYALIAS_PASSWD = 'VASUDEV'
#     XAUTHORITY = '/run/user/1001/gdm/Xauthority'
#     WINDOWPATH = '2'
#     HOME = '/home/purushottamdev'
#     USERNAME = 'purushottamdev'
#     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/purushottamdev/directory_env/f'
#     VTE_VERSION = '6003'
#     GNOME_TERMINAL_SCREEN = '/org/gnome/Terminal/screen/74dc2a7e_16fb_48c9_8d7e_2c1af7d6765f'
#     INVOCATION_ID = 'ecc275c50a614fb198de25a01c2818ee'
#     MANAGERPID = '1779'

#     LESSCLOSE = '/usr/bin/lesspipe %s %s'
#     XDG_SESSION_CLASS = 'user'
#     TERM = 'xterm-256color'
#     DEFAULTS_PATH = '/usr/share/gconf/ubuntu.default.path'
#     P4A_RELEASE_KEYSTORE = '/home/purushottamdev/keystores/mykeystore.keystore'
#     LESSOPEN = '| /usr/bin/lesspipe %s'
#     USER = 'purushottamdev'
#     GNOME_TERMINAL_SERVICE = ':1.95'

#     DISPLAY = ':1'
#     SHLVL = '1'
#     QT_IM_MODULE = 'ibus'
#     DBUS_STARTER_ADDRESS = 'unix:path=/run/user/1001/bus,guid=bfedf18e01d422a03781851763044e48'

#     XDG_RUNTIME_DIR = '/run/user/1001'
#     PS1 = ('(f) \\[\\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:48370'

#     XDG_DATA_DIRS = '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
#     PATH = '/home/purushottamdev/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/purushottamdev/directory_env/f/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/1001/bus,guid=bfedf18e01d422a03781851763044e48'

#     OLDPWD = '/home/purushottamdev/directory_env/f'
#     _ = '/home/purushottamdev/directory_env/f/bin/buildozer'
#     PACKAGES_PATH = '/home/purushottamdev/.buildozer/android/packages'
#     ANDROIDSDK = '/home/purushottamdev/.buildozer/android/platform/android-sdk'
#     ANDROIDNDK = '/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b'

#     ANDROIDAPI = '33'
#     ANDROIDMINAPI = '26'
#
# 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

Robert

unread,
Aug 23, 2022, 12:46:08 PM8/23/22
to Kivy users support
#     ANDROIDMINAPI = '26'

Probably best to stick to the defaults as far as possible.

I have no idea if this is related to the error you see.

purushottam yadav

unread,
Aug 23, 2022, 1:58:02 PM8/23/22
to Kivy users support
i uncommented it and used below commands and got same error again .  
i guess some issue from ffmpeg side  , but i have no issues with it before changing the buildozer version to 1.4 from  1.2  .
should i use previous versions of   p4a   ?  , or lower the android.api = 33   ? , or lower the buildozer version to 1.3 ?

>>>>>>>   below i attached the spec file .  

# (str) python-for-android branch to use, defaults to master
#p4a.branch = master
  
buildozer appclean
buildozer distclean
rm -fr ~/.buildozer
buildozer android release 



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

[INFO]:    <- directory context /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/python-for-android
[INFO]:    Building ffmpeg for arm64-v8a
[INFO]:    -> directory context /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_21/ffmpeg
[DEBUG]:   -> running configure --disable-everything --enable-openssl --enable-nonfree --enable-protocol=https,tls_openssl --enable-gpl --enable-libx264 --enable-libshine --enable-libvpx --enable-parsers --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --disable-symver --disable-programs --disable-doc --enable-filter=aresample,resample,crop,adelay,volume,scale --enable-protocol=file,http,hls --enable-small --enable-hwaccels --enable-pic --disable-static --disable-debug --enable-shared --target-os=android --enable-cross-compile --cross-prefix=aarch64-linux-android21- --arch=aarch64 --strip=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --sysroot=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot --enable-neon --prefix=/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_21/ffmpeg

[DEBUG]:       tput: No value for $TERM and no -T specified
[DEBUG]:       tput: No value for $TERM and no -T specified
[DEBUG]:       aarch64-linux-android21-clang is unable to create an executable file.

[DEBUG]:       C compiler test failed.
[DEBUG]:      
[DEBUG]:       If you think configure made a mistake, make sure you are using the latest
[DEBUG]:       version from Git.  If the latest version fails, report the problem to the
[DEBUG]:       ffmpe...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
[DEBUG]:       Include the log file "ffbuild/config.log" produced by configure as this will help
[DEBUG]:       solve the problem.
Exception in thread background thread for pid 226080:

Traceback (most recent call last):
  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/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 1683, in wrap
    fn(*rgs, **kwargs)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 2662, in background_thread
    handle_exit_code(exit_code)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 2349, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/home/purushottamdev/directory_env/f/lib/python3.8/site-packages/sh.py", line 905, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_1:

  RAN: /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_21/ffmpeg/configure --disable-everything --enable-openssl --enable-nonfree --enable-protocol=https,tls_openssl --enable-gpl --enable-libx264 --enable-libshine --enable-libvpx --enable-parsers --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --disable-symver --disable-programs --disable-doc --enable-filter=aresample,resample,crop,adelay,volume,scale --enable-protocol=file,http,hls --enable-small --enable-hwaccels --enable-pic --disable-static --disable-debug --enable-shared --target-os=android --enable-cross-compile --cross-prefix=aarch64-linux-android21- --arch=aarch64 --strip=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --sysroot=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot --enable-neon --prefix=/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_21/ffmpeg


  STDOUT:
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
aarch64-linux-android21-clang is unable to create an executable file.
  RAN: /home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_21/ffmpeg/configure --disable-everything --enable-openssl --enable-nonfree --enable-protocol=https,tls_openssl --enable-gpl --enable-libx264 --enable-libshine --enable-libvpx --enable-parsers --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --disable-symver --disable-programs --disable-doc --enable-filter=aresample,resample,crop,adelay,volume,scale --enable-protocol=file,http,hls --enable-small --enable-hwaccels --enable-pic --disable-static --disable-debug --enable-shared --target-os=android --enable-cross-compile --cross-prefix=aarch64-linux-android21- --arch=aarch64 --strip=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --sysroot=/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/sysroot --enable-neon --prefix=/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/ffmpeg/arm64-v8a__ndk_target_21/ffmpeg


  STDOUT:
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
aarch64-linux-android21-clang is unable to create an executable file.

C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpe...@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.


  STDERR:

# Command failed: /home/purushottamdev/directory_env/f/bin/python3 -m pythonforandroid.toolchain create --dist_name=inetwork --bootstrap=sdl2 --requirements=python3,kivy==2.0.0,ffpyplayer,libshine,libx264,ffpyplayer_codecs,kivymd,sdl2_ttf==2.0.15,thumb_gen,plyer,pyzbar,libzbar,pillow,pyjnius,kivmob,kivy_garden.mapview,requests,ffmpy,urllib3,chardet,idna,infomedia,boto3,botocore,dateutil,jmespath,simplejson,certifi --arch arm64-v8a --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/purushottamdev/directory_env/f/ff2/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a" --ndk-api=21 --ignore-setup-py --debug
#     GNOME_TERMINAL_SCREEN = '/org/gnome/Terminal/screen/822ff8fb_7cb3_4f0a_9fce_9c96ca9667b9'

#     INVOCATION_ID = 'ecc275c50a614fb198de25a01c2818ee'
#     MANAGERPID = '1779'
#     LESSCLOSE = '/usr/bin/lesspipe %s %s'
#     XDG_SESSION_CLASS = 'user'
#     TERM = 'xterm-256color'
#     DEFAULTS_PATH = '/usr/share/gconf/ubuntu.default.path'
#     P4A_RELEASE_KEYSTORE = '/home/purushottamdev/keystores/mykeystore.keystore'
#     LESSOPEN = '| /usr/bin/lesspipe %s'
#     USER = 'purushottamdev'
#     GNOME_TERMINAL_SERVICE = ':1.625'

#     DISPLAY = ':1'
#     SHLVL = '1'
#     QT_IM_MODULE = 'ibus'
#     DBUS_STARTER_ADDRESS = 'unix:path=/run/user/1001/bus,guid=bfedf18e01d422a03781851763044e48'
#     XDG_RUNTIME_DIR = '/run/user/1001'
#     PS1 = ('(f) \\[\\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:48370'
#     XDG_DATA_DIRS = '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
#     PATH = '/home/purushottamdev/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/purushottamdev/directory_env/f/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/1001/bus,guid=bfedf18e01d422a03781851763044e48'
#     OLDPWD = '/home/purushottamdev/directory_env/f'
#     _ = '/home/purushottamdev/directory_env/f/bin/buildozer'
#     PACKAGES_PATH = '/home/purushottamdev/.buildozer/android/packages'
#     ANDROIDSDK = '/home/purushottamdev/.buildozer/android/platform/android-sdk'
#     ANDROIDNDK = '/home/purushottamdev/.buildozer/android/platform/android-ndk-r23b'
#     ANDROIDAPI = '33'
#     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

Robert

unread,
Aug 23, 2022, 3:17:38 PM8/23/22
to Kivy users support
> # (int) Android SDK version to use
> android.sdk = 27

As I said before:
Probably best to stick to the defaults as far as possible.
I have no idea if this is related to the error you see.

The error means something expects to see a Terminal but doesn't see one.
I have no idea what causes this.

Tomek CEDRO

unread,
Aug 23, 2022, 6:08:21 PM8/23/22
to kivy-...@googlegroups.com
On Tue, Aug 23, 2022 at 7:58 PM purushottam yadavwrote:
> i uncommented it and used below commands and got same error again .
> i guess some issue from ffmpeg side , but i have no issues with it before changing the buildozer version to 1.4 from 1.2 .
> should i use previous versions of p4a ? , or lower the android.api = 33 ? , or lower the buildozer version to 1.3 ?

There are too much changes at once, and some sort of problem with the
build environment.

In that case I would create a dedicated reference environment, as
simple as possible, with a pure hello world application, then see if
the application runs on a local computer, then add bare generic
default buildozer spec and see if that works, then change only one
single variable after another and see what causes the problem. Step by
step. Small steps. Starting from scratch with a solid working
environment. That is how it works. If you change more than one thing
at time you will never know what is the problem as one change can
cause several problems :-)

Please try with bare clean generic environment and hello world
application and see if the problem occurs over there.. if yes, then
there is something wrong with your build environment / dependencies.

purushottam yadav

unread,
Aug 26, 2022, 3:13:53 AM8/26/22
to Kivy users support
finally i got  2 aab  packages with names as        myappp-0.1-arm64-v8a-release.aab   and   myappp-0.1-armeabi-v7a-release.aab    using https://gist.github.com/Guhan-SenSam/fa4ed215ef3419e7b3154de5cb71f641     .
here i dont see any indicator of signin .
how to know if these aab's   are signin or not ?
and 
any thing to do before releasing these  aab's on google  play store ?     

Tomek CEDRO

unread,
Aug 26, 2022, 5:55:34 AM8/26/22
to kivy-...@googlegroups.com
store will tell you and help with further signing if necessary :-)


--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/b9787a24-a140-4f02-87a6-b43426864b81n%40googlegroups.com.

Robert

unread,
Aug 26, 2022, 12:43:08 PM8/26/22
to Kivy users support
And I think you want one aab containing both architectures.

Reply all
Reply to author
Forward
0 new messages