You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buildozer android release
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Система управления пакетами Debian «dpkg», версия 1.19.7 (amd64).
Это свободное программное обеспечение. См. условия распространения в
Универсальной общественной лицензии GNU версии 2 или более поздней.
НИКАКИЕ гарантии не предоставляются.
# Search for Git (git)
# -> found at /usr/bin/git
# Search for Cython (cython)
# -> found at /usr/local/bin/cython
# Search for Java compiler (javac)
# -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
# -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
# Install platform
# Run 'git config --get remote.origin.url'
# Cwd /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/python-for-android
https://github.com/kivy/python-for-android.git
# Run 'git branch -vv'
# Cwd /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/python-for-android
* master 17dfa6a0 [origin/master] Merge pull request #2174 from kivy/release-2020.04.29
# Run '/usr/bin/python3 -m pip install -q --user \'appdirs\' \'colorama>=0.3.3\' \'jinja2\' \'six\' \'enum34; python_version<"3.4"\' \'sh>=1.10; sys_platform!="nt"\' \'pep517<0.7.0"\' \'toml\''
# Cwd None
# Apache ANT found at /home/grigory/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/grigory/.buildozer/android/platform/android-sdk
# Recommended android's NDK version by p4a is: 19c
# Android NDK found at /home/grigory/.buildozer/android/platform/android-ndk-r19c
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a" --ndk-api=21'
# Cwd /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/python-for-android
/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py:84: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI: 28
[INFO]: Available Android APIs are (27, 28)
[INFO]: Requested API target 28 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK: /home/grigory/.buildozer/android/platform/android-ndk-r19c
[INFO]: Found NDK version 19c
[INFO]: Getting NDK API version (i.e. minimum supported API) from user argument
[INFO]: ccache is missing, the build will not be optimized in the future.
[INFO]: Found the following toolchain versions: ['4.9']
[INFO]: Picking the latest gcc toolchain, here 4.9
[INFO]: Of the existing distributions, the following meet the given requirements:
[INFO]: myapp: min API 21, includes recipes (hostpython3, libffi, openssl, sdl2_image, sdl2_mixer, sdl2_ttf, sqlite3, python3, sdl2, setuptools, six, pyjnius, android, kivy, certifi), built for archs (armeabi-v7a)
[INFO]: myapp has compatible recipes, using this one
# Build the application #34
# Copy application source from /home/grigory/Programming/KivyProjects/FirstApp
# Create directory /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app
# Copy /home/grigory/Programming/KivyProjects/FirstApp/mainact.kv
# Copy /home/grigory/Programming/KivyProjects/FirstApp/main.py
# Create directory /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app/data
# Copy /home/grigory/Programming/KivyProjects/FirstApp/data/load.jpg
# Copy /home/grigory/Programming/KivyProjects/FirstApp/data/icon.jpg
# Package the application
# project.properties updated
# Gradle project detected, copy files /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/src/main/java
# Asking for release but P4A_RELEASE_KEYALIAS is missing--sign will not be passed
# Asking for release but P4A_RELEASE_KEYSTORE_PASSWD is missing--sign will not be passed
# Asking for release but P4A_RELEASE_KEYSTORE is missing--sign will not be passed
# Asking for release but P4A_RELEASE_KEYALIAS_PASSWD is missing--sign will not be passed
# Run '/usr/bin/python3 -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name myapp --name WanTwo --version 1 --package org.two.myapp --minsdk 21 --ndk-api 21 --private /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app --android-entrypoint org.kivy.android.PythonActivity --android-apptheme @android:style/Theme.NoTitleBar --presplash /home/grigory/Programming/KivyProjects/FirstApp/./data/load.jpg --icon /home/grigory/Programming/KivyProjects/FirstApp/./data/icon.jpg --orientation portrait --window --release --copy-libs --arch armeabi-v7a --color=always --storage-dir="/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a" --ndk-api=21'
# Cwd /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/python-for-android
/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py:84: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI: 28
[INFO]: Available Android APIs are (27, 28)
[INFO]: Requested API target 28 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK: /home/grigory/.buildozer/android/platform/android-ndk-r19c
[INFO]: Found NDK version 19c
[INFO]: Getting NDK API version (i.e. minimum supported API) from user argument
[INFO]: ccache is missing, the build will not be optimized in the future.
[INFO]: Found the following toolchain versions: ['4.9']
[INFO]: Picking the latest gcc toolchain, here 4.9
[INFO]: Of the existing distributions, the following meet the given requirements:
[INFO]: myapp: min API 21, includes recipes (hostpython3, libffi, openssl, sdl2_image, sdl2_mixer, sdl2_ttf, sqlite3, python3, sdl2, setuptools, six, pyjnius, android, kivy, certifi), built for archs (armeabi-v7a)
[INFO]: myapp has compatible recipes, using this one
[INFO]: Of the existing distributions, the following meet the given requirements:
[INFO]: myapp: min API 21, includes recipes (hostpython3, libffi, openssl, sdl2_image, sdl2_mixer, sdl2_ttf, sqlite3, python3, sdl2, setuptools, six, pyjnius, android, kivy, certifi), built for archs (armeabi-v7a)
[INFO]: myapp has compatible recipes, using this one
[INFO]: -> directory context /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2
[INFO]: <- directory context /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/python-for-android
[INFO]: -> directory context /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a
Listing '/tmp/p4a-extra-env-q2ws8sbx'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app/_applibs'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app/data'...
Compiling '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app/main.py'...
Compiling '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app/sitecustomize.py'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/modules'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/Kivy-1.11.1-py3.8.egg-info'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/android'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/certifi'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/certifi-2020.4.5.1.dist-info'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/jnius'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/jnius/src'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/jnius/src/org'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/jnius/src/org/jnius'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/audio'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/camera'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/clipboard'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/gl'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/image'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/spelling'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/text'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/video'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/core/window'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/data'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/data/fonts'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/data/glsl'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/data/images'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/data/keyboards'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/data/logo'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/deps'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/effects'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/extras'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/garden'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/graphics'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/graphics/cgl_backend'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/include'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/input'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/input/postproc'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/input/providers'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/lang'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/lib'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/lib/gstplayer'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/lib/vidcore_lite'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/modules'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/network'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/storage'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/tools'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/tools/gles_compat'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/tools/highlight'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/tools/packaging'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/tools/packaging/pyinstaller_hooks'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/tools/pep8checker'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/tools/theming'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/tools/theming/defaulttheme'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/uix'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/uix/behaviors'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/kivy/uix/recycleview'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/pkg_resources'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/pkg_resources/_vendor'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/pkg_resources/_vendor/packaging'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/pkg_resources/extern'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/pyjnius-1.2.1-py3.8.egg-info'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/setuptools'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/setuptools/_vendor'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/setuptools/_vendor/packaging'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/setuptools/command'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/setuptools/extern'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/setuptools-40.9.0-py3.8.egg-info'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/usr'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/usr/local'...
Listing '/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/_python_bundle/_python_bundle/site-packages/usr/local/bin'...
[INFO]: Detected highest available build tools version to be 30.0.0-rc4
[DEBUG]: -> running gradlew assembleRelease
[DEBUG]: /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/src/main/res/drawable/icon.png: error: failed to read PNG signature: file does not start with PNG signature.
[DEBUG]: /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/src/main/res/drawable/icon.png: error: file failed to compile.
[DEBUG]:
[DEBUG]: > Task :mergeReleaseResources FAILED
[DEBUG]: Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
[DEBUG]:
[DEBUG]:
[DEBUG]: FAILURE: Build failed with an exception.
[DEBUG]:
[DEBUG]: * What went wrong:
[DEBUG]: Execution failed for task ':mergeReleaseResources'.
[DEBUG]: > Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
[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]: BUILD FAILED in 3s
[DEBUG]: 9 actionable tasks: 1 executed, 8 up-to-date
Exception in thread background thread for pid 6821:
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 "/usr/local/lib/python3.8/dist-packages/sh-1.13.1-py3.8.egg/sh.py", line 1662, in wrap
fn(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/sh-1.13.1-py3.8.egg/sh.py", line 2606, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python3.8/dist-packages/sh-1.13.1-py3.8.egg/sh.py", line 2304, in fn
return self.command.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.8/dist-packages/sh-1.13.1-py3.8.egg/sh.py", line 877, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/gradlew assembleRelease
STDOUT:
/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/src/main/res/drawable/icon.png: error: failed to read PNG signature: file does not start with PNG signature.
/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/src/main/res/drawable/icon.png: error: file failed to compile.
> Task :mergeReleaseResources FAILED
Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mergeReleaseResources'.
> Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
* 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
BUILD FAILED in 3s
9 actionable tasks: 1 executed, 8 up-to-date
STDERR:
[INFO]: STDOUT (last 20 lines of 27):
> Task :mergeReleaseResources FAILED
Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mergeReleaseResources'.
> Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
* 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
BUILD FAILED in 3s
9 actionable tasks: 1 executed, 8 up-to-date
[INFO]: STDERR:
[INFO]: COMMAND:
cd /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a && /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/gradlew assembleRelease
[WARNING]: ERROR: /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/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
Warning: failed to apply patch (exit code 1), assuming it is already applied: src/patches/SDLActivity.java.patch
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name myapp --name WanTwo --version 1 --package org.two.myapp --minsdk 21 --ndk-api 21 --private /home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/app --android-entrypoint org.kivy.android.PythonActivity --android-apptheme @android:style/Theme.NoTitleBar --presplash /home/grigory/Programming/KivyProjects/FirstApp/./data/load.jpg --icon /home/grigory/Programming/KivyProjects/FirstApp/./data/icon.jpg --orientation portrait --window --release --copy-libs --arch armeabi-v7a --color=always --storage-dir="/home/grigory/Programming/KivyProjects/FirstApp/.buildozer/android/platform/build-armeabi-v7a" --ndk-api=21
# ENVIRONMENT:
# SHELL = '/bin/bash'
# SESSION_MANAGER = 'local/grigory-Aspire-E5-521G:@/tmp/.ICE-unix/2212,unix/grigory-Aspire-E5-521G:/tmp/.ICE-unix/2212'
# 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'
# GTK_IM_MODULE = 'ibus'
# QT4_IM_MODULE = 'ibus'
# GNOME_SHELL_SESSION_MODE = 'ubuntu'
# SSH_AUTH_SOCK = '/run/user/1000/keyring/ssh'
# XMODIFIERS = '@im=ibus'
# DESKTOP_SESSION = 'ubuntu'
# SSH_AGENT_PID = '2083'
# GTK_MODULES = 'gail:atk-bridge'
# DBUS_STARTER_BUS_TYPE = 'session'
# PWD = '/home/grigory/Programming/KivyProjects/FirstApp'
# LOGNAME = 'grigory'
# XDG_SESSION_DESKTOP = 'ubuntu'
# 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/grigory'
# USERNAME = 'grigory'
# IM_CONFIG_PHASE = '1'
# LANG = 'ru_RU.UTF-8'
# 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'
# VTE_VERSION = '6001'
# GNOME_TERMINAL_SCREEN = '/org/gnome/Terminal/screen/ba1a16c1_7f29_467e_a0b8_b8d6b726cfc4'
# INVOCATION_ID = 'a4cacf5521a9477fa4cac679266d9ce1'
# MANAGERPID = '1840'
# CLUTTER_IM_MODULE = 'ibus'
# LESSCLOSE = '/usr/bin/lesspipe %s %s'
# XDG_SESSION_CLASS = 'user'
# TERM = 'xterm-256color'
# LESSOPEN = '| /usr/bin/lesspipe %s'
# USER = 'grigory'
# GNOME_TERMINAL_SERVICE = ':1.168'
# DISPLAY = ':0'
# SHLVL = '1'
# QT_IM_MODULE = 'ibus'
# DBUS_STARTER_ADDRESS = 'unix:path=/run/user/1000/bus,guid=697fd5906a0552acd16aef325eff215e'
# XDG_RUNTIME_DIR = '/run/user/1000'
# JOURNAL_STREAM = '9:40763'
# XDG_DATA_DIRS = '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop'
# PATH = '/home/grigory/.buildozer/android/platform/apache-ant-1.9.4/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=697fd5906a0552acd16aef325eff215e'
# _ = '/usr/local/bin/buildozer'
# OLDPWD = '/home/grigory/Programming/KivyProjects'
# PACKAGES_PATH = '/home/grigory/.buildozer/android/packages'
# ANDROIDSDK = '/home/grigory/.buildozer/android/platform/android-sdk'
# ANDROIDNDK = '/home/grigory/.buildozer/android/platform/android-ndk-r19c'
# ANDROIDAPI = '28'
# 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
The text was updated successfully, but these errors were encountered:
Versions
Description
Hi there, I have tried to build apk-file in release mode, but got an error (described in log-file). Help, please!
Command:
Spec file (buildozer.spec):
Link: https://pastebin.com/u7fqHUxm
Logs
Link: https://pastebin.com/aKvMGwvD
The text was updated successfully, but these errors were encountered: