buildozer
buildozer copied to clipboard
Android compilation fails with opencv
Versions
- Python: 3.8.2
- OS: Windows WSL: Ubuntu 20.04 LTS
- Buildozer: 1.2.0
Description
Since I got compilation errors trying to compile my large kivy app with many dependencies to android, I created a minimal example that uses numpy and opencv. This very simple app also fails to compile at the same point:
-- Android: fixup -g compiler option from Android toolchain
-- Update variable ANDROID_SDK from environment: /home/oskar/.buildozer/android/platform/android-sdk
-- Android SDK Tools: ver. 2.0 (description: 'Android SDK Command-line Tools')
-- Android SDK Build Tools: ver. 30.0.0-rc4 (subdir 30.0.0-rc4 from 30.0.0-rc4)
CMake Error at cmake/android/OpenCVDetectAndroidSDK.cmake:176 (message):
Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer.
Use BUILD_ANDROID_PROJECTS=OFF to prepare Android project files without
building them
Call Stack (most recent call first):
CMakeLists.txt:780 (include)
-- Configuring incomplete, errors occurred!
See also "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeError.log".
STDERR:
It seems like the opencv recipe is dependent on SDK Tools (revision 14 or higher), which is deprecated since 2017 when it was replaced by SDK command-line tools.
My minimal example looks like this:
import numpy as np
import cv2
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.image import Image
class TestApp(App):
def build(self):
a = np.random.random((100,100))*255
cv2.imwrite("img.png", a)
layout = BoxLayout()
layout.add_widget(Image(source='img.png'))
layout.add_widget(Button(text='Hello World'))
return layout
TestApp().run()
buildozer.spec
Command:
buildozer android debug
Spec file:
[app]
# (str) Title of your application
title = My Application
# (str) Package name
package.name = myapp
# (str) Package domain (needed for android/ios packaging)
package.domain = org.test
# (str) Source code where the main.py live
source.dir = .
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas
# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png
# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec
# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin
# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg
# (str) Application versioning (method 1)
version = 0.1
# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py
# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3, kivy, numpy, opencv
# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy
# (list) Garden requirements
#garden_requirements =
# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png
# (str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png
# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = portrait
# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
#
# OSX Specific
#
#
# author = © Copyright Info
# change the major version of python used by the app
osx.python_version = 3
# Kivy version to use
osx.kivy_version = 1.9.1
#
# Android specific
#
# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0
# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF
# (list) Permissions
#android.permissions = INTERNET
# (int) Target Android API, should be as high as possible.
#android.api = 27
# (int) Minimum API your APK will support.
#android.minapi = 21
# (int) Android SDK version to use
#android.sdk = 20
# (str) Android NDK version to use
#android.ndk = 19b
# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21
# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True
# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =
# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =
# (str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =
# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# android.skip_update = False
# (bool) If True, then automatically accept SDK license
# agreements. This is intended for automation only. If set to False,
# the default, you will be shown the license when first running
# buildozer.
# android.accept_sdk_license = False
# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity
# (str) Android app theme, default is ok for Kivy-based app
# android.apptheme = "@android:style/Theme.NoTitleBar"
# (list) Pattern to whitelist for the whole project
#android.whitelist =
# (str) Path to a custom whitelist file
#android.whitelist_src =
# (str) Path to a custom blacklist file
#android.blacklist_src =
# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar
# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =
# (list) Android AAR archives to add (currently works only with sdl2_gradle
# bootstrap)
#android.add_aars =
# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# bootstrap)
#android.gradle_dependencies =
# (list) add java compile options
# this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
# see https://developer.android.com/studio/write/java8-support for further information
# android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"
# (list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}
# please enclose in double quotes
# e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"
#android.add_gradle_repositories =
# (list) packaging options to add
# see https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html
# can be necessary to solve conflicts in gradle_dependencies
# please enclose in double quotes
# e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"
#android.add_gradle_repositories =
# (list) Java classes to add as activities to the manifest.
#android.add_activities = com.example.ExampleActivity
# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME
# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png
# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =
# (str) launchMode to set for the main activity
#android.manifest.launch_mode = standard
# (list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_arm64_v8a = libs/android-v8/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so
# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False
# (list) Android application meta-data to set (key=value format)
#android.meta_data =
# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =
# (list) Android shared libraries which will be added to AndroidManifest.xml using <uses-library> tag
#android.uses_library =
# (str) Android logcat filters to use
#android.logcat_filters = *:S python:D
# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1
# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
android.arch = armeabi-v7a
# (int) overrides automatic versionCode computation (used in build.gradle)
# this is not the same as app version and should only be edited if you know what you're doing
# android.numeric_version = 1
#
# Python for android (p4a) specific
#
# (str) python-for-android fork to use, defaults to upstream (kivy)
#p4a.fork = kivy
# (str) python-for-android branch to use, defaults to master
#p4a.branch = master
# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#p4a.source_dir =
# (str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =
# (str) Filename to the hook for p4a
#p4a.hook =
# (str) Bootstrap to use for android builds
# p4a.bootstrap = sdl2
# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =
#
# iOS specific
#
# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
# Alternately, specify the URL and branch of a git checkout:
ios.kivy_ios_url = https://github.com/kivy/kivy-ios
ios.kivy_ios_branch = master
# Another platform dependency: ios-deploy
# Uncomment to use a custom checkout
#ios.ios_deploy_dir = ../ios_deploy
# Or specify URL and branch
ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
ios.ios_deploy_branch = 1.7.0
# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"
# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s
[buildozer]
# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2
# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1
# (str) Path to build artifact storage, absolute or relative to spec file
# build_dir = ./.buildozer
# (str) Path to build output (i.e. .apk, .ipa) storage
# bin_dir = ./bin
# -----------------------------------------------------------------------------
# List as sections
#
# You can define all the "list" as [section:key].
# Each line will be considered as a option to the list.
# Let's take [app] / source.exclude_patterns.
# Instead of doing:
#
#[app]
#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
# This can be translated into:
#
#[app:source.exclude_patterns]
#license
#data/audio/*.wav
#data/images/original/*
#
# -----------------------------------------------------------------------------
# Profiles
#
# You can extend section / key with a profile
# For example, you want to deploy a demo version of your application without
# HD content. You could first change the title to add "(demo)" in the name
# and extend the excluded directories to remove the HD content.
#
#[app@demo]
#title = My Application (demo)
#
#[app:source.exclude_patterns@demo]
#images/hd/*
#
# Then, invoke the command line with the "demo" profile:
#
#buildozer --profile demo android debug
Logs
oskar@LAPTOP-KNH8O2TQ:/mnt/c/Users/loska/Desktop/test_app$ buildozer android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.19.7 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
# 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-11-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
# -> found at /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool
# Install platform
# Run 'git config --get remote.origin.url'
# Cwd /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
https://github.com/kivy/python-for-android.git
# Run 'git branch -vv'
# Cwd /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
* master 1b3b0e3f [origin/master] Merge pull request #2225 from kivy/release-2020.06.02
# 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/oskar/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/oskar/.buildozer/android/platform/android-sdk
# Recommended android's NDK version by p4a is: 19c
# Android NDK found at /home/oskar/.buildozer/android/platform/android-ndk-r19c
# Installing/updating SDK platform tools if necessary
# Run '/home/oskar/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager --sdk_root=/home/oskar/.buildozer/android/platform/android-sdk platform-tools'
# Cwd /home/oskar/.buildozer/android/platform/android-sdk
[=======================================] 100% Computing updates...
# Run '/home/oskar/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager --sdk_root=/home/oskar/.buildozer/android/platform/android-sdk --update'
# Cwd /home/oskar/.buildozer/android/platform/android-sdk
[=======================================] 100% Computing updates...
# Updating SDK build tools if necessary
# Run '/home/oskar/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager --sdk_root=/home/oskar/.buildozer/android/platform/android-sdk --list'
# Cwd /home/oskar/.buildozer/android/platform/android-sdk
Installed packages:=====================] 100% Computing updates...
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;30.0.0-rc4 | 30.0.0 rc4 | Android SDK Build-Tools 30-rc4 | build-tools/30.0.0-rc4/
platform-tools | 30.0.2 | Android SDK Platform-Tools | platform-tools/
platforms;android-27 | 3 | Android SDK Platform 27 | platforms/android-27/
tools | 2.0.0 | Android SDK Tools 2 | tools/
Available Packages:
Path | Version | Description
------- | ------- | -------
add-ons;addon-google_apis-google-15 | 3 | Google APIs
add-ons;addon-google_apis-google-16 | 4 | Google APIs
add-ons;addon-google_apis-google-17 | 4 | Google APIs
add-ons;addon-google_apis-google-18 | 4 | Google APIs
add-ons;addon-google_apis-google-19 | 20 | Google APIs
add-ons;addon-google_apis-google-21 | 1 | Google APIs
add-ons;addon-google_apis-google-22 | 1 | Google APIs
add-ons;addon-google_apis-google-23 | 1 | Google APIs
add-ons;addon-google_apis-google-24 | 1 | Google APIs
build-tools;19.1.0 | 19.1.0 | Android SDK Build-Tools 19.1
build-tools;20.0.0 | 20.0.0 | Android SDK Build-Tools 20
build-tools;21.1.2 | 21.1.2 | Android SDK Build-Tools 21.1.2
build-tools;22.0.1 | 22.0.1 | Android SDK Build-Tools 22.0.1
build-tools;23.0.1 | 23.0.1 | Android SDK Build-Tools 23.0.1
build-tools;23.0.2 | 23.0.2 | Android SDK Build-Tools 23.0.2
build-tools;23.0.3 | 23.0.3 | Android SDK Build-Tools 23.0.3
build-tools;24.0.0 | 24.0.0 | Android SDK Build-Tools 24
build-tools;24.0.1 | 24.0.1 | Android SDK Build-Tools 24.0.1
build-tools;24.0.2 | 24.0.2 | Android SDK Build-Tools 24.0.2
build-tools;24.0.3 | 24.0.3 | Android SDK Build-Tools 24.0.3
build-tools;25.0.0 | 25.0.0 | Android SDK Build-Tools 25
build-tools;25.0.1 | 25.0.1 | Android SDK Build-Tools 25.0.1
build-tools;25.0.2 | 25.0.2 | Android SDK Build-Tools 25.0.2
build-tools;25.0.3 | 25.0.3 | Android SDK Build-Tools 25.0.3
build-tools;26.0.0 | 26.0.0 | Android SDK Build-Tools 26
build-tools;26.0.1 | 26.0.1 | Android SDK Build-Tools 26.0.1
build-tools;26.0.2 | 26.0.2 | Android SDK Build-Tools 26.0.2
build-tools;26.0.3 | 26.0.3 | Android SDK Build-Tools 26.0.3
build-tools;27.0.0 | 27.0.0 | Android SDK Build-Tools 27
build-tools;27.0.1 | 27.0.1 | Android SDK Build-Tools 27.0.1
build-tools;27.0.2 | 27.0.2 | Android SDK Build-Tools 27.0.2
build-tools;27.0.3 | 27.0.3 | Android SDK Build-Tools 27.0.3
build-tools;28.0.0 | 28.0.0 | Android SDK Build-Tools 28
build-tools;28.0.1 | 28.0.1 | Android SDK Build-Tools 28.0.1
build-tools;28.0.2 | 28.0.2 | Android SDK Build-Tools 28.0.2
build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3
build-tools;29.0.0 | 29.0.0 | Android SDK Build-Tools 29
build-tools;29.0.1 | 29.0.1 | Android SDK Build-Tools 29.0.1
build-tools;29.0.2 | 29.0.2 | Android SDK Build-Tools 29.0.2
build-tools;29.0.3 | 29.0.3 | Android SDK Build-Tools 29.0.3
build-tools;30.0.0-rc1 | 30.0.0 rc1 | Android SDK Build-Tools 30-rc1
build-tools;30.0.0-rc2 | 30.0.0 rc2 | Android SDK Build-Tools 30-rc2
build-tools;30.0.0-rc4 | 30.0.0 rc4 | Android SDK Build-Tools 30-rc4
cmake;3.10.2.4988404 | 3.10.2 | CMake 3.10.2.4988404
cmake;3.6.4111459 | 3.6.4111459 | CMake 3.6.4111459
cmdline-tools;1.0 | 1.0 | Android SDK Command-line Tools
cmdline-tools;2.0 | 2.0 | Android SDK Command-line Tools
cmdline-tools;latest | 2.0 | Android SDK Command-line Tools (latest)
emulator | 30.0.12 | Android Emulator
extras;android;m2repository | 47.0.0 | Android Support Repository
extras;google;auto | 1.1 | Android Auto Desktop Head Unit emulator
extras;google;google_play_services | 49 | Google Play services
extras;google;instantapps | 1.9.0 | Google Play Instant Development SDK
extras;google;m2repository | 58 | Google Repository
extras;google;market_apk_expansion | 1 | Google Play APK Expansion library
extras;google;market_licensing | 1 | Google Play Licensing Library
extras;google;simulators | 1 | Android Auto API Simulators
extras;google;webdriver | 2 | Google Web Driver
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0 | 1 | Solver for ConstraintLayout 1.0.0
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha4 | 1 | com.android.support.constraint:constraint-layout-solver:1.0.0-alpha4
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha8 | 1 | Solver for ConstraintLayout 1.0.0-alpha8
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta1 | 1 | Solver for ConstraintLayout 1.0.0-beta1
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta2 | 1 | Solver for ConstraintLayout 1.0.0-beta2
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta3 | 1 | Solver for ConstraintLayout 1.0.0-beta3
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta4 | 1 | Solver for ConstraintLayout 1.0.0-beta4
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta5 | 1 | Solver for ConstraintLayout 1.0.0-beta5
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.1 | 1 | Solver for ConstraintLayout 1.0.1
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2 | 1 | Solver for ConstraintLayout 1.0.2
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0 | 1 | ConstraintLayout for Android 1.0.0
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha4 | 1 | com.android.support.constraint:constraint-layout:1.0.0-alpha4
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha8 | 1 | ConstraintLayout for Android 1.0.0-alpha8
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta1 | 1 | ConstraintLayout for Android 1.0.0-beta1
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta2 | 1 | ConstraintLayout for Android 1.0.0-beta2
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta3 | 1 | ConstraintLayout for Android 1.0.0-beta3
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta4 | 1 | ConstraintLayout for Android 1.0.0-beta4
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta5 | 1 | ConstraintLayout for Android 1.0.0-beta5
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.1 | 1 | ConstraintLayout for Android 1.0.1
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2 | 1 | ConstraintLayout for Android 1.0.2
ndk-bundle | 21.2.6472646 | NDK
ndk;16.1.4479499 | 16.1.4479499 | NDK (Side by side) 16.1.4479499
ndk;17.2.4988734 | 17.2.4988734 | NDK (Side by side) 17.2.4988734
ndk;18.1.5063045 | 18.1.5063045 | NDK (Side by side) 18.1.5063045
ndk;19.2.5345600 | 19.2.5345600 | NDK (Side by side) 19.2.5345600
ndk;20.0.5594570 | 20.0.5594570 | NDK (Side by side) 20.0.5594570
ndk;20.1.5948944 | 20.1.5948944 | NDK (Side by side) 20.1.5948944
ndk;21.0.6113669 | 21.0.6113669 | NDK (Side by side) 21.0.6113669
ndk;21.1.6352462 | 21.1.6352462 | NDK (Side by side) 21.1.6352462
ndk;21.2.6472646 | 21.2.6472646 | NDK (Side by side) 21.2.6472646
patcher;v4 | 1 | SDK Patch Applier v4
platform-tools | 30.0.2 | Android SDK Platform-Tools
platforms;android-10 | 2 | Android SDK Platform 10
platforms;android-11 | 2 | Android SDK Platform 11
platforms;android-12 | 3 | Android SDK Platform 12
platforms;android-13 | 1 | Android SDK Platform 13
platforms;android-14 | 4 | Android SDK Platform 14
platforms;android-15 | 5 | Android SDK Platform 15
platforms;android-16 | 5 | Android SDK Platform 16
platforms;android-17 | 3 | Android SDK Platform 17
platforms;android-18 | 3 | Android SDK Platform 18
platforms;android-19 | 4 | Android SDK Platform 19
platforms;android-20 | 2 | Android SDK Platform 20
platforms;android-21 | 2 | Android SDK Platform 21
platforms;android-22 | 2 | Android SDK Platform 22
platforms;android-23 | 3 | Android SDK Platform 23
platforms;android-24 | 2 | Android SDK Platform 24
platforms;android-25 | 3 | Android SDK Platform 25
platforms;android-26 | 2 | Android SDK Platform 26
platforms;android-27 | 3 | Android SDK Platform 27
platforms;android-28 | 6 | Android SDK Platform 28
platforms;android-29 | 4 | Android SDK Platform 29
platforms;android-7 | 3 | Android SDK Platform 7
platforms;android-8 | 3 | Android SDK Platform 8
platforms;android-9 | 2 | Android SDK Platform 9
platforms;android-R | 4 | Android SDK Platform R
skiaparser;1 | 1 | Skia Parser Server
sources;android-15 | 2 | Sources for Android 15
sources;android-16 | 2 | Sources for Android 16
sources;android-17 | 1 | Sources for Android 17
sources;android-18 | 1 | Sources for Android 18
sources;android-19 | 2 | Sources for Android 19
sources;android-20 | 1 | Sources for Android 20
sources;android-21 | 1 | Sources for Android 21
sources;android-22 | 1 | Sources for Android 22
sources;android-23 | 1 | Sources for Android 23
sources;android-24 | 1 | Sources for Android 24
sources;android-25 | 1 | Sources for Android 25
sources;android-26 | 1 | Sources for Android 26
sources;android-27 | 1 | Sources for Android 27
sources;android-28 | 1 | Sources for Android 28
sources;android-29 | 1 | Sources for Android 29
system-images;android-10;default;armeabi-v7a | 5 | ARM EABI v7a System Image
system-images;android-10;default;x86 | 5 | Intel x86 Atom System Image
system-images;android-10;google_apis;armeabi-v7a | 6 | Google APIs ARM EABI v7a System Image
system-images;android-10;google_apis;x86 | 6 | Google APIs Intel x86 Atom System Image
system-images;android-14;default;armeabi-v7a | 2 | ARM EABI v7a System Image
system-images;android-15;default;armeabi-v7a | 5 | ARM EABI v7a System Image
system-images;android-15;default;x86 | 5 | Intel x86 Atom System Image
system-images;android-15;google_apis;armeabi-v7a | 6 | Google APIs ARM EABI v7a System Image
system-images;android-15;google_apis;x86 | 6 | Google APIs Intel x86 Atom System Image
system-images;android-16;default;armeabi-v7a | 6 | ARM EABI v7a System Image
system-images;android-16;default;mips | 1 | MIPS System Image
system-images;android-16;default;x86 | 6 | Intel x86 Atom System Image
system-images;android-16;google_apis;armeabi-v7a | 6 | Google APIs ARM EABI v7a System Image
system-images;android-16;google_apis;x86 | 6 | Google APIs Intel x86 Atom System Image
system-images;android-17;default;armeabi-v7a | 6 | ARM EABI v7a System Image
system-images;android-17;default;mips | 1 | MIPS System Image
system-images;android-17;default;x86 | 4 | Intel x86 Atom System Image
system-images;android-17;google_apis;armeabi-v7a | 6 | Google APIs ARM EABI v7a System Image
system-images;android-17;google_apis;x86 | 6 | Google APIs Intel x86 Atom System Image
system-images;android-18;default;armeabi-v7a | 5 | ARM EABI v7a System Image
system-images;android-18;default;x86 | 4 | Intel x86 Atom System Image
system-images;android-18;google_apis;armeabi-v7a | 6 | Google APIs ARM EABI v7a System Image
system-images;android-18;google_apis;x86 | 6 | Google APIs Intel x86 Atom System Image
system-images;android-19;default;armeabi-v7a | 5 | ARM EABI v7a System Image
system-images;android-19;default;x86 | 6 | Intel x86 Atom System Image
system-images;android-19;google_apis;armeabi-v7a | 39 | Google APIs ARM EABI v7a System Image
system-images;android-19;google_apis;x86 | 39 | Google APIs Intel x86 Atom System Image
system-images;android-21;android-tv;armeabi-v7a | 3 | Android TV ARM EABI v7a System Image
system-images;android-21;android-tv;x86 | 3 | Android TV Intel x86 Atom System Image
system-images;android-21;default;armeabi-v7a | 4 | ARM EABI v7a System Image
system-images;android-21;default;x86 | 5 | Intel x86 Atom System Image
system-images;android-21;default;x86_64 | 5 | Intel x86 Atom_64 System Image
system-images;android-21;google_apis;armeabi-v7a | 31 | Google APIs ARM EABI v7a System Image
system-images;android-21;google_apis;x86 | 31 | Google APIs Intel x86 Atom System Image
system-images;android-21;google_apis;x86_64 | 31 | Google APIs Intel x86 Atom_64 System Image
system-images;android-22;android-tv;x86 | 3 | Android TV Intel x86 Atom System Image
system-images;android-22;default;armeabi-v7a | 2 | ARM EABI v7a System Image
system-images;android-22;default;x86 | 6 | Intel x86 Atom System Image
system-images;android-22;default;x86_64 | 6 | Intel x86 Atom_64 System Image
system-images;android-22;google_apis;armeabi-v7a | 24 | Google APIs ARM EABI v7a System Image
system-images;android-22;google_apis;x86 | 25 | Google APIs Intel x86 Atom System Image
system-images;android-22;google_apis;x86_64 | 25 | Google APIs Intel x86 Atom_64 System Image
system-images;android-23;android-tv;armeabi-v7a | 12 | Android TV ARM EABI v7a System Image
system-images;android-23;android-tv;x86 | 19 | Android TV Intel x86 Atom System Image
system-images;android-23;android-wear;armeabi-v7a | 6 | Android Wear ARM EABI v7a System Image
system-images;android-23;android-wear;x86 | 6 | Android Wear Intel x86 Atom System Image
system-images;android-23;default;armeabi-v7a | 6 | ARM EABI v7a System Image
system-images;android-23;default;x86 | 10 | Intel x86 Atom System Image
system-images;android-23;default;x86_64 | 10 | Intel x86 Atom_64 System Image
system-images;android-23;google_apis;armeabi-v7a | 32 | Google APIs ARM EABI v7a System Image
system-images;android-23;google_apis;x86 | 32 | Google APIs Intel x86 Atom System Image
system-images;android-23;google_apis;x86_64 | 32 | Google APIs Intel x86 Atom_64 System Image
system-images;android-24;android-tv;x86 | 21 | Android TV Intel x86 Atom System Image
system-images;android-24;default;arm64-v8a | 7 | ARM 64 v8a System Image
system-images;android-24;default;armeabi-v7a | 7 | ARM EABI v7a System Image
system-images;android-24;default;x86 | 8 | Intel x86 Atom System Image
system-images;android-24;default;x86_64 | 8 | Intel x86 Atom_64 System Image
system-images;android-24;google_apis;arm64-v8a | 26 | Google APIs ARM 64 v8a System Image
system-images;android-24;google_apis;x86 | 26 | Google APIs Intel x86 Atom System Image
system-images;android-24;google_apis;x86_64 | 26 | Google APIs Intel x86 Atom_64 System Image
system-images;android-24;google_apis_playstore;x86 | 19 | Google Play Intel x86 Atom System Image
system-images;android-25;android-tv;x86 | 15 | Android TV Intel x86 Atom System Image
system-images;android-25;android-wear-cn;armeabi-v7a | 4 | China version of Android Wear ARM EABI v7a System Image
system-images;android-25;android-wear-cn;x86 | 4 | China version of Android Wear Intel x86 Atom System Image
system-images;android-25;android-wear;armeabi-v7a | 3 | Android Wear ARM EABI v7a System Image
system-images;android-25;android-wear;x86 | 3 | Android Wear Intel x86 Atom System Image
system-images;android-25;default;x86 | 1 | Intel x86 Atom System Image
system-images;android-25;default;x86_64 | 1 | Intel x86 Atom_64 System Image
system-images;android-25;google_apis;arm64-v8a | 17 | Google APIs ARM 64 v8a System Image
system-images;android-25;google_apis;armeabi-v7a | 17 | Google APIs ARM EABI v7a System Image
system-images;android-25;google_apis;x86 | 17 | Google APIs Intel x86 Atom System Image
system-images;android-25;google_apis;x86_64 | 17 | Google APIs Intel x86 Atom_64 System Image
system-images;android-25;google_apis_playstore;x86 | 9 | Google Play Intel x86 Atom System Image
system-images;android-26;android-tv;x86 | 13 | Android TV Intel x86 Atom System Image
system-images;android-26;android-wear-cn;x86 | 4 | China version of Android Wear Intel x86 Atom System Image
system-images;android-26;android-wear;x86 | 4 | Android Wear Intel x86 Atom System Image
system-images;android-26;default;x86 | 1 | Intel x86 Atom System Image
system-images;android-26;default;x86_64 | 1 | Intel x86 Atom_64 System Image
system-images;android-26;google_apis;x86 | 15 | Google APIs Intel x86 Atom System Image
system-images;android-26;google_apis;x86_64 | 15 | Google APIs Intel x86 Atom_64 System Image
system-images;android-26;google_apis_playstore;x86 | 7 | Google Play Intel x86 Atom System Image
system-images;android-27;android-tv;x86 | 8 | Android TV Intel x86 Atom System Image
system-images;android-27;default;x86 | 1 | Intel x86 Atom System Image
system-images;android-27;default;x86_64 | 1 | Intel x86 Atom_64 System Image
system-images;android-27;google_apis;x86 | 10 | Google APIs Intel x86 Atom System Image
system-images;android-27;google_apis_playstore;x86 | 3 | Google Play Intel x86 Atom System Image
system-images;android-28;android-tv;x86 | 9 | Android TV Intel x86 Atom System Image
system-images;android-28;android-wear-cn;x86 | 3 | China version of Wear OS Intel x86 Atom System Image
system-images;android-28;android-wear;x86 | 3 | Wear OS Intel x86 Atom System Image
system-images;android-28;default;x86 | 4 | Intel x86 Atom System Image
system-images;android-28;default;x86_64 | 4 | Intel x86 Atom_64 System Image
system-images;android-28;google_apis;x86_64 | 10 | Google APIs Intel x86 Atom_64 System Image
system-images;android-28;google_apis_playstore;x86 | 9 | Google Play Intel x86 Atom System Image
system-images;android-28;google_apis_playstore;x86_64 | 8 | Google Play Intel x86 Atom_64 System Image
system-images;android-28;google_ndk;x86 | 10 | Google X86_ARM Intel x86 Atom System Image
system-images;android-29;default;x86 | 7 | Intel x86 Atom System Image
system-images;android-29;default;x86_64 | 7 | Intel x86 Atom_64 System Image
system-images;android-29;google_apis;x86 | 10 | Google APIs Intel x86 Atom System Image
system-images;android-29;google_apis;x86_64 | 10 | Google APIs Intel x86 Atom_64 System Image
system-images;android-29;google_apis_playstore;x86 | 8 | Google Play Intel x86 Atom System Image
system-images;android-29;google_apis_playstore;x86_64 | 8 | Google Play Intel x86 Atom_64 System Image
system-images;android-Q;android-tv;x86 | 1 | Android TV Intel x86 Atom System Image
system-images;android-R;google_apis;x86 | 4 | Google APIs Intel x86 Atom System Image
system-images;android-R;google_apis;x86_64 | 4 | Google APIs Intel x86 Atom_64 System Image
system-images;android-R;google_apis_playstore;x86 | 4 | Google Play Intel x86 Atom System Image
system-images;android-R;google_apis_playstore;x86_64 | 4 | Google Play Intel x86 Atom_64 System Image
Available Updates:
ID | Installed | Available
------- | ------- | -------
# Check that aidl can be executed
# Search for Aidl
# Run '/home/oskar/.buildozer/android/platform/android-sdk/build-tools/30.0.0-rc4/aidl'
# Cwd None
# Downloading platform api target if necessary
# Android packages installation done.
# Check application requirements
# Check garden requirements
# Compile platform
# Run '/usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy,numpy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir="/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a" --ndk-api=21'
# Cwd /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
/mnt/c/Users/loska/Desktop/test_app/.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: 27
[INFO]: Available Android APIs are (27)
[INFO]: Requested API target 27 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK: /home/oskar/.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]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[INFO]: Found a single valid recipe set: ['hostpython3', 'libffi', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'setuptools', 'cython', 'six', 'numpy', 'pyjnius', 'android', 'kivy', 'opencv']
[INFO]: The selected bootstrap is sdl2
[INFO]: # Creating dist with sdl2 bootstrap
[INFO]: Dist will have name myapp and requirements (python3, kivy, numpy, opencv)
[INFO]: Dist contains the following requirements as recipes: ['hostpython3', 'libffi', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'setuptools', 'cython', 'six', 'numpy', 'pyjnius', 'android', 'kivy', 'opencv']
[INFO]: Dist will also contain modules (certifi) installed from pip
[INFO]: Dist will be build in mode debug
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Recipe build order is ['hostpython3', 'libffi', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'setuptools', 'cython', 'six', 'numpy', 'pyjnius', 'android', 'kivy', 'opencv']
[INFO]: The requirements (certifi) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython3
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/hostpython3
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/hostpython3
[INFO]: -> running basename https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
[INFO]: -> running rm -f .mark-Python-3.8.1.tgz
[INFO]: Downloading hostpython3 from https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
[INFO]: -> running touch .mark-Python-3.8.1.tgz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading libffi
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/libffi
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/libffi
[INFO]: -> running basename https://github.com/libffi/libffi/archive/8fa8837.tar.gz
[INFO]: -> running rm -f .mark-8fa8837.tar.gz
[INFO]: Downloading libffi from https://github.com/libffi/libffi/archive/8fa8837.tar.gz
[INFO]: -> running touch .mark-8fa8837.tar.gz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading openssl
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/openssl
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/openssl
[INFO]: -> running basename https://www.openssl.org/source/openssl-1.1.1f.tar.gz
[INFO]: -> running rm -f .mark-openssl-1.1.1f.tar.gz
[INFO]: Downloading openssl from https://www.openssl.org/source/openssl-1.1.1f.tar.gz
[INFO]: -> running touch .mark-openssl-1.1.1f.tar.gz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading sdl2_image
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_image
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_image
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz
[INFO]: -> running rm -f .mark-SDL2_image-2.0.4.tar.gz
[INFO]: Downloading sdl2_image from https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz
[INFO]: -> running touch .mark-SDL2_image-2.0.4.tar.gz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading sdl2_mixer
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_mixer
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_mixer
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz
[INFO]: -> running rm -f .mark-SDL2_mixer-2.0.4.tar.gz
[INFO]: Downloading sdl2_mixer from https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz
[INFO]: -> running touch .mark-SDL2_mixer-2.0.4.tar.gz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading sdl2_ttf
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_ttf
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2_ttf
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: -> running rm -f .mark-SDL2_ttf-2.0.14.tar.gz
[INFO]: Downloading sdl2_ttf from https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: -> running touch .mark-SDL2_ttf-2.0.14.tar.gz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading sqlite3
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sqlite3
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sqlite3
[INFO]: -> running basename https://www.sqlite.org/2016/sqlite-amalgamation-3150100.zip
[INFO]: -> running rm -f .mark-sqlite-amalgamation-3150100.zip
[INFO]: Downloading sqlite3 from https://www.sqlite.org/2016/sqlite-amalgamation-3150100.zip
[INFO]: -> running touch .mark-sqlite-amalgamation-3150100.zip
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading python3
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/python3
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/python3
[INFO]: -> running basename https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
[INFO]: -> running rm -f .mark-Python-3.8.1.tgz
[INFO]: Downloading python3 from https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
[INFO]: -> running touch .mark-Python-3.8.1.tgz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading sdl2
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/sdl2
[INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.9.tar.gz
[INFO]: -> running rm -f .mark-SDL2-2.0.9.tar.gz
[INFO]: Downloading sdl2 from https://www.libsdl.org/release/SDL2-2.0.9.tar.gz
[INFO]: -> running touch .mark-SDL2-2.0.9.tar.gz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading setuptools
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/setuptools
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/setuptools
[INFO]: -> running basename https://pypi.python.org/packages/source/s/setuptools/setuptools-40.9.0.zip
[INFO]: -> running rm -f .mark-setuptools-40.9.0.zip
[INFO]: Downloading setuptools from https://pypi.python.org/packages/source/s/setuptools/setuptools-40.9.0.zip
[INFO]: -> running touch .mark-setuptools-40.9.0.zip
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading cython
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/cython
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/cython
[INFO]: -> running basename https://github.com/cython/cython/archive/0.29.15.tar.gz
[INFO]: -> running rm -f .mark-0.29.15.tar.gz
[INFO]: Downloading cython from https://github.com/cython/cython/archive/0.29.15.tar.gz
[INFO]: -> running touch .mark-0.29.15.tar.gz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading six
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/six
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/six
[INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz
[INFO]: -> running rm -f .mark-six-1.10.0.tar.gz
[INFO]: Downloading six from https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz
[INFO]: -> running touch .mark-six-1.10.0.tar.gz
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading numpy
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/numpy
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/numpy
[INFO]: -> running basename https://pypi.python.org/packages/source/n/numpy/numpy-1.18.1.zip
[INFO]: -> running rm -f .mark-numpy-1.18.1.zip
[INFO]: Downloading numpy from https://pypi.python.org/packages/source/n/numpy/numpy-1.18.1.zip
[INFO]: -> running touch .mark-numpy-1.18.1.zip
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading pyjnius
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/pyjnius
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/pyjnius
[INFO]: -> running basename https://github.com/kivy/pyjnius/archive/1.2.1.zip
[INFO]: -> running rm -f .mark-1.2.1.zip
[INFO]: Downloading pyjnius from https://github.com/kivy/pyjnius/archive/1.2.1.zip
[INFO]: -> running touch .mark-1.2.1.zip
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading android
[INFO]: Skipping android download as no URL is set
[INFO]: Downloading kivy
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/kivy
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/kivy
[INFO]: -> running basename https://github.com/kivy/kivy/archive/1.11.1.zip
[INFO]: -> running rm -f .mark-1.11.1.zip
[INFO]: Downloading kivy from https://github.com/kivy/kivy/archive/1.11.1.zip
[INFO]: -> running touch .mark-1.11.1.zip
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Downloading opencv
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/opencv
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/packages/opencv
[INFO]: -> running basename https://github.com/opencv/opencv/archive/4.0.1.zip
[INFO]: -> running rm -f .mark-4.0.1.zip
[INFO]: Downloading opencv from https://github.com/opencv/opencv/archive/4.0.1.zip
[INFO]: -> running touch .mark-4.0.1.zip
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: # Building all recipes for arch armeabi-v7a
[INFO]: # Unpacking recipes
[INFO]: Unpacking hostpython3 for armeabi-v7a
[INFO]: -> running basename https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop
[INFO]: -> running mv Python-3.8.1 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking libffi for armeabi-v7a
[INFO]: -> running basename https://github.com/libffi/libffi/archive/8fa8837.tar.gz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21
[INFO]: -> running mv libffi-8fa88373a1d433c675b11200ccd58418e91f81e4 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking openssl for armeabi-v7a
[INFO]: -> running basename https://www.openssl.org/source/openssl-1.1.1f.tar.gz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/openssl/armeabi-v7a__ndk_target_21
[INFO]: -> running mv openssl-1.1.1f /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking sdl2_image for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni
[INFO]: -> running mv SDL2_image-2.0.4 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking sdl2_mixer for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni
[INFO]: -> running mv SDL2_mixer-2.0.4 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_mixer
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking sdl2_ttf for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni
[INFO]: -> running mv SDL2_ttf-2.0.14 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_ttf
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking sqlite3 for armeabi-v7a
[INFO]: -> running basename https://www.sqlite.org/2016/sqlite-amalgamation-3150100.zip
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21
[INFO]: -> running mv sqlite-amalgamation-3150100 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21/sqlite3
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking python3 for armeabi-v7a
[INFO]: -> running basename https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21
[INFO]: -> running mv Python-3.8.1 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking sdl2 for armeabi-v7a
[INFO]: -> running basename https://www.libsdl.org/release/SDL2-2.0.9.tar.gz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni
[INFO]: -> running mv SDL2-2.0.9 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking setuptools for armeabi-v7a
[INFO]: -> running basename https://pypi.python.org/packages/source/s/setuptools/setuptools-40.9.0.zip
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/setuptools/armeabi-v7a__ndk_target_21
[INFO]: -> running mv setuptools-40.9.0 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/setuptools/armeabi-v7a__ndk_target_21/setuptools
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking cython for armeabi-v7a
[INFO]: -> running basename https://github.com/cython/cython/archive/0.29.15.tar.gz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/cython/armeabi-v7a__ndk_target_21
[INFO]: -> running mv cython-0.29.15 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/cython/armeabi-v7a__ndk_target_21/cython
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking six for armeabi-v7a
[INFO]: -> running basename https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/six/armeabi-v7a__ndk_target_21
[INFO]: -> running mv six-1.10.0 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/six/armeabi-v7a__ndk_target_21/six
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking numpy for armeabi-v7a
[INFO]: -> running basename https://pypi.python.org/packages/source/n/numpy/numpy-1.18.1.zip
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_21
[INFO]: -> running mv numpy-1.18.1 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_21/numpy
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking pyjnius for armeabi-v7a
[INFO]: -> running basename https://github.com/kivy/pyjnius/archive/1.2.1.zip
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21
[INFO]: -> running mv pyjnius-1.2.1 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: -> running rm -rf /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: -> running cp -a /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/android/src /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platfo...(and 87 more)
[INFO]: Unpacking kivy for armeabi-v7a
[INFO]: -> running basename https://github.com/kivy/kivy/archive/1.11.1.zip
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21
[INFO]: -> running mv kivy-1.11.1 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Unpacking opencv for armeabi-v7a
[INFO]: -> running basename https://github.com/opencv/opencv/archive/4.0.1.zip
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21
[INFO]: -> running mv opencv-4.0.1 /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: # Prebuilding recipes
[INFO]: Prebuilding hostpython3 for armeabi-v7a
[INFO]: hostpython3 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for hostpython3[armeabi-v7a]
[INFO]: Applying patch patches/pyconfig_detection.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3 -p1 -i /mnt/c/Users/loska/Desktop/test_app...(and 117 more)
[INFO]: -> running touch /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/.patched
[INFO]: Prebuilding libffi for armeabi-v7a
[INFO]: libffi has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for libffi[armeabi-v7a]
[INFO]: Applying patch remove-version-info.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi -p1 -i /mnt/c/Users/loska/Desktop...(and 114 more)
[INFO]: -> running touch /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/.patched
[INFO]: Prebuilding openssl for armeabi-v7a
[INFO]: openssl has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding sdl2_image for armeabi-v7a
[INFO]: sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_image[armeabi-v7a]
[INFO]: Applying patch toggle_jpg_png_webp.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image -p1 -i /mnt/c/Users/loska/Desktop/test_app/.buildo...(and 101 more)
[INFO]: Applying patch extra_cflags.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image -p1 -i /mnt/c/Users/loska/Desktop/test_app/.buildo...(and 94 more)
[INFO]: -> running touch /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image/.patched
[INFO]: Prebuilding sdl2_mixer for armeabi-v7a
[INFO]: sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]: Applying patch toggle_modplug_mikmod_smpeg_ogg.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_mixer -p1 -i /mnt/c/Users/loska/Desktop/test_app/.buildo...(and 113 more)
[INFO]: -> running touch /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_mixer/.patched
[INFO]: Prebuilding sdl2_ttf for armeabi-v7a
[INFO]: sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding sqlite3 for armeabi-v7a
[INFO]: sqlite3 has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding python3 for armeabi-v7a
[INFO]: python3 has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for python3[armeabi-v7a]
[INFO]: Applying patch patches/pyconfig_detection.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3 -p1 -i /mnt/c/Users/loska/Deskt...(and 124 more)
[INFO]: Applying patch patches/py3.8.1.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3 -p1 -i /mnt/c/Users/loska/Deskt...(and 113 more)
[INFO]: -> running touch /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/.patched
[INFO]: Prebuilding sdl2 for armeabi-v7a
[INFO]: sdl2 has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding setuptools for armeabi-v7a
[INFO]: setuptools has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding cython for armeabi-v7a
[INFO]: cython has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding six for armeabi-v7a
[INFO]: six has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding numpy for armeabi-v7a
[INFO]: numpy has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for numpy[armeabi-v7a]
[INFO]: Applying patch patches/add_libm_explicitly_to_build.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_21/numpy -p1 -i /mnt/c/Users/loska/Desktop/t...(and 128 more)
[INFO]: Applying patch patches/do_not_use_system_libs.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_21/numpy -p1 -i /mnt/c/Users/loska/Desktop/t...(and 122 more)
[INFO]: Applying patch patches/remove_unittest_call.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_21/numpy -p1 -i /mnt/c/Users/loska/Desktop/t...(and 120 more)
[INFO]: -> running touch /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_21/numpy/.patched
[INFO]: Prebuilding pyjnius for armeabi-v7a
[INFO]: pyjnius has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for pyjnius[armeabi-v7a]
[INFO]: Applying patch sdl2_jnienv_getter.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius -p1 -i /mnt/c/Users/loska/...(and 121 more)
[INFO]: -> running touch /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius/.patched
[INFO]: Prebuilding android for armeabi-v7a
[INFO]: android has no prebuild_armeabi_v7a, skipping
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Prebuilding kivy for armeabi-v7a
[INFO]: kivy has no prebuild_armeabi_v7a, skipping
[INFO]: Prebuilding opencv for armeabi-v7a
[INFO]: opencv has no prebuild_armeabi_v7a, skipping
[INFO]: Applying patches for opencv[armeabi-v7a]
[INFO]: Applying patch patches/p4a_build.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv -p1 -i /mnt/c/Users/loska/Desktop...(and 112 more)
[INFO]: -> running touch /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/.patched
[INFO]: # Building recipes
[INFO]: Building hostpython3 for armeabi-v7a
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build
[INFO]: -> running configure
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3
[INFO]: -> running make -j 4 -C /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build
[INFO]: -> running cp /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python.exe /mnt/c/Users/loska/Desktop/...(and 126 more)
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building libffi for armeabi-v7a
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi
[INFO]: -> running autogen.sh
[INFO]: -> running autoreconf -vif
[INFO]: -> running configure --host=arm-linux-androideabi --prefix=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libf...(and 37 more)
[INFO]: -> running make -j 4 libffi.la
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: -> running cp /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/libffi/armeabi-v7a__ndk_target_21/libffi/.libs/libffi.so /mnt/c/Users/loska/Desktop...(and 96 more)
[INFO]: Building openssl for armeabi-v7a
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1
[INFO]: -> running perl Configure shared no-dso no-asm android-arm -D__ANDROID_API__=21
[INFO]: Applying patch disable-sover.patch
[INFO]: -> running patch -t -d /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1 -p1 -i /mnt/c/Users/loska/De...(and 114 more)
[INFO]: -> running make build_libs
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: -> running cp /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/openssl/armeabi-v7a__ndk_target_21/openssl1.1/libcrypto1.1.so /mnt/c/Users/loska/De...(and 261 more)
[INFO]: Building sdl2_image for armeabi-v7a
[INFO]: Building sdl2_mixer for armeabi-v7a
[INFO]: Building sdl2_ttf for armeabi-v7a
[INFO]: Building sqlite3 for armeabi-v7a
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/sqlite3/armeabi-v7a__ndk_target_21/sqlite3
[INFO]: -> running ndk-build V=1 NDK_DEBUG=1 APP_PLATFORM=android-21 APP_ABI=armeabi-v7a
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building python3 for armeabi-v7a
[WARNING]: lld not found, linking without it. Consider installing lld if linker errors occur.
[INFO]: Activating flags for sqlite3
[INFO]: Activating flags for libffi
[INFO]: Activating flags for openssl
[INFO]: Activating flags for android's zlib
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build
[INFO]: -> running configure --host=arm-linux-androideabi --build=x86_64-pc-linux-gnu --enable-shared --enable-ipv6 ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no --without-ensurepip ac_cv_little_endian_do...(and 215 more)
[INFO]: -> running make all -j 4 INSTSONAME=libpython3.8m.so
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building sdl2 for armeabi-v7a
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni
[INFO]: -> running ndk-build V=1 NDK_DEBUG=1
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building setuptools for armeabi-v7a
[INFO]: setuptools apparently isn't already in site-packages
[INFO]: Installing setuptools into site-packages
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/setuptools/armeabi-v7a__ndk_target_21/setuptools
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp --install-lib=.
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build --ins...(and 26 more)
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building cython for armeabi-v7a
[INFO]: cython apparently isn't already in site-packages
[INFO]: Building compiled components in cython
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/cython/armeabi-v7a__ndk_target_21/cython
[INFO]: -> running python3 setup.py clean --all
[INFO]: -> running python3 setup.py build_ext -v
[INFO]: -> running find build/lib.linux-x86_64-3.8 -name "*.o" -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Installing cython into site-packages
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/cython/armeabi-v7a__ndk_target_21/cython
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp --install-lib=.
[INFO]: Rebuilding compiled components in cython
[INFO]: -> running python3 setup.py clean --all
[INFO]: -> running python3 setup.py build_ext -v
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build --ins...(and 26 more)
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building six for armeabi-v7a
[INFO]: six apparently isn't already in site-packages
[INFO]: Installing six into site-packages
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/six/armeabi-v7a__ndk_target_21/six
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp --install-lib=.
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building numpy for armeabi-v7a
[INFO]: numpy apparently isn't already in site-packages
[INFO]: Building compiled components in numpy
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_21/numpy
[INFO]: -> running python3 setup.py build_ext -v -j 4
[INFO]: -> running find build/lib.linux-x86_64-3.8 -name "*.o" -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Installing numpy into site-packages
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/numpy/armeabi-v7a__ndk_target_21/numpy
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp --install-lib=.
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building pyjnius for armeabi-v7a
[INFO]: jnius apparently isn't already in site-packages
[INFO]: Cythonizing anything necessary in pyjnius
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: -> running python3 -c import sys; print(sys.path)
[INFO]: Trying first build of pyjnius to get cython files: this is expected to fail
[INFO]: -> running python3 setup.py build_ext -v
working: error: command '/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1 Exception in thread background thread for pid 28221:
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: /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v
STDOUT:
warning: [options] bootstrap class path not set in conjunction with -source 7
1 warning
running build_ext
building 'jnius' extension
creating build
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/jnius
/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_API__=21 -I/home/oskar/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/include/python3.8 -fPIC -I/usr/lib/jvm/java-11-openjdk-amd64/include -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c jnius/jnius.c -o build/temp.linux-x86_64-3.8/jnius/jnius.o
clang: error: no such file or directory: 'jnius/jnius.c'
clang: error: no input files
error: command '/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1
STDERR:
[INFO]: pyjnius first build failed (as expected)
[INFO]: Running cython where appropriate
[INFO]: Cythonize jnius/jnius.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./jnius/jnius.pyx
[INFO]: -> running python3 setup.py build_ext -v
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: Stripping object files
[INFO]: -> running find . -iname *.so -exec /usr/bin/echo {} ;
[INFO]: -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Installing pyjnius into site-packages
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/pyjnius-sdl2/armeabi-v7a__ndk_target_21/pyjnius
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp --install-lib=.
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building android for armeabi-v7a
[INFO]: android apparently isn't already in site-packages
[INFO]: Cythonizing anything necessary in android
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: -> running python3 -c import sys; print(sys.path)
[INFO]: Trying first build of android to get cython files: this is expected to fail
[INFO]: -> running python3 setup.py build_ext -v
working: error: command '/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1 Exception in thread background thread for pid 28348:
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: /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v
STDOUT:
running build_ext
building 'android._android' extension
creating build
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/android
/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_API__=21 -I/home/oskar/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/include/python3.8 -fPIC -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c android/_android.c -o build/temp.linux-x86_64-3.8/android/_android.o
clang: error: no such file or directory: 'android/_android.c'
clang: error: no input files
error: command '/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1
STDERR:
[INFO]: android first build failed (as expected)
[INFO]: Running cython where appropriate
[INFO]: Cythonize android/_android.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./android/_android.pyx
[INFO]: Cythonize android/_android_billing.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./android/_android_billing.pyx
[INFO]: Cythonize android/_android_sound.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./android/_android_sound.pyx
[INFO]: -> running python3 setup.py build_ext -v
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: Stripping object files
[INFO]: -> running find . -iname *.so -exec /usr/bin/echo {} ;
[INFO]: -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Installing android into site-packages
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/android-sdl2/armeabi-v7a__ndk_target_21/android
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp --install-lib=.
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building kivy for armeabi-v7a
[INFO]: kivy apparently isn't already in site-packages
[INFO]: Cythonizing anything necessary in kivy
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: -> running python3 -c import sys; print(sys.path)
[INFO]: Trying first build of kivy to get cython files: this is expected to fail
[INFO]: -> running python3 setup.py build_ext -v
working: error: command '/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1 Exception in thread background thread for pid 28432:
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: /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v
STDOUT:
Using setuptools
Environ change use_sdl2 -> True
Not using cython on android
Using this graphics system: OpenGL ES 2
WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)
b"Package sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'sdl2' found\nPackage SDL2_ttf was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_ttf.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_ttf' found\nPackage SDL2_image was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_image.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_image' found\nPackage SDL2_mixer was not found in the pkg-config search path.\nPerhaps you should add the directory containing `SDL2_mixer.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'SDL2_mixer' found\n"
SDL2: found SDL header at /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL/include/SDL.h
SDL2: found SDL_mixer header at /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_mixer/SDL_mixer.h
SDL2: found SDL_ttf header at /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_ttf/SDL_ttf.h
SDL2: found SDL_image header at /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/bootstrap_builds/sdl2/jni/SDL2_image/SDL_image.h
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
running build_ext
Build configuration is:
* use_rpi = 0
* use_egl = 0
* use_opengl_es2 = 1
* use_opengl_mock = 0
* use_sdl2 = 1
* use_pangoft2 = 0
* use_ios = 0
* use_android = 1
* use_mesagl = 0
* use_x11 = 0
* use_wayland = 0
* use_gstreamer = 0
* use_avfoundation = 0
* use_osx_frameworks = 0
* debug_gl = 0
* debug = False
Updated kivy/include/config.h
Updated kivy/include/config.pxi
Updated kivy/setupconfig.py
Detected compiler is unix
building 'kivy._event' extension
creating build
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/kivy
/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -target armv7a-linux-androideabi21 -fomit-frame-pointer -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -fPIC -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DANDROID -D__ANDROID_API__=21 -I/home/oskar/.buildozer/android/platform/android-ndk-r19c/sysroot/usr/include/arm-linux-androideabi -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/include/python3.8 -fPIC -Ikivy/include -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Include -I/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build -c kivy/_event.c -o build/temp.linux-x86_64-3.8/kivy/_event.o
clang: error: no such file or directory: 'kivy/_event.c'
clang: error: no input files
error: command '/home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1
STDERR:
[INFO]: kivy first build failed (as expected)
[INFO]: Running cython where appropriate
[INFO]: Cythonize kivy/properties.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/properties.pyx
[INFO]: Cythonize kivy/weakproxy.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/weakproxy.pyx
[INFO]: Cythonize kivy/_clock.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/_clock.pyx
[INFO]: Cythonize kivy/_event.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/_event.pyx
[INFO]: Cythonize kivy/core/audio/audio_sdl2.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/audio/audio_sdl2.pyx
[INFO]: Cythonize kivy/core/camera/camera_avfoundation.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/camera/camera_avfoundation.pyx
[INFO]: Cythonize kivy/core/clipboard/_clipboard_sdl2.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/clipboard/_clipboard_sdl2.pyx
[INFO]: Cythonize kivy/core/image/img_imageio.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/image/img_imageio.pyx
[INFO]: Cythonize kivy/core/image/_img_sdl2.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/image/_img_sdl2.pyx
[INFO]: Cythonize kivy/core/text/text_layout.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/text/text_layout.pyx
[INFO]: Cythonize kivy/core/text/_text_pango.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/text/_text_pango.pyx
[INFO]: Cythonize kivy/core/text/_text_sdl2.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/text/_text_sdl2.pyx
[INFO]: Cythonize kivy/core/window/window_info.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/window/window_info.pyx
[INFO]: Cythonize kivy/core/window/_window_sdl2.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/core/window/_window_sdl2.pyx
[INFO]: Cythonize kivy/graphics/buffer.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/buffer.pyx
[INFO]: Cythonize kivy/graphics/cgl.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/cgl.pyx
[INFO]: Cythonize kivy/graphics/compiler.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/compiler.pyx
[INFO]: Cythonize kivy/graphics/context.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/context.pyx
[INFO]: Cythonize kivy/graphics/context_instructions.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/context_instructions.pyx
[INFO]: Cythonize kivy/graphics/fbo.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/fbo.pyx
[INFO]: Cythonize kivy/graphics/gl_instructions.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/gl_instructions.pyx
[INFO]: Cythonize kivy/graphics/instructions.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/instructions.pyx
[INFO]: Cythonize kivy/graphics/opengl.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/opengl.pyx
[INFO]: Cythonize kivy/graphics/opengl_utils.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/opengl_utils.pyx
[INFO]: Cythonize kivy/graphics/scissor_instructions.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/scissor_instructions.pyx
[INFO]: Cythonize kivy/graphics/shader.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/shader.pyx
[INFO]: Cythonize kivy/graphics/stencil_instructions.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/stencil_instructions.pyx
[INFO]: Cythonize kivy/graphics/svg.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/svg.pyx
[INFO]: Cythonize kivy/graphics/tesselator.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/tesselator.pyx
[INFO]: Cythonize kivy/graphics/texture.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/texture.pyx
[INFO]: Cythonize kivy/graphics/transformation.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/transformation.pyx
[INFO]: Cythonize kivy/graphics/vbo.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/vbo.pyx
[INFO]: Cythonize kivy/graphics/vertex.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/vertex.pyx
[INFO]: Cythonize kivy/graphics/vertex_instructions.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/vertex_instructions.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_debug.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/cgl_backend/cgl_debug.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_gl.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/cgl_backend/cgl_gl.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_glew.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/cgl_backend/cgl_glew.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_mock.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/cgl_backend/cgl_mock.pyx
[INFO]: Cythonize kivy/graphics/cgl_backend/cgl_sdl2.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/graphics/cgl_backend/cgl_sdl2.pyx
[INFO]: Cythonize kivy/lib/gstplayer/_gstplayer.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/lib/gstplayer/_gstplayer.pyx
[INFO]: Cythonize kivy/lib/vidcore_lite/bcm.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/lib/vidcore_lite/bcm.pyx
[INFO]: Cythonize kivy/lib/vidcore_lite/egl.pyx
[INFO]: -> running python3 -m Cython.Build.Cythonize ./kivy/lib/vidcore_lite/egl.pyx
[INFO]: -> directory context .
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: -> running python3 setup.py build_ext -v
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: Stripping object files
[INFO]: -> running find . -iname *.so -exec /usr/bin/echo {} ;
[INFO]: -> running find . -iname *.so -exec arm-linux-androideabi-strip --strip-unneeded {} ;
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Installing kivy into site-packages
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/kivy/armeabi-v7a__ndk_target_21/kivy
[INFO]: -> running python3 setup.py install -O2 --root=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp --install-lib=.
[INFO]: <- directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android
[INFO]: Building opencv for armeabi-v7a
[INFO]: -> running mkdir -p /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build
[INFO]: -> directory context /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build
[INFO]: -> running cmake -DP4A=ON -DANDROID_ABI=armeabi-v7a -DANDROID_STANDALONE_TOOLCHAIN=/home/oskar/.buildozer/android/platform/android-ndk-r19c -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_EXECUTABLE=/home/...(and 2024 more)
working: See also "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeError.log". Exception in thread background thread for pid 29054:
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: /usr/bin/cmake -DP4A=ON -DANDROID_ABI=armeabi-v7a -DANDROID_STANDALONE_TOOLCHAIN=/home/oskar/.buildozer/android/platform/android-ndk-r19c -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_EXECUTABLE=/home/oskar/.buildozer/android/platform/android-sdk/tools/android -DCMAKE_TOOLCHAIN_FILE=/home/oskar/.buildozer/android/platform/android-ndk-r19c/build/cmake/android.toolchain.cmake '-DCMAKE_SHARED_LINKER_FLAGS=-L/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build -lpython3.8m' -DBUILD_WITH_STANDALONE_TOOLCHAIN=ON -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF -DBUILD_opencv_java=OFF -DBUILD_opencv_java_bindings_generator=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DENABLE_TESTING=OFF -DBUILD_EXAMPLES=OFF -DBUILD_ANDROID_EXAMPLES=OFF -DBUILD_OPENCV_PYTHON3=ON -DBUILD_OPENCV_PYTHON2=OFF -DOPENCV_SKIP_PYTHON_LOADER=ON -DOPENCV_PYTHON3_INSTALL_PATH=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp -DPYTHON_DEFAULT_EXECUTABLE=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 -DPYTHON3_EXECUTABLE=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 -DPYTHON3_INCLUDE_PATH=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DPYTHON3_LIBRARIES=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build/libpython3.8m.so -DPYTHON3_NUMPY_INCLUDE_DIRS=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/numpy/core/include -DPYTHON3_PACKAGES_PATH=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv
STDOUT:
-- Check for working CXX compiler: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
-- Check for working CXX compiler: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-- Check for working C compiler: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
-- Found PythonInterp: /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 (found suitable version "3.8.1", minimum required is "3.2")
-- Looking for ccache - not found
-- Performing Test HAVE_CXX_FSIGNED_CHAR
-- Performing Test HAVE_CXX_FSIGNED_CHAR - Success
-- Performing Test HAVE_C_FSIGNED_CHAR
-- Performing Test HAVE_C_FSIGNED_CHAR - Success
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Success
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Success
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Success
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Success
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Success
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Success
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Success
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Success
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Success
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Success
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Success
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Success
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Success
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_WSHADOW
-- Performing Test HAVE_CXX_WSHADOW - Success
-- Performing Test HAVE_C_WSHADOW
-- Performing Test HAVE_C_WSHADOW - Success
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Success
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Success
-- Performing Test HAVE_CXX_WUNINITIALIZED
-- Performing Test HAVE_CXX_WUNINITIALIZED - Success
-- Performing Test HAVE_C_WUNINITIALIZED
-- Performing Test HAVE_C_WUNINITIALIZED - Success
-- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE - Success
-- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE - Success
-- Performing Test HAVE_CXX_WNO_NARROWING
-- Performing Test HAVE_CXX_WNO_NARROWING - Success
-- Performing Test HAVE_C_WNO_NARROWING
-- Performing Test HAVE_C_WNO_NARROWING - Success
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success
-- Performing Test HAVE_CXX_WNO_COMMENT
-- Performing Test HAVE_CXX_WNO_COMMENT - Success
-- Performing Test HAVE_C_WNO_COMMENT
-- Performing Test HAVE_C_WNO_COMMENT - Success
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS
-- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_C_QUNUSED_ARGUMENTS
-- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_C_FFUNCTION_SECTIONS
-- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_CXX_FDATA_SECTIONS
-- Performing Test HAVE_CXX_FDATA_SECTIONS - Success
-- Performing Test HAVE_C_FDATA_SECTIONS
-- Performing Test HAVE_C_FDATA_SECTIONS - Success
-- Performing Test HAVE_CXX_MFPU_VFPV3
-- Performing Test HAVE_CXX_MFPU_VFPV3 - Success
-- Performing Test HAVE_CPU_NEON_SUPPORT (check file: cmake/checks/cpu_neon.cpp)
-- Performing Test HAVE_CPU_NEON_SUPPORT - Failed
-- Performing Test HAVE_CXX_MFPU_NEON (check file: cmake/checks/cpu_neon.cpp)
-- Performing Test HAVE_CXX_MFPU_NEON - Success
-- Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CPU_FP16_SUPPORT - Failed
-- Performing Test HAVE_CXX_MFPU_NEON_FP16 (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CXX_MFPU_NEON_FP16 - Success
-- Performing Test HAVE_CPU_BASELINE_FLAGS
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success
-- Performing Test HAVE_CXX_MFP16_FORMAT_IEEE
-- Performing Test HAVE_CXX_MFP16_FORMAT_IEEE - Failed
-- Performing Test HAVE_C_MFP16_FORMAT_IEEE
-- Performing Test HAVE_C_MFP16_FORMAT_IEEE - Failed
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Success
-- OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for memalign
-- Looking for memalign - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found ZLIB: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/libz.a (found suitable version "1.2.7", minimum required is "1.2.3")
-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_C_WNO_SIGN_COMPARE
-- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success
-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32
-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Success
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success
-- libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.1-libjpeg-turbo
-- Check size of size_t
-- Check size of size_t - done
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for io.h
-- Looking for io.h - not found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for search.h
-- Looking for search.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Performing Test C_HAS_inline
-- Performing Test C_HAS_inline - Success
-- Check size of signed short
-- Check size of signed short - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of signed int
-- Check size of signed int - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of signed long
-- Check size of signed long - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of signed long long
-- Check size of signed long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Check size of unsigned char *
-- Check size of unsigned char * - done
-- Check size of ptrdiff_t
-- Check size of ptrdiff_t - done
-- Check size of INT8
-- Check size of INT8 - failed
-- Check size of INT16
-- Check size of INT16 - failed
-- Check size of INT32
-- Check size of INT32 - failed
-- Looking for floor
-- Looking for floor - found
-- Looking for pow
-- Looking for pow - found
-- Looking for sqrt
-- Looking for sqrt - found
-- Looking for isascii
-- Looking for isascii - found
-- Looking for memset
-- Looking for memset - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for setmode
-- Looking for setmode - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for lfind
-- Looking for lfind - found
-- Performing Test HAVE_SNPRINTF
-- Performing Test HAVE_SNPRINTF - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Failed
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WNO_UNDEF
-- Performing Test HAVE_C_WNO_UNDEF - Success
-- Performing Test HAVE_C_WNO_UNUSED
-- Performing Test HAVE_C_WNO_UNUSED - Success
-- Performing Test HAVE_C_WNO_CAST_ALIGN
-- Performing Test HAVE_C_WNO_CAST_ALIGN - Success
-- Performing Test HAVE_C_WNO_SHADOW
-- Performing Test HAVE_C_WNO_SHADOW - Success
-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED
-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed
-- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST
-- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success
-- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST
-- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success
-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION
-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - Failed
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_WNO_UNDEF
-- Performing Test HAVE_CXX_WNO_UNDEF - Success
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION
-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test HAVE_C_WNO_UNINITIALIZED
-- Performing Test HAVE_C_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Failed
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAVE_C_WNO_POINTER_COMPARE
-- Performing Test HAVE_C_WNO_POINTER_COMPARE - Failed
-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE
-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE - Success
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success
-- Looking for semaphore.h
-- Looking for semaphore.h - found
-- Performing Test HAVE_CXX_WNO_SHADOW
-- Performing Test HAVE_CXX_WNO_SHADOW - Success
-- Performing Test HAVE_CXX_WNO_UNUSED
-- Performing Test HAVE_CXX_WNO_UNUSED - Success
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_CXX_WNO_SWITCH
-- Performing Test HAVE_CXX_WNO_SWITCH - Success
-- Performing Test HAVE_CXX_WNO_PARENTHESES
-- Performing Test HAVE_CXX_WNO_PARENTHESES - Success
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAVE_CXX_WNO_EXTRA
-- Performing Test HAVE_CXX_WNO_EXTRA - Success
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Failed
-- Performing Test HAVE_CXX_WNO_DEPRECATED
-- Performing Test HAVE_CXX_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Failed
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success
-- Performing Test HAVE_CXX_WNO_SIGN_PROMO
-- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Success
-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS
-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION
-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE
-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success
-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32
-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF
-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Success
-- Android: fixup -g compiler option from Android toolchain
-- Update variable ANDROID_SDK from environment: /home/oskar/.buildozer/android/platform/android-sdk
-- Android SDK Tools: ver. 2.0 (description: 'Android SDK Command-line Tools')
-- Android SDK Build Tools: ver. 30.0.0-rc4 (subdir 30.0.0-rc4 from 30.0.0-rc4)
CMake Error at cmake/android/OpenCVDetectAndroidSDK.cmake:176 (message):
Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer.
Use BUILD_ANDROID_PROJECTS=OFF to prepare Android project files without
building them
Call Stack (most recent call first):
CMakeLists.txt:780 (include)
-- Configuring incomplete, errors occurred!
See also "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeError.log".
STDERR:
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1260, in <module>
main()
File "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 709, in __init__
getattr(self, command)(args)
File "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 154, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 213, in build_dist_from_args
build_recipes(build_order, python_modules, ctx,
File "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 577, in build_recipes
recipe.build_arch(arch)
File "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/opencv/__init__.py", line 74, in build_arch
shprint(sh.cmake,
File "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/usr/local/lib/python3.8/dist-packages/sh-1.13.1-py3.8.egg/sh.py", line 925, in next
self.wait()
File "/usr/local/lib/python3.8/dist-packages/sh-1.13.1-py3.8.egg/sh.py", line 849, in wait
self.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: /usr/bin/cmake -DP4A=ON -DANDROID_ABI=armeabi-v7a -DANDROID_STANDALONE_TOOLCHAIN=/home/oskar/.buildozer/android/platform/android-ndk-r19c -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_EXECUTABLE=/home/oskar/.buildozer/android/platform/android-sdk/tools/android -DCMAKE_TOOLCHAIN_FILE=/home/oskar/.buildozer/android/platform/android-ndk-r19c/build/cmake/android.toolchain.cmake '-DCMAKE_SHARED_LINKER_FLAGS=-L/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build -lpython3.8m' -DBUILD_WITH_STANDALONE_TOOLCHAIN=ON -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF -DBUILD_opencv_java=OFF -DBUILD_opencv_java_bindings_generator=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DENABLE_TESTING=OFF -DBUILD_EXAMPLES=OFF -DBUILD_ANDROID_EXAMPLES=OFF -DBUILD_OPENCV_PYTHON3=ON -DBUILD_OPENCV_PYTHON2=OFF -DOPENCV_SKIP_PYTHON_LOADER=ON -DOPENCV_PYTHON3_INSTALL_PATH=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp -DPYTHON_DEFAULT_EXECUTABLE=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 -DPYTHON3_EXECUTABLE=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 -DPYTHON3_INCLUDE_PATH=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/Include -DPYTHON3_LIBRARIES=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_21/python3/android-build/libpython3.8m.so -DPYTHON3_NUMPY_INCLUDE_DIRS=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/numpy/core/include -DPYTHON3_PACKAGES_PATH=/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv
STDOUT:
-- Check for working CXX compiler: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
-- Check for working CXX compiler: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-- Check for working C compiler: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
-- Found PythonInterp: /mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 (found suitable version "3.8.1", minimum required is "3.2")
-- Looking for ccache - not found
-- Performing Test HAVE_CXX_FSIGNED_CHAR
-- Performing Test HAVE_CXX_FSIGNED_CHAR - Success
-- Performing Test HAVE_C_FSIGNED_CHAR
-- Performing Test HAVE_C_FSIGNED_CHAR - Success
-- Performing Test HAVE_CXX_W
-- Performing Test HAVE_CXX_W - Success
-- Performing Test HAVE_C_W
-- Performing Test HAVE_C_W - Success
-- Performing Test HAVE_CXX_WALL
-- Performing Test HAVE_CXX_WALL - Success
-- Performing Test HAVE_C_WALL
-- Performing Test HAVE_C_WALL - Success
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_C_WERROR_RETURN_TYPE
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_WERROR_ADDRESS
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Success
-- Performing Test HAVE_C_WERROR_ADDRESS
-- Performing Test HAVE_C_WERROR_ADDRESS - Success
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success
-- Performing Test HAVE_CXX_WFORMAT
-- Performing Test HAVE_CXX_WFORMAT - Success
-- Performing Test HAVE_C_WFORMAT
-- Performing Test HAVE_C_WFORMAT - Success
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WMISSING_DECLARATIONS
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_C_WMISSING_PROTOTYPES
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WUNDEF
-- Performing Test HAVE_CXX_WUNDEF - Success
-- Performing Test HAVE_C_WUNDEF
-- Performing Test HAVE_C_WUNDEF - Success
-- Performing Test HAVE_CXX_WINIT_SELF
-- Performing Test HAVE_CXX_WINIT_SELF - Success
-- Performing Test HAVE_C_WINIT_SELF
-- Performing Test HAVE_C_WINIT_SELF - Success
-- Performing Test HAVE_CXX_WPOINTER_ARITH
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Success
-- Performing Test HAVE_C_WPOINTER_ARITH
-- Performing Test HAVE_C_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_WSHADOW
-- Performing Test HAVE_CXX_WSHADOW - Success
-- Performing Test HAVE_C_WSHADOW
-- Performing Test HAVE_C_WSHADOW - Success
-- Performing Test HAVE_CXX_WSIGN_PROMO
-- Performing Test HAVE_CXX_WSIGN_PROMO - Success
-- Performing Test HAVE_C_WSIGN_PROMO
-- Performing Test HAVE_C_WSIGN_PROMO - Success
-- Performing Test HAVE_CXX_WUNINITIALIZED
-- Performing Test HAVE_CXX_WUNINITIALIZED - Success
-- Performing Test HAVE_C_WUNINITIALIZED
-- Performing Test HAVE_C_WUNINITIALIZED - Success
-- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE - Success
-- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE - Success
-- Performing Test HAVE_CXX_WNO_NARROWING
-- Performing Test HAVE_CXX_WNO_NARROWING - Success
-- Performing Test HAVE_C_WNO_NARROWING
-- Performing Test HAVE_C_WNO_NARROWING - Success
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
-- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
-- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success
-- Performing Test HAVE_CXX_WNO_COMMENT
-- Performing Test HAVE_CXX_WNO_COMMENT - Success
-- Performing Test HAVE_C_WNO_COMMENT
-- Performing Test HAVE_C_WNO_COMMENT - Success
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
-- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success
-- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS
-- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_C_QUNUSED_ARGUMENTS
-- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS
-- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_C_FFUNCTION_SECTIONS
-- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success
-- Performing Test HAVE_CXX_FDATA_SECTIONS
-- Performing Test HAVE_CXX_FDATA_SECTIONS - Success
-- Performing Test HAVE_C_FDATA_SECTIONS
-- Performing Test HAVE_C_FDATA_SECTIONS - Success
-- Performing Test HAVE_CXX_MFPU_VFPV3
-- Performing Test HAVE_CXX_MFPU_VFPV3 - Success
-- Performing Test HAVE_CPU_NEON_SUPPORT (check file: cmake/checks/cpu_neon.cpp)
-- Performing Test HAVE_CPU_NEON_SUPPORT - Failed
-- Performing Test HAVE_CXX_MFPU_NEON (check file: cmake/checks/cpu_neon.cpp)
-- Performing Test HAVE_CXX_MFPU_NEON - Success
-- Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CPU_FP16_SUPPORT - Failed
-- Performing Test HAVE_CXX_MFPU_NEON_FP16 (check file: cmake/checks/cpu_fp16.cpp)
-- Performing Test HAVE_CXX_MFPU_NEON_FP16 - Success
-- Performing Test HAVE_CPU_BASELINE_FLAGS
-- Performing Test HAVE_CPU_BASELINE_FLAGS - Success
-- Performing Test HAVE_CXX_MFP16_FORMAT_IEEE
-- Performing Test HAVE_CXX_MFP16_FORMAT_IEEE - Failed
-- Performing Test HAVE_C_MFP16_FORMAT_IEEE
-- Performing Test HAVE_C_MFP16_FORMAT_IEEE - Failed
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Success
-- OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for memalign
-- Looking for memalign - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found ZLIB: /home/oskar/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/libz.a (found suitable version "1.2.7", minimum required is "1.2.3")
-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_C_WNO_SIGN_COMPARE
-- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success
-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32
-- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Success
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success
-- libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.1-libjpeg-turbo
-- Check size of size_t
-- Check size of size_t - done
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for io.h
-- Looking for io.h - not found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for search.h
-- Looking for search.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Performing Test C_HAS_inline
-- Performing Test C_HAS_inline - Success
-- Check size of signed short
-- Check size of signed short - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of signed int
-- Check size of signed int - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of signed long
-- Check size of signed long - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of signed long long
-- Check size of signed long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Check size of unsigned char *
-- Check size of unsigned char * - done
-- Check size of ptrdiff_t
-- Check size of ptrdiff_t - done
-- Check size of INT8
-- Check size of INT8 - failed
-- Check size of INT16
-- Check size of INT16 - failed
-- Check size of INT32
-- Check size of INT32 - failed
-- Looking for floor
-- Looking for floor - found
-- Looking for pow
-- Looking for pow - found
-- Looking for sqrt
-- Looking for sqrt - found
-- Looking for isascii
-- Looking for isascii - found
-- Looking for memset
-- Looking for memset - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for setmode
-- Looking for setmode - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for strstr
-- Looking for strstr - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtol
-- Looking for strtol - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for lfind
-- Looking for lfind - found
-- Performing Test HAVE_SNPRINTF
-- Performing Test HAVE_SNPRINTF - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Failed
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_C_WNO_UNDEF
-- Performing Test HAVE_C_WNO_UNDEF - Success
-- Performing Test HAVE_C_WNO_UNUSED
-- Performing Test HAVE_C_WNO_UNUSED - Success
-- Performing Test HAVE_C_WNO_CAST_ALIGN
-- Performing Test HAVE_C_WNO_CAST_ALIGN - Success
-- Performing Test HAVE_C_WNO_SHADOW
-- Performing Test HAVE_C_WNO_SHADOW - Success
-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED
-- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed
-- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST
-- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success
-- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST
-- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success
-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION
-- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - Failed
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER
-- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_WNO_UNDEF
-- Performing Test HAVE_CXX_WNO_UNDEF - Success
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE
-- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION
-- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test HAVE_C_WNO_UNINITIALIZED
-- Performing Test HAVE_C_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER
-- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Failed
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW
-- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAVE_C_WNO_POINTER_COMPARE
-- Performing Test HAVE_C_WNO_POINTER_COMPARE - Failed
-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE
-- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE - Success
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
-- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success
-- Looking for semaphore.h
-- Looking for semaphore.h - found
-- Performing Test HAVE_CXX_WNO_SHADOW
-- Performing Test HAVE_CXX_WNO_SHADOW - Success
-- Performing Test HAVE_CXX_WNO_UNUSED
-- Performing Test HAVE_CXX_WNO_UNUSED - Success
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE
-- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED
-- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success
-- Performing Test HAVE_CXX_WNO_SWITCH
-- Performing Test HAVE_CXX_WNO_SWITCH - Success
-- Performing Test HAVE_CXX_WNO_PARENTHESES
-- Performing Test HAVE_CXX_WNO_PARENTHESES - Success
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS
-- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAVE_CXX_WNO_EXTRA
-- Performing Test HAVE_CXX_WNO_EXTRA - Success
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION
-- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Failed
-- Performing Test HAVE_CXX_WNO_DEPRECATED
-- Performing Test HAVE_CXX_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Failed
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES
-- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success
-- Performing Test HAVE_CXX_WNO_SIGN_PROMO
-- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE
-- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Success
-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS
-- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION
-- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE
-- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success
-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32
-- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF
-- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH
-- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Success
-- Android: fixup -g compiler option from Android toolchain
-- Update variable ANDROID_SDK from environment: /home/oskar/.buildozer/android/platform/android-sdk
-- Android SDK Tools: ver. 2.0 (description: 'Android SDK Command-line Tools')
-- Android SDK Build Tools: ver. 30.0.0-rc4 (subdir 30.0.0-rc4 from 30.0.0-rc4)
CMake Error at cmake/android/OpenCVDetectAndroidSDK.cmake:176 (message):
Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer.
Use BUILD_ANDROID_PROJECTS=OFF to prepare Android project files without
building them
Call Stack (most recent call first):
CMakeLists.txt:780 (include)
-- Configuring incomplete, errors occurred!
See also "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeError.log".
STDERR:
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy,numpy,opencv --arch armeabi-v7a --copy-libs --color=always --storage-dir="/mnt/c/Users/loska/Desktop/test_app/.buildozer/android/platform/build-armeabi-v7a" --ndk-api=21
# ENVIRONMENT:
# SHELL = '/bin/bash'
# WSL_DISTRO_NAME = 'Ubuntu-20.04'
# NAME = 'LAPTOP-KNH8O2TQ'
# PWD = '/mnt/c/Users/loska/Desktop/test_app'
# LOGNAME = 'oskar'
# HOME = '/home/oskar'
# LANG = 'C.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:'
# LESSCLOSE = '/usr/bin/lesspipe %s %s'
# TERM = 'xterm-256color'
# LESSOPEN = '| /usr/bin/lesspipe %s'
# USER = 'oskar'
# SHLVL = '1'
# WSLENV = ''
# XDG_DATA_DIRS = '/usr/local/share:/usr/share:/var/lib/snapd/desktop'
# PATH = ('/home/oskar/.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:/mnt/c/Program '
'Files/WindowsApps/CanonicalGroupLimited.Ubuntu20.04onWindows_2004.2020.424.0_x64__79rhkp1fndgsc:/mnt/c/Program '
'Files/Haskell/bin:/mnt/d/Haskell8.4.3/lib/extralibs/bin:/mnt/d/Haskell8.4.3/bin:/mnt/c/Program '
'Files (x86)/Intel/iCLS Client/:/mnt/c/Program Files/Intel/iCLS '
'Client/:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program '
'Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program '
'Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files '
'(x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program '
'Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files '
'(x86)/NVIDIA '
'Corporation/PhysX/Common:/mnt/c/Windows/System32/OpenSSH/bin:/mnt/c/Program '
'Files/dotnet/:/mnt/d/Haskell8.4.3/mingw/bin:/mnt/c/Program Files '
'(x86)/GnuWin32/bin:/mnt/d/ArucoStuff/cpp/opencv/build/x64/vc15/bin:/mnt/c/Program '
'Files/Git/cmd:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files '
'(x86)/Brackets/command:/mnt/c/Android:/mnt/c/Program Files/NVIDIA '
'Corporation/NVIDIA '
'NvDLISR:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/loska/AppData/Local/Programs/Python/Python38/Scripts/:/mnt/c/Users/loska/AppData/Local/Programs/Python/Python38/:/mnt/c/Users/loska/AppData/Roaming/local/bin:/mnt/c/Users/loska/AppData/Local/Programs/Python/Python36/Scripts/:/mnt/c/Users/loska/AppData/Local/Programs/Python/Python36/:/mnt/c/Users/loska/AppData/Roaming/cabal/bin:/mnt/c/MinGW/bin:/mnt/c/Users/loska/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/loska/AppData/Local/Android/Sdk/emulator:/mnt/c/Users/loska/AppData/Local/Android/Sdk/cmake/3.6.4111459/bin:/mnt/c/Program '
'Files/CMake/bin:/mnt/c/ffmpeg/bin:/mnt/c/Program Files '
'(x86)/Gtk+/bin:/mnt/c/Program Files/erl10.3/bin:/mnt/c/Program Files '
'(x86)/Java/jdk1.8.0_192/bin:/mnt/c/Program Files/JetBrains/PyCharm Community '
'Edition '
'2019.2.1/bin:/mnt/c/Users/loska/AppData/Roaming/npm:/mnt/c/Users/loska/AppData/Local/Google/Cloud '
'SDK/google-cloud-sdk/bin:/snap/bin')
# HOSTTYPE = 'x86_64'
# OLDPWD = '/home/oskar'
# _ = '/usr/local/bin/buildozer'
# PACKAGES_PATH = '/home/oskar/.buildozer/android/packages'
# ANDROIDSDK = '/home/oskar/.buildozer/android/platform/android-sdk'
# ANDROIDNDK = '/home/oskar/.buildozer/android/platform/android-ndk-r19c'
# ANDROIDAPI = '27'
# 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
Have you tried buildozer android clean? buildozer distclean? Or maybe just delete the SDK tools folder to make it redownload.
I have tried buildozer android clean and deleting the android-sdk folder with no luck.
Not sure why it would have to redownload anyways. I downloaded buildozer for the first time last week. I manage to push a working apk to my device that works fine unless it has the opencv dependency. Adding opencv to the venv, main.py and the list of requirements gives the above error. I have tried it on my friends computer with a complete Virtual Machine and not only WSL and get the same error.
We are looking into avoiding the crash by installing Android SDK Tools (deprecated since 2017: https://developer.android.com/studio/releases/sdk-tools), manually by using the sdkmanager at .buildozer/android/platform/android-sdk/tools/bin however this doesn't work either. Some help or other ideas would be appreciated.
Basically I'm trying to find whether this issue is due to buildozer, a deprecated p4a recipe or opencv themselves.
Are you able to reproduce the error?
We managed to get it to compile with some hacking.
Basically opencv(either p4a or the organization) is not compatible with the latest android sdk tools file system. Since setting the android.sdk in buildozer.spec is ignored(# WARNING: Config token app android.sdk is deprecated and ignored, but you set value 15 #android.sdk = 20), we had to rename the cmdline-tools folder(.buildozer/android/platform/android-sdk/tools) use the sdkmanager in it to manually install the deprecated "tools" and delete the cmdline-tools folder.
Afterwards we used the sdkmanager in the new deprecated tools folder to reinstall buildtools, platform-tools and platform.
This is probably due to some hardcoded paths in opencv's compilation for android.
Maybe change the buildozer.spec file to enable an sdk-installation with the old tools instead of cmdline-tools?
Also maybe the timing needs a slight improvement, my compilation took a bit over 35mins and in the end it printed: BUILD SUCCESSFUL in 21s
I use the latest SDK and have built apps with opencv multiple times successfully, and not only me. Also, the SDK is not deprecated, just the way it is packaged changed — now it is available with other stuff as a bundle called commandlinetools.
And about what I meant by redownloading, it sometimes happens that something for whatever reason ends up broken. That's why every time building fails, and you can't figure it out, it's worth cleaning the problematic platform environment (built packages etc.), or even a whole building environment (SDK etc.).
What about the 'timing', I believe it doesn't count even checking your tool set or doing tests, for example, not even talking about downloading something. The first build always takes a long time to set everything up, then it is usually no more than 30 seconds, and that's on VM.
Yes that definitely feels like an upstream issue to me as they don't seem to support command line tools yet https://github.com/opencv/opencv/blob/4.3.0/cmake/android/OpenCVDetectAndroidSDK.cmake#L176 Please take a look at their existing issue and report if there if needed. It's also possible to patch it p4a side until they take action. Pull requests are welcome :smile:
We managed to get it to compile with some hacking.
Basically opencv(either p4a or the organization) is not compatible with the latest android sdk tools file system. Since setting the android.sdk in buildozer.spec is ignored(# WARNING: Config token app android.sdk is deprecated and ignored, but you set value 15 #android.sdk = 20), we had to rename the cmdline-tools folder(.buildozer/android/platform/android-sdk/tools) use the sdkmanager in it to manually install the deprecated "tools" and delete the cmdline-tools folder.
Afterwards we used the sdkmanager in the new deprecated tools folder to reinstall buildtools, platform-tools and platform.
This is probably due to some hardcoded paths in opencv's compilation for android.
Maybe change the buildozer.spec file to enable an sdk-installation with the old tools instead of cmdline-tools?
Dear Osklar, thanks for the recommended solution. I'm very new to kivy, and having the same issue. I tried your solution, but I still receive the same error "Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer".I'm most probably skipping some steps.. Would you please open a little bit your steps, including the commands and versions for reinstalling buildtools, platform-tools and platform? Thanks a lot in advance
We managed to get it to compile with some hacking. Basically opencv(either p4a or the organization) is not compatible with the latest android sdk tools file system. Since setting the android.sdk in buildozer.spec is ignored(# WARNING: Config token app android.sdk is deprecated and ignored, but you set value 15 #android.sdk = 20), we had to rename the cmdline-tools folder(.buildozer/android/platform/android-sdk/tools) use the sdkmanager in it to manually install the deprecated "tools" and delete the cmdline-tools folder. Afterwards we used the sdkmanager in the new deprecated tools folder to reinstall buildtools, platform-tools and platform. This is probably due to some hardcoded paths in opencv's compilation for android. Maybe change the buildozer.spec file to enable an sdk-installation with the old tools instead of cmdline-tools?
Dear Osklar, thanks for the recommended solution. I'm very new to kivy, and having the same issue. I tried your solution, but I still receive the same error "Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer".I'm most probably skipping some steps.. Would you please open a little bit your steps, including the commands and versions for reinstalling buildtools, platform-tools and platform? Thanks a lot in advance
Sure cihangoksu,
so basically there is a program that comes with installing buildozer found here "~/.buildozer/android/platform/android-sdk/tools/bin" (or wherever you have buildozer installed) called sdkmanager. With this program you can change the versions of android sdk, tools and platforms, etc.
The error: "Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer." hints that we need Android SDK Tools, which has been replaced with something called cmdline-tools recently. You can install Android SDK Tools using the sdkmanager as so:
./sdkmanager --install "tools"
as you can find in the list when writing:
./sdkmanager --list --include_obsolete
Running the installation may require that you first create a file called /root/.android/repositories.cfg. The issue is that all these programs inside "~/.buildozer/android/platform/android-sdk/tools" are the cmdline-tools you are trying to replace with the old sdk tools, include sdkmanager that you are currently running. Therefor to be able to actually reinstall a program using the program itself you need to first rename the folder to something like "~/.buildozer/android/platform/android-sdk/opencv_incompatible_tools" before running ./sdkmanager --install "tools". This will then create a new folder "~/.buildozer/android/platform/android-sdk/tools" with a new sdkmanager which can be used to install some build-tools and platform before compiling. If all done correctly you should be able to do like this to see that all the installed packages can be found by you sdkmanager:
~/.buildozer/android/platform/android-sdk/tools/bin$ sudo ./sdkmanager --list --include_obsolete Warning: File /root/.android/repositories.cfg could not be loaded. Installed packages:=====================] 100% Computing updates...
| Path | Version | Description | Location |
|---|---|---|---|
| emulator | 30.0.12 | Android Emulator | emulator/ |
| patcher;v4 | 1 | SDK Patch Applier v4 | patcher/v4/ |
| platform-tools | 30.0.2 | Android SDK Platform-Tools | platform-tools/ |
| platforms;android-27 | 3 | Android SDK Platform 27 | platforms/android-27/ |
Installed Obsolete Packages:
| Path | Version | Description | Location |
|---|---|---|---|
| build-tools;29.0.0-rc3 | 29.0.0 rc3 | Android SDK Build-Tools 29-rc3 | build-tools/29.0.0-rc3/ |
| tools | 26.1.1 | Android SDK Tools | tools/ |
After this buildozer android debug should work fine :)
We managed to get it to compile with some hacking. Basically opencv(either p4a or the organization) is not compatible with the latest android sdk tools file system. Since setting the android.sdk in buildozer.spec is ignored(# WARNING: Config token app android.sdk is deprecated and ignored, but you set value 15 #android.sdk = 20), we had to rename the cmdline-tools folder(.buildozer/android/platform/android-sdk/tools) use the sdkmanager in it to manually install the deprecated "tools" and delete the cmdline-tools folder. Afterwards we used the sdkmanager in the new deprecated tools folder to reinstall buildtools, platform-tools and platform. This is probably due to some hardcoded paths in opencv's compilation for android. Maybe change the buildozer.spec file to enable an sdk-installation with the old tools instead of cmdline-tools?
Dear Osklar, thanks for the recommended solution. I'm very new to kivy, and having the same issue. I tried your solution, but I still receive the same error "Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer".I'm most probably skipping some steps.. Would you please open a little bit your steps, including the commands and versions for reinstalling buildtools, platform-tools and platform? Thanks a lot in advance
Sure cihangoksu,
so basically there is a program that comes with installing buildozer found here "~/.buildozer/android/platform/android-sdk/tools/bin" (or wherever you have buildozer installed) called sdkmanager. With this program you can change the versions of android sdk, tools and platforms, etc.
The error: "Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer." hints that we need Android SDK Tools, which has been replaced with something called cmdline-tools recently. You can install Android SDK Tools using the sdkmanager as so:
./sdkmanager --install "tools"
as you can find in the list when writing:
./sdkmanager --list --include_obsolete
Running the installation may require that you first create a file called /root/.android/repositories.cfg. The issue is that all these programs inside "~/.buildozer/android/platform/android-sdk/tools" are the cmdline-tools you are trying to replace with the old sdk tools, include sdkmanager that you are currently running. Therefor to be able to actually reinstall a program using the program itself you need to first rename the folder to something like "~/.buildozer/android/platform/android-sdk/opencv_incompatible_tools" before running ./sdkmanager --install "tools". This will then create a new folder "~/.buildozer/android/platform/android-sdk/tools" with a new sdkmanager which can be used to install some build-tools and platform before compiling. If all done correctly you should be able to do like this to see that all the installed packages can be found by you sdkmanager:
~/.buildozer/android/platform/android-sdk/tools/bin$ sudo ./sdkmanager --list --include_obsolete Warning: File /root/.android/repositories.cfg could not be loaded. Installed packages:=====================] 100% Computing updates...
Path Version Description Location emulator 30.0.12 Android Emulator emulator/ patcher;v4 1 SDK Patch Applier v4 patcher/v4/ platform-tools 30.0.2 Android SDK Platform-Tools platform-tools/ platforms;android-27 3 Android SDK Platform 27 platforms/android-27/ Installed Obsolete Packages:
Path Version Description Location build-tools;29.0.0-rc3 29.0.0 rc3 Android SDK Build-Tools 29-rc3 build-tools/29.0.0-rc3/ tools 26.1.1 Android SDK Tools tools/ After this buildozer android debug should work fine :)
You rock!! Thank you very much, for a very detailed description all clear now... I followed your steps and app opens now without any error. However, whenever I press a button to activate the camera, the app crashes and turns back to the phone's main screen. Do you think this is also opencv-relevant? (Btw I gave CAMERA permissions both in spec file and in my phone) Thank you in advance for your help :-)
@osklars this is a bug tracker, not a help forum. Use Discord, Stackoverflow or forum for support
Hello,
Below you'll find a quick fix for the version issue. It works on python 3.6.2, WSL Ubuntu and buildozer.
As it's been described below the issue comes from openCV build (cmake) who's using a deprecated sdk tools named tools. This one has been replaced by cmdlines-tools.
- Download cmdlines-tools from google
- Create a directory for the android sdk at buildozer android location:
mkdir ~/.buildozer/android/platform/android-sdk - Move the zip to this folder and unzip it
- Rename the folder
mv tools old-tools - Install missing dependencies & the famous
tools:sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "tools"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "build-tools;29.0.0-rc3"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "platforms;android-27"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "platform-tools"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "patcher;v4"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "emulator"
Now it should work as it will be using the old tools dependency. I've succeed to use opencv on my phone, OnePlus 6T.
I hope it helps
Hello,
I tried iElsha's comment. When I typed: me@ubuntu:~/.buildozer/android/platform/android-sdk/old-tools/bin$ ./sdkmanager --install "tools"
It said:
Warning: Observed package id 'cmdline-tools;2.0' in inconsistent location '/home/me/.buildozer/android/platform/android-sdk/cmdline-tools/cmdline-tools/2.0' (Expected '/home/me/.buildozer/android/platform/android-sdk/cmdline-tools/2.0')
Warning: Observed package id 'tools' in inconsistent location '/home/me/.buildozer/android/platform/android-sdk/cmdline-tools/tools' (Expected '/home/me/.buildozer/android/platform/android-sdk/tools')
Warning: Observed package id 'tools' in inconsistent location '/home/me/.buildozer/android/platform/android-sdk/old-tools' (Expected '/home/me/.buildozer/android/platform/android-sdk/tools')
Warning: Already observed package id 'tools' in '/home/me/.buildozer/android/platform/android-sdk/cmdline-tools/tools'. Skipping duplicate at '/home/me/.buildozer/android/platform/android-sdk/old-tools'
Warning: Observed package id 'cmdline-tools;2.0' in inconsistent location '/home/me/.buildozer/android/platform/android-sdk/cmdline-tools/cmdline-tools/2.0' (Expected '/home/me/.buildozer/android/platform/android-sdk/cmdline-tools/2.0')
Warning: Observed package id 'tools' in inconsistent location '/home/me/.buildozer/android/platform/android-sdk/cmdline-tools/tools' (Expected '/home/me/.buildozer/android/platform/android-sdk/tools')
Warning: Observed package id 'tools' in inconsistent location '/home/me/.buildozer/android/platform/android-sdk/old-tools' (Expected '/home/me/.buildozer/android/platform/android-sdk/tools')
Warning: Already observed package id 'tools' in '/home/me/.buildozer/android/platform/android-sdk/cmdline-tools/tools'. Skipping duplicate at '/home/me/.buildozer/android/platform/android-sdk/old-tools'
Warning: File /home/me/.android/repositories.cfg could not be loaded.
[=======================================] 100% Computing updates...
But then nothing changed. No tools folder was installed.
What have I done wrong? Cheers
Hello,
Below you'll find a quick fix for the version issue. It works on
python 3.6.2, WSL Ubuntu andbuildozer.As it's been described below the issue comes from openCV build (cmake) who's using a deprecated sdk tools named
tools. This one has been replaced bycmdlines-tools.
- Download cmdlines-tools from google
- Create a directory for the android sdk at buildozer android location:
mkdir ~/.buildozer/android/platform/android-sdk- Move the zip to this folder and unzip it
- Rename the folder
mv tools old-tools- Install missing dependencies & the famous
tools:sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "tools"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "build-tools;29.0.0-rc3"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "platforms;android-27"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "platform-tools"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "patcher;v4"sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "emulator"Now it should work as it will be using the old tools dependency. I've succeed to use opencv on my phone, OnePlus 6T.
I hope it helps
Can u able to access the camera through opencv?
5. sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "build-tools;29.0.0-rc3"
are you sure it is right to install these in the root buildozer, or just the buildozer at the app's working directory
I'm facing this problem and none of the solutions proposed have worked for me. Please help!
I just keep getting the same error:
Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer.
Hi, I'm facing the same problem, too. I want to solve it by using sdkmanager, but I can't find sdkmanager in the folder of buildozer. I can't even find the folder of android or platform in buildozer. What's wrong with my installation on buildozer? I have no idea now...
same issue , none of the above work around solved
@osklars is it possible for you to share image of the linux box with open cv build , i tried many ways but it didnt work
Hi Gabriel,
I still see some build failure on your latest commit , also can you please make a readme to make the workflow identical to you.
Regards,
On Wed, Aug 19, 2020 at 4:41 AM Gabriel Pettier [email protected] wrote:
https://github.com/tshirtman/test_p4a_opencv/actions
i created a test project to build from scratch in github action, so anyone can see what it does, and it builds fine, the commands to get there from a clean ubuntu can be found at https://github.com/tshirtman/test_p4a_opencv/blob/master/.github/workflows/buildozer.yml#L19-L30 which are incidentally taken almost straight from the buildozer documentation. the apk is uploaded in the artifact of the build, if someone wants to test it, it does't do anything aside importing cv2 and displaying the version in a Label.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kivy/buildozer/issues/1144#issuecomment-675763626, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQHKUV5L3G2PIO4GHRPKGFDSBMDCZANCNFSM4NYHODGA .
@AndreMiras do you see any quick work around for this issue
I am still facing the issue.
So the solutions proposed above are all from native unix or vm right? or can i do same with a docker image?
They didn't work for me you can try
On Wed, Aug 26, 2020, 20:45 herbyboi [email protected] wrote:
So the solutions proposed above are all from native unix or vm right? or can i do same with a docker image?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kivy/buildozer/issues/1144#issuecomment-680944141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQHKUVYTMFIEX5HK7W4DUMLSCURJFANCNFSM4NYHODGA .
Sure cihangoksu,
so basically there is a program that comes with installing buildozer found here "~/.buildozer/android/platform/android-sdk/tools/bin" (or wherever you have buildozer installed) called sdkmanager. With this program you can change the versions of android sdk, tools and platforms, etc.
The error: "Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer." hints that we need Android SDK Tools, which has been replaced with something called cmdline-tools recently. You can install Android SDK Tools using the sdkmanager as so:
./sdkmanager --install "tools"
as you can find in the list when writing:
./sdkmanager --list --include_obsolete
Running the installation may require that you first create a file called /root/.android/repositories.cfg. The issue is that all these programs inside "~/.buildozer/android/platform/android-sdk/tools" are the cmdline-tools you are trying to replace with the old sdk tools, include sdkmanager that you are currently running. Therefor to be able to actually reinstall a program using the program itself you need to first rename the folder to something like "~/.buildozer/android/platform/android-sdk/opencv_incompatible_tools" before running ./sdkmanager --install "tools". This will then create a new folder "~/.buildozer/android/platform/android-sdk/tools" with a new sdkmanager which can be used to install some build-tools and platform before compiling. If all done correctly you should be able to do like this to see that all the installed packages can be found by you sdkmanager:
~/.buildozer/android/platform/android-sdk/tools/bin$ sudo ./sdkmanager --list --include_obsolete Warning: File /root/.android/repositories.cfg could not be loaded. Installed packages:=====================] 100% Computing updates...
Path Version Description Location emulator 30.0.12 Android Emulator emulator/ patcher;v4 1 SDK Patch Applier v4 patcher/v4/ platform-tools 30.0.2 Android SDK Platform-Tools platform-tools/ platforms;android-27 3 Android SDK Platform 27 platforms/android-27/ Installed Obsolete Packages:
Path Version Description Location build-tools;29.0.0-rc3 29.0.0 rc3 Android SDK Build-Tools 29-rc3 build-tools/29.0.0-rc3/ tools 26.1.1 Android SDK Tools tools/ After this buildozer android debug should work fine :)
@osklars ,
I've tried following your above method, but I'm unable to get it to work. As I've never used android SDK or tools before, I'm not familiar with installation procedures and such. Could you please guide me through the steps?
If it can help someone, I made a Dockerfile to use as workaround. Here it is : https://github.com/tom333/mycamerai/blob/master/Dockerfile
Build it and launch it with podman
podman run -it --privileged -volume /dev/bus/usb:/dev/bus/usb --volume buildozer_home:/root/.buildozer --volume /home/moi/.android:/root/.android --volume .:/home/user/hostcwd buildozer android debug deploy run logcat
We managed to get it to compile with some hacking. Basically opencv(either p4a or the organization) is not compatible with the latest android sdk tools file system. Since setting the android.sdk in buildozer.spec is ignored(# WARNING: Config token app android.sdk is deprecated and ignored, but you set value 15 #android.sdk = 20), we had to rename the cmdline-tools folder(.buildozer/android/platform/android-sdk/tools) use the sdkmanager in it to manually install the deprecated "tools" and delete the cmdline-tools folder. Afterwards we used the sdkmanager in the new deprecated tools folder to reinstall buildtools, platform-tools and platform. This is probably due to some hardcoded paths in opencv's compilation for android. Maybe change the buildozer.spec file to enable an sdk-installation with the old tools instead of cmdline-tools?
Dear Osklar, thanks for the recommended solution. I'm very new to kivy, and having the same issue. I tried your solution, but I still receive the same error "Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer".I'm most probably skipping some steps.. Would you please open a little bit your steps, including the commands and versions for reinstalling buildtools, platform-tools and platform? Thanks a lot in advance
Sure cihangoksu,
so basically there is a program that comes with installing buildozer found here "~/.buildozer/android/platform/android-sdk/tools/bin" (or wherever you have buildozer installed) called sdkmanager. With this program you can change the versions of android sdk, tools and platforms, etc.
The error: "Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer." hints that we need Android SDK Tools, which has been replaced with something called cmdline-tools recently. You can install Android SDK Tools using the sdkmanager as so:
./sdkmanager --install "tools"
as you can find in the list when writing:
./sdkmanager --list --include_obsolete
Running the installation may require that you first create a file called /root/.android/repositories.cfg. The issue is that all these programs inside "~/.buildozer/android/platform/android-sdk/tools" are the cmdline-tools you are trying to replace with the old sdk tools, include sdkmanager that you are currently running. Therefor to be able to actually reinstall a program using the program itself you need to first rename the folder to something like "~/.buildozer/android/platform/android-sdk/opencv_incompatible_tools" before running ./sdkmanager --install "tools". This will then create a new folder "~/.buildozer/android/platform/android-sdk/tools" with a new sdkmanager which can be used to install some build-tools and platform before compiling. If all done correctly you should be able to do like this to see that all the installed packages can be found by you sdkmanager:
~/.buildozer/android/platform/android-sdk/tools/bin$ sudo ./sdkmanager --list --include_obsolete Warning: File /root/.android/repositories.cfg could not be loaded. Installed packages:=====================] 100% Computing updates... Path Version Description Location emulator 30.0.12 Android Emulator emulator/ patcher;v4 1 SDK Patch Applier v4 patcher/v4/ platform-tools 30.0.2 Android SDK Platform-Tools platform-tools/ platforms;android-27 3 Android SDK Platform 27 platforms/android-27/
Installed Obsolete Packages: Path Version Description Location build-tools;29.0.0-rc3 29.0.0 rc3 Android SDK Build-Tools 29-rc3 build-tools/29.0.0-rc3/ tools 26.1.1 Android SDK Tools tools/
After this buildozer android debug should work fine :)
@BlackXDragon
Apologies to bother you, is it possible you can make a small video or image instruction on the work around. I am new to the android conversion process and i have written a kivy app the uses OpenCV but have been stuck with this exact same problem for quiet a longtime now. I will greatly appreciate it.
Hello,
Below you'll find a quick fix for the version issue. It works on
python 3.6.2, WSL Ubuntu andbuildozer.As it's been described below the issue comes from openCV build (cmake) who's using a deprecated sdk tools named
tools. This one has been replaced bycmdlines-tools.1. Download [cmdlines-tools from google](https://developer.android.com/studio#cmdline-tools) 2. Create a directory for the android sdk at buildozer android location: `mkdir ~/.buildozer/android/platform/android-sdk` 3. Move the zip to this folder and unzip it 4. Rename the folder `mv tools old-tools` 5. Install missing dependencies & the famous `tools`: `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "tools"` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "build-tools;29.0.0-rc3"` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "platforms;android-27"` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "platform-tools" ` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "patcher;v4" ` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "emulator"`Now it should work as it will be using the old tools dependency. I've succeed to use opencv on my phone, OnePlus 6T.
I hope it helps
@iElsha
Any possibility you can make a image based or short video instruction on how one can achieve this?I have been seating on this issue for long.
Is there any real resolution to this ? I'm staring at the same problem.
@codinghedgehog-python
There is definitely a real solution to this, or a hack to say. i got it right using @iElsha method below. I simply modified it as follow:
-
After the failed attempt, move to the folder /.buildozer/android/platform/android-sdk `
-
rename the "tools" folder to something like "opencv_incompatible_tools"
-
cd into the renamed folder which is now renamed "opencv_incompatible_tools"
-
cd into "bin" of the the renamed "opencv_incompatible tools" folder such that you are now in renamed "opencv_incompatible_tools/bin", here you will find the "sdkmanager"
-
Now run number 5 of @iElsha instruction as below, to Install missing dependencies & new tools: Note you will have to add your USERNAME of your operating system to his instruction where it says USERNAME.
-
After that you will have a new "tools" folder in the /.buildozer/android/platform/android-sdk
-
Now that we had used the "opencv_incompatible_tools" that we had renamed, delete it. You will only have the new downloaded "tools" folder in your /.buildozer/android/platform/android-sdk
-
Go back and re-run the "buildozer -v android debug deploy run logcat" command, hope it works.
Hello,
Below you'll find a quick fix for the version issue. It works on
python 3.6.2, WSL Ubuntu andbuildozer.As it's been described below the issue comes from openCV build (cmake) who's using a deprecated sdk tools named
tools. This one has been replaced bycmdlines-tools.1. Download [cmdlines-tools from google](https://developer.android.com/studio#cmdline-tools) 2. Create a directory for the android sdk at buildozer android location: `mkdir ~/.buildozer/android/platform/android-sdk` 3. Move the zip to this folder and unzip it 4. Rename the folder `mv tools old-tools` 5. Install missing dependencies & the famous `tools`: `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "tools"` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "build-tools;29.0.0-rc3"` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "platforms;android-27"` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "platform-tools" ` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "patcher;v4" ` `sudo ./sdkmanager --sdk_root=/home/<USERNAME>/.buildozer/android/platform/android-sdk/ --install "emulator"`Now it should work as it will be using the old tools dependency. I've succeed to use opencv on my phone, OnePlus 6T.
I hope it helps
Hi @franslott,
I keep getting the same error even after following the steps. Please see below traceback.
STDOUT:
-- Looking for ccache - not found
-- OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT
-- libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.1-libjpeg-turbo
-- Android: fixup -g compiler option from Android toolchain
-- Update variable ANDROID_SDK from environment: /home/mark/.buildozer/android/platform/android-sdk
CMake Error at cmake/android/OpenCVDetectAndroidSDK.cmake:176 (message):
Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer.
Use BUILD_ANDROID_PROJECTS=OFF to prepare Android project files without
building them
Call Stack (most recent call first):
CMakeLists.txt:780 (include)
-- Configuring incomplete, errors occurred!
See also "/home/mark/frontend/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeOutput.log".
See also "/home/mark/frontend/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/opencv/armeabi-v7a__ndk_target_21/opencv/build/CMakeFiles/CMakeError.log".
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/mark/frontend/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1260, in <module>
main()
File "/home/mark/frontend/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/home/mark/frontend/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 709, in __init__
getattr(self, command)(args)
File "/home/mark/frontend/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 154, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/home/mark/frontend/.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/mark/frontend/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 577, in build_recipes
recipe.build_arch(arch)
File "/home/mark/frontend/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/opencv/__init__.py", line 74, in build_arch
shprint(sh.cmake,
File "/home/mark/frontend/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/home/mark/frontend/venv/lib/python3.8/site-packages/sh.py", line 907, in next
self.wait()
File "/home/mark/frontend/venv/lib/python3.8/site-packages/sh.py", line 837, in wait
self.handle_command_exit_code(exit_code)
File "/home/mark/frontend/venv/lib/python3.8/site-packages/sh.py", line 861, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
@codinghedgehog-python
This is exactly the same errror i was getting, but those steps above solved it for me. Perhaps you should first delete the /.buildozer folder in the home folder and try again, and after it fails with that error, then you continue with the steps i listed above.