Buildozer failed to execute last command. Can anyone please help me. I have been facing this error since a week. I have tried Buildozer in both collab and in github actions but it didnt help. I have also tried uncommenting the p4a.branch line and changing the master to develop
Dhruv-ops-sketch opened this issue · 1 comments
Available Updates:
ID | Installed | Available |
---|
Run ['/root/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager', '--sdk_root=/root/.buildozer/android/platform/android-sdk', 'build-tools;35.0.0-rc4']
Cwd /root/.buildozer/android/platform/android-sdk
License android-sdk-preview-license:
To get started with the Android SDK Preview, you must agree to the following terms and conditions. As described below, please note that this is a preview version of the Android SDK, subject to change, that you use at your own risk. The Android SDK Preview is not a stable release, and may contain errors and defects that can result in serious damage to your computer systems, devices and data.
This is the Android SDK Preview License Agreement (the "License Agreement").
- Introduction
1.1 The Android SDK Preview (referred to in the License Agreement as the “Preview” and specifically including the Android system files, packaged APIs, and Preview library files, if and when they are made available) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the Preview.
1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
- Accepting the License Agreement
2.1 In order to use the Preview, you must first agree to the License Agreement. You may not use the Preview if you do not accept the License Agreement.
2.2 By clicking to accept and/or using the Preview, you hereby agree to the terms of the License Agreement.
2.3 You may not use the Preview and may not accept the License Agreement if you are a person barred from receiving the Preview under the laws of the United States or other countries including the country in which you are resident or from which you use the Preview.
2.4 If you will use the Preview internally within your company or organization you agree to be bound by the License Agreement on behalf of your employer or other entity, and you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the Preview on behalf of your employer or other entity.
- Preview License from Google
3.1 Subject to the terms of the License Agreement, Google grants you a royalty-free, non-assignable, non-exclusive, non-sublicensable, limited, revocable license to use the Preview, personally or internally within your company or organization, solely to develop applications to run on the Android platform.
3.2 You agree that Google or third parties owns all legal right, title and interest in and to the Preview, including any Intellectual Property Rights that subsist in the Preview. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.3 You may not use the Preview for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Preview or any part of the Preview; or (b) load any part of the Preview onto a mobile handset or any other hardware device except a personal computer, combine any part of the Preview with other software, or distribute any software or device incorporating a part of the Preview.
3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the Preview.
3.5 Use, reproduction and distribution of components of the Preview licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. You agree to remain a licensee in good standing in regard to such open source software licenses under all the rights granted and to refrain from any actions that may terminate, suspend, or breach such rights.
3.6 You agree that the form and nature of the Preview that Google provides may change without prior notice to you and that future versions of the Preview may be incompatible with applications developed on previous versions of the Preview. You agree that Google may stop (permanently or temporarily) providing the Preview (or any features within the Preview) to you or to users generally at Google's sole discretion, without prior notice to you.
3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the Preview.
- Use of the Preview by You
4.1 Google agrees that nothing in the License Agreement gives Google any right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the Preview, including any intellectual property rights that subsist in those applications.
4.2 You agree to use the Preview and write applications only for purposes that are permitted by (a) the License Agreement, and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
4.3 You agree that if you use the Preview to develop applications, you will protect the privacy and legal rights of users. If users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If users provide you with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, each user has given you permission to do so.
4.4 You agree that you will not engage in any activity with the Preview, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of Google or any third party.
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
4.7 The Preview is in development, and your testing and feedback are an important part of the development process. By using the Preview, you acknowledge that implementation of some features are still under development and that you should not rely on the Preview having the full functionality of a stable release. You agree not to publicly distribute or ship any application using this Preview as this Preview will no longer be supported after the official Android SDK is released.
- Your Developer Credentials
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
- Privacy and Information
6.1 In order to continually innovate and improve the Preview, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the Preview are being used and how they are being used. Before any of this information is collected, the Preview will notify you and seek your consent. If you withhold consent, the information will not be collected.
6.2 The data collected is examined in the aggregate to improve the Preview and is maintained in accordance with Google's Privacy Policy located at http://www.google.com/policies/privacy/.
- Third Party Applications
7.1 If you use the Preview to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party.
- Using Google APIs
8.1 Google APIs
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
- Terminating the License Agreement
9.1 the License Agreement will continue to apply until terminated by either you or Google as set out below.
9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the Preview and any relevant developer credentials.
9.3 Google may at any time, terminate the License Agreement, with or without cause, upon notice to you.
9.4 The License Agreement will automatically terminate without notice or other action upon the earlier of: (A) when Google ceases to provide the Preview or certain parts of the Preview to users in the country in which you are resident or from which you use the service; and (B) Google issues a final release version of the Android SDK.
9.5 When the License Agreement is terminated, the license granted to you in the License Agreement will terminate, you will immediately cease all use of the Preview, and the provisions of paragraphs 10, 11, 12 and 14 shall survive indefinitely.
- DISCLAIMERS
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE PREVIEW IS AT YOUR SOLE RISK AND THAT THE PREVIEW IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
10.2 YOUR USE OF THE PREVIEW AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE PREVIEW IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. WITHOUT LIMITING THE FOREGOING, YOU UNDERSTAND THAT THE PREVIEW IS NOT A STABLE RELEASE AND MAY CONTAIN ERRORS, DEFECTS AND SECURITY VULNERABILITIES THAT CAN RESULT IN SIGNIFICANT DAMAGE, INCLUDING THE COMPLETE, IRRECOVERABLE LOSS OF USE OF YOUR COMPUTER SYSTEM OR OTHER DEVICE.
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
- LIMITATION OF LIABILITY
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
- Indemnification
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys’ fees) arising out of or accruing from (a) your use of the Preview, (b) any application you develop on the Preview that infringes any Intellectual Property Rights of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you of the License Agreement.
- Changes to the License Agreement
13.1 Google may make changes to the License Agreement as it distributes new versions of the Preview. When these changes are made, Google will make a new version of the License Agreement available on the website where the Preview is made available.
- General Legal Terms
14.1 the License Agreement constitutes the whole legal agreement between you and Google and governs your use of the Preview (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the Preview.
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.
14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement.
14.5 EXPORT RESTRICTIONS. THE PREVIEW IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE PREVIEW. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
14.6 The License Agreement may not be assigned or transferred by you without the prior written approval of Google, and any attempted assignment without such approval will be void. You shall not delegate your responsibilities or obligations under the License Agreement without the prior written approval of Google.
14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
June 2014.
Accept? (y/N): y
[=======================================] 100% Unzipping... android-VanillaIceCr
Check that aidl can be executed
Search for Aidl
Run '/root/.buildozer/android/platform/android-sdk/build-tools/35.0.0-rc4/aidl'
Cwd None
Downloading platform api target if necessary
Run ['/root/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager', '--sdk_root=/root/.buildozer/android/platform/android-sdk', 'platforms;android-31']
Cwd /root/.buildozer/android/platform/android-sdk
Android packages installation done.
Run ['/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'aab', '-h', '--color=always', '--storage-dir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']
Cwd /content/.buildozer/android/platform/python-for-android
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
usage: toolchain.py aab [-h] [--debug] [--color {always,never,auto}] [--sdk-dir SDK_DIR]
[--ndk-dir NDK_DIR] [--android-api ANDROID_API]
[--ndk-version NDK_VERSION] [--ndk-api NDK_API]
[--symlink-bootstrap-files] [--storage-dir STORAGE_DIR] [--arch ARCH]
[--dist-name DIST_NAME] [--requirements REQUIREMENTS]
[--recipe-blacklist RECIPE_BLACKLIST]
[--blacklist-requirements BLACKLIST_REQUIREMENTS] [--bootstrap BOOTSTRAP]
[--hook HOOK] [--force-build] [--no-force-build] [--require-perfect-match]
[--no-require-perfect-match] [--allow-replace-dist]
[--no-allow-replace-dist] [--local-recipes LOCAL_RECIPES]
[--activity-class-name ACTIVITY_CLASS_NAME]
[--service-class-name SERVICE_CLASS_NAME]
[--java-build-tool {auto,ant,gradle}] [--copy-libs] [--no-copy-libs]
[--add-asset ASSETS] [--add-resource RESOURCES] [--private PRIVATE]
[--use-setup-py] [--ignore-setup-py] [--release] [--with-debug-symbols]
[--keystore KEYSTORE] [--signkey SIGNKEY] [--keystorepw KEYSTOREPW]
[--signkeypw SIGNKEYPW]
options:
-h, --help show this help message and exit
--debug Display debug output and all build info
--color {always,never,auto}
Enable or disable color output (default enabled on tty)
--sdk-dir SDK_DIR, --sdk_dir SDK_DIR
The filepath where the Android SDK is installed
--ndk-dir NDK_DIR, --ndk_dir NDK_DIR
The filepath where the Android NDK is installed
--android-api ANDROID_API, --android_api ANDROID_API
The Android API level to build against defaults to 33 if not specified.
--ndk-version NDK_VERSION, --ndk_version NDK_VERSION
DEPRECATED: the NDK version is now found automatically or not at all.
--ndk-api NDK_API The Android API level to compile against. This should be your minimal
supported API, not normally the same as your --android-api. Defaults to
min(ANDROID_API, 24) if not specified.
--symlink-bootstrap-files, --ssymlink_bootstrap_files
If True, symlinks the bootstrap files creation. This is useful for
development only, it could also cause weird problems.
--storage-dir STORAGE_DIR
Primary storage directory for downloads and builds (default:
/root/.local/share/python-for-android)
--arch ARCH The archs to build for.
--dist-name DIST_NAME, --dist_name DIST_NAME
The name of the distribution to use or create
--requirements REQUIREMENTS
Dependencies of your app, should be recipe names or Python modules. NOT
NECESSARY if you are using Python 3 with --use-setup-py
--recipe-blacklist RECIPE_BLACKLIST
Blacklist an internal recipe from use. Allows disabling Python 3 core
modules to save size
--blacklist-requirements BLACKLIST_REQUIREMENTS
Blacklist an internal recipe from use. Allows disabling Python 3 core
modules to save size
--bootstrap BOOTSTRAP
The bootstrap to build with. Leave unset to choose automatically.
--hook HOOK Filename to a module that contains python-for-android hooks
--local-recipes LOCAL_RECIPES, --local_recipes LOCAL_RECIPES
Directory to look for local recipes
--activity-class-name ACTIVITY_CLASS_NAME
The full java class name of the main activity
--service-class-name SERVICE_CLASS_NAME
Full java package name of the PythonService class
--java-build-tool {auto,ant,gradle}
The java build tool to use when packaging the APK, defaults to
automatically selecting an appropriate tool.
--add-asset ASSETS Put this in the assets folder in the apk.
--add-resource RESOURCES
Put this in the res folder in the apk.
--private PRIVATE the directory with the app source code files (containing your main.py
entrypoint)
--use-setup-py Process the setup.py of a project if present. (Experimental!
--ignore-setup-py Don't run the setup.py of a project if present. This may be required if
the setup.py is not designed to work inside p4a (e.g. by installing
dependencies that won't work or aren't desired on Android
--release Build your app as a non-debug release build. (Disables gdb debugging among
other things)
--with-debug-symbols Will keep debug symbols from .so
files.
--keystore KEYSTORE Keystore for JAR signing key, will use jarsigner default if not specified
(release build only)
--signkey SIGNKEY Key alias to sign PARSER_APK. with (release build only)
--keystorepw KEYSTOREPW
Password for keystore
--signkeypw SIGNKEYPW
Password for key alias
Whether to force compilation of a new distribution
--force-build
--no-force-build (this is the default)
--require-perfect-match
--no-require-perfect-match
(this is the default)
--allow-replace-dist (this is the default)
--no-allow-replace-dist
--copy-libs
--no-copy-libs (this is the default)
Check application requirements
Compile platform
Run ['/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=myapp', '--bootstrap=sdl2', '--requirements=python3,kivy,statistics,numpy,sympy,matplotlib.pyplot', '--arch=arm64-v8a', '--arch=armeabi-v7a', '--copy-libs', '--color=always', '--storage-dir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']
Cwd /content/.buildozer/android/platform/python-for-android
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[INFO]: Will compile for the following archs: arm64-v8a, armeabi-v7a
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds
[INFO]: Found Android API target in $ANDROIDAPI: 31
[INFO]: Available Android APIs are (31)
[INFO]: Requested API target 31 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK: /root/.buildozer/android/platform/android-ndk-r25b
[INFO]: Found NDK version 25b
[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.
[DEBUG]: All possible dists: []
[DEBUG]: Dist matching name and arch: []
[DEBUG]: Dist matching ndk_api and recipe: []
[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', 'matplotlib.pyplot', 'mpmath', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'statistics', 'python3', 'sdl2', 'numpy', 'setuptools', 'sympy', 'six', 'pyjnius', 'android', 'kivy']
[INFO]: The selected bootstrap is sdl2
[INFO]: # Creating dist with sdl2 bootstrap
[INFO]: Dist will have name myapp and requirements (python3, kivy, statistics, numpy, sympy, matplotlib.pyplot)
[INFO]: Dist contains the following requirements as recipes: ['hostpython3', 'libffi', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'numpy', 'setuptools', 'sympy', 'six', 'pyjnius', 'android', 'kivy']
[INFO]: Dist will also contain modules (statistics, chardet, urllib3, certifi, mpmath, matplotlib.pyplot, requests, idna) installed from pip
[INFO]: Dist will be build in mode debug
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/bootstrap_builds/sdl2
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/myapp
[INFO]: Recipe build order is ['hostpython3', 'libffi', 'openssl', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'sqlite3', 'python3', 'sdl2', 'numpy', 'setuptools', 'sympy', 'six', 'pyjnius', 'android', 'kivy']
[INFO]: The requirements (certifi, chardet, idna, matplotlib.pyplot, mpmath, requests, statistics, urllib3) were not found as recipes, they will be installed with pip.
[INFO]: # Downloading recipes
[INFO]: Downloading hostpython3
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/hostpython3
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/hostpython3
[DEBUG]: -> running basename https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz
[DEBUG]: Python-3.11.5.tgz
[DEBUG]: Downloading hostpython3 from https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz
[DEBUG]: -> running rm -f .mark-Python-3.11.5.tgz
[INFO]: Downloading hostpython3 from https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[INFO]: Downloading libffi
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/libffi
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/libffi
[DEBUG]: -> running basename https://github.com/libffi/libffi/archive/v3.4.2.tar.gz
[DEBUG]: v3.4.2.tar.gz
[DEBUG]: Downloading libffi from https://github.com/libffi/libffi/archive/v3.4.2.tar.gz
[DEBUG]: -> running rm -f .mark-v3.4.2.tar.gz
[INFO]: Downloading libffi from https://github.com/libffi/libffi/archive/v3.4.2.tar.gz
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[INFO]: Downloading openssl
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/openssl
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/openssl
[DEBUG]: -> running basename https://www.openssl.org/source/openssl-1.1.1w.tar.gz
[DEBUG]: openssl-1.1.1w.tar.gz
[DEBUG]: Downloading openssl from https://www.openssl.org/source/openssl-1.1.1w.tar.gz
[DEBUG]: -> running rm -f .mark-openssl-1.1.1w.tar.gz
[INFO]: Downloading openssl from https://www.openssl.org/source/openssl-1.1.1w.tar.gz
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[INFO]: Downloading sdl2_image
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sdl2_image
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sdl2_image
[DEBUG]: -> running basename https://github.com/libsdl-org/SDL_image/releases/download/release-2.8.0/SDL2_image-2.8.0.tar.gz
[DEBUG]: SDL2_image-2.8.0.tar.gz
[DEBUG]: Downloading sdl2_image from https://github.com/libsdl-org/SDL_image/releases/download/release-2.8.0/SDL2_image-2.8.0.tar.gz
[DEBUG]: -> running rm -f .mark-SDL2_image-2.8.0.tar.gz
[INFO]: Downloading sdl2_image from https://github.com/libsdl-org/SDL_image/releases/download/release-2.8.0/SDL2_image-2.8.0.tar.gz
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[INFO]: Downloading sdl2_mixer
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sdl2_mixer
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sdl2_mixer
[DEBUG]: -> running basename https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.6.3/SDL2_mixer-2.6.3.tar.gz
[DEBUG]: SDL2_mixer-2.6.3.tar.gz
[DEBUG]: Downloading sdl2_mixer from https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.6.3/SDL2_mixer-2.6.3.tar.gz
[DEBUG]: -> running rm -f .mark-SDL2_mixer-2.6.3.tar.gz
[INFO]: Downloading sdl2_mixer from https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.6.3/SDL2_mixer-2.6.3.tar.gz
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[INFO]: Downloading sdl2_ttf
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sdl2_ttf
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sdl2_ttf
[DEBUG]: -> running basename https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.20.2/SDL2_ttf-2.20.2.tar.gz
[DEBUG]: SDL2_ttf-2.20.2.tar.gz
[DEBUG]: Downloading sdl2_ttf from https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.20.2/SDL2_ttf-2.20.2.tar.gz
[DEBUG]: -> running rm -f .mark-SDL2_ttf-2.20.2.tar.gz
[INFO]: Downloading sdl2_ttf from https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.20.2/SDL2_ttf-2.20.2.tar.gz
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[INFO]: Downloading sqlite3
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sqlite3
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sqlite3
[DEBUG]: -> running basename https://www.sqlite.org/2021/sqlite-amalgamation-3350500.zip
[DEBUG]: sqlite-amalgamation-3350500.zip
[DEBUG]: Downloading sqlite3 from https://www.sqlite.org/2021/sqlite-amalgamation-3350500.zip
[DEBUG]: -> running rm -f .mark-sqlite-amalgamation-3350500.zip
[INFO]: Downloading sqlite3 from https://www.sqlite.org/2021/sqlite-amalgamation-3350500.zip
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[INFO]: Downloading python3
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/python3
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/python3
[DEBUG]: -> running basename https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz
[DEBUG]: Python-3.11.5.tgz
[DEBUG]: Downloading python3 from https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz
[DEBUG]: -> running rm -f .mark-Python-3.11.5.tgz
[INFO]: Downloading python3 from https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[INFO]: Downloading sdl2
[DEBUG]: Create directory /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sdl2
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/packages/sdl2
[DEBUG]: -> running basename https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.tar.gz
[DEBUG]: SDL2-2.28.5.tar.gz
[DEBUG]: Downloading sdl2 from https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.tar.gz
[DEBUG]: -> running rm -f .mark-SDL2-2.28.5.tar.gz
[INFO]: Downloading sdl2 from https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.tar.gz
[INFO]: <- directory context /content/.buildozer/android/platform/python-for-android
[ERROR]: In order to build numpy, you must set minimum ndk api (minapi) to 24
.
Command failed: ['/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=myapp', '--bootstrap=sdl2', '--requirements=python3,kivy,statistics,numpy,sympy,matplotlib.pyplot', '--arch=arm64-v8a', '--arch=armeabi-v7a', '--copy-libs', '--color=always', '--storage-dir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']
ENVIRONMENT:
SHELL = '/bin/bash'
NV_LIBCUBLAS_VERSION = '12.2.5.6-1'
NVIDIA_VISIBLE_DEVICES = 'all'
COLAB_JUPYTER_TRANSPORT = 'ipc'
NV_NVML_DEV_VERSION = '12.2.140-1'
NV_CUDNN_PACKAGE_NAME = 'libcudnn8'
CGROUP_MEMORY_EVENTS = '/sys/fs/cgroup/memory.events /var/colab/cgroup/jupyter-children/memory.events'
NV_LIBNCCL_DEV_PACKAGE = 'libnccl-dev=2.19.3-1+cuda12.2'
NV_LIBNCCL_DEV_PACKAGE_VERSION = '2.19.3-1'
VM_GCE_METADATA_HOST = '169.254.169.253'
HOSTNAME = 'e2cca2a73a1f'
LANGUAGE = 'en_US'
TBE_RUNTIME_ADDR = '172.28.0.1:8011'
COLAB_TPU_1VM = ''
GCE_METADATA_TIMEOUT = '3'
NVIDIA_REQUIRE_CUDA = ('cuda>=12.2 brand=tesla,driver>=470,driver<471 '
'brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 '
'brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 '
'brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 '
'brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 '
'brand=titanrtx,driver>=470,driver<471 brand=tesla,driver>=525,driver<526 '
'brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 '
'brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 '
'brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 '
'brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 '
'brand=titanrtx,driver>=525,driver<526')
NV_LIBCUBLAS_DEV_PACKAGE = 'libcublas-dev-12-2=12.2.5.6-1'
NV_NVTX_VERSION = '12.2.140-1'
COLAB_JUPYTER_IP = '172.28.0.12'
NV_CUDA_CUDART_DEV_VERSION = '12.2.140-1'
NV_LIBCUSPARSE_VERSION = '12.1.2.141-1'
COLAB_LANGUAGE_SERVER_PROXY_ROOT_URL = 'http://172.28.0.1:8013/'
NV_LIBNPP_VERSION = '12.2.1.4-1'
NCCL_VERSION = '2.19.3-1'
KMP_LISTEN_PORT = '6000'
TF_FORCE_GPU_ALLOW_GROWTH = 'true'
ENV = '/root/.bashrc'
PWD = '/content'
COLAB_LANGUAGE_SERVER_PROXY_REQUEST_TIMEOUT = '30s'
TBE_EPHEM_CREDS_ADDR = '172.28.0.1:8009'
TBE_CREDS_ADDR = '172.28.0.1:8008'
NV_CUDNN_PACKAGE = 'libcudnn8=8.9.6.50-1+cuda12.2'
NVIDIA_DRIVER_CAPABILITIES = 'compute,utility'
COLAB_JUPYTER_TOKEN = ''
LAST_FORCED_REBUILD = '20240529'
NV_NVPROF_DEV_PACKAGE = 'cuda-nvprof-12-2=12.2.142-1'
NV_LIBNPP_PACKAGE = 'libnpp-12-2=12.2.1.4-1'
NV_LIBNCCL_DEV_PACKAGE_NAME = 'libnccl-dev'
TCLLIBPATH = '/usr/share/tcltk/tcllib1.20'
NV_LIBCUBLAS_DEV_VERSION = '12.2.5.6-1'
COLAB_KERNEL_MANAGER_PROXY_HOST = '172.28.0.12'
NVIDIA_PRODUCT_NAME = 'CUDA'
NV_LIBCUBLAS_DEV_PACKAGE_NAME = 'libcublas-dev-12-2'
USE_AUTH_EPHEM = '1'
NV_CUDA_CUDART_VERSION = '12.2.140-1'
COLAB_WARMUP_DEFAULTS = '1'
HOME = '/root'
LANG = 'en_US.UTF-8'
COLUMNS = '100'
CUDA_VERSION = '12.2.2'
CLOUDSDK_CONFIG = '/content/.config'
NV_LIBCUBLAS_PACKAGE = 'libcublas-12-2=12.2.5.6-1'
NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE = 'cuda-nsight-compute-12-2=12.2.2-1'
COLAB_RELEASE_TAG = 'release-colab_20240606-060106_RC00'
PYDEVD_USE_FRAME_EVAL = 'NO'
KMP_TARGET_PORT = '9000'
CLICOLOR = '1'
KMP_EXTRA_ARGS = ('--logtostderr --listen_host=172.28.0.12 --target_host=172.28.0.12 '
'--tunnel_background_save_url=https://colab.research.google.com/tun/m/cc48301118ce562b961b3c22d803539adc1e0c19/m-s-10kdm22bc2o2w '
'--tunnel_background_save_delay=10s '
'--tunnel_periodic_background_save_frequency=30m0s '
'--enable_output_coalescing=true --output_coalescing_required=true')
NV_LIBNPP_DEV_PACKAGE = 'libnpp-dev-12-2=12.2.1.4-1'
COLAB_LANGUAGE_SERVER_PROXY_LSP_DIRS = '/datalab/web/pyright/typeshed-fallback/stdlib,/usr/local/lib/python3.10/dist-packages'
NV_LIBCUBLAS_PACKAGE_NAME = 'libcublas-12-2'
COLAB_KERNEL_MANAGER_PROXY_PORT = '6000'
CLOUDSDK_PYTHON = 'python3'
NV_LIBNPP_DEV_VERSION = '12.2.1.4-1'
ENABLE_DIRECTORYPREFETCHER = '1'
NO_GCE_CHECK = 'False'
JPY_PARENT_PID = '85'
PYTHONPATH = '/env/python'
TERM = 'xterm-color'
NV_LIBCUSPARSE_DEV_VERSION = '12.1.2.141-1'
GIT_PAGER = 'cat'
LIBRARY_PATH = '/usr/local/cuda/lib64/stubs'
NV_CUDNN_VERSION = '8.9.6.50'
SHLVL = '0'
PAGER = 'cat'
COLAB_LANGUAGE_SERVER_PROXY = '/usr/colab/bin/language_service'
NV_CUDA_LIB_VERSION = '12.2.2-1'
NVARCH = 'x86_64'
NV_CUDNN_PACKAGE_DEV = 'libcudnn8-dev=8.9.6.50-1+cuda12.2'
NV_CUDA_COMPAT_PACKAGE = 'cuda-compat-12-2'
MPLBACKEND = 'module://ipykernel.pylab.backend_inline'
NV_LIBNCCL_PACKAGE = 'libnccl2=2.19.3-1+cuda12.2'
LD_LIBRARY_PATH = '/usr/local/nvidia/lib:/usr/local/nvidia/lib64'
COLAB_GPU = ''
GCS_READ_CACHE_BLOCK_SIZE_MB = '16'
NV_CUDA_NSIGHT_COMPUTE_VERSION = '12.2.2-1'
NV_NVPROF_VERSION = '12.2.142-1'
LC_ALL = 'en_US.UTF-8'
COLAB_FILE_HANDLER_ADDR = 'localhost:3453'
PATH = '/root/.buildozer/android/platform/apache-ant-1.9.4/bin:/opt/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tools/node/bin:/tools/google-cloud-sdk/bin'
NV_LIBNCCL_PACKAGE_NAME = 'libnccl2'
COLAB_DEBUG_ADAPTER_MUX_PATH = '/usr/local/bin/dap_multiplexer'
NV_LIBNCCL_PACKAGE_VERSION = '2.19.3-1'
PYTHONWARNINGS = 'ignore:::pip._internal.cli.base_command'
DEBIAN_FRONTEND = 'noninteractive'
COLAB_BACKEND_VERSION = 'next'
COLAB_CUSTOMIZE_FOR_VM_TYPE = '1'
OLDPWD = '/'
_ = '/usr/local/bin/buildozer'
PACKAGES_PATH = '/root/.buildozer/android/packages'
ANDROIDSDK = '/root/.buildozer/android/platform/android-sdk'
ANDROIDNDK = '/root/.buildozer/android/platform/android-ndk-r25b'
ANDROIDAPI = '31'
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
👋 @Dhruv-ops-sketch,
Sorry to hear you are having difficulties with Kivy's Buildozer; Kivy unites a number of different technologies, so building apps can be temperamental.
We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to Buildozer. This issue has been closed, because it doesn't describe a bug or new feature request for Buildozer.
There is a mailing list and a Discord channel to support Kivy users debugging their own systems, which should be able to help. They are linked in the ReadMe.
Of course, if it turns out you have stumbled over a bug in Buildozer, we do want to hear about it here. The support channels should be able to help you craft an appropriate bug report.