Buildozer "gradlew failed!"
See original GitHub issueDigitalOcean Vps
Ubuntu 16.04 (64bit)
p4a.branch = master
android.api = 28
android.minapi = 21
android.ndk = 17c
I’m getting this error. i guess it’s something about sdk license but i don’t have any idea how to solve it.
BUILD FAILED
Total time: 3.679 secs
STDERR:
[DEBUG]:
[INFO]: STDOUT (last 20 lines of 23):
Warning: License for package Google Repository not accepted.
Checking the license for package Android Support Repository in /root/.buildozer/android/platform/android-sdk-24/licenses
Warning: License for package Android Support Repository not accepted.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'sets'.
> You have not accepted the license agreements of the following SDK components:
[SDK Patch Applier v4, Android Support Repository, Google Repository].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.679 secs
[INFO]: STDERR:
[INFO]: COMMAND:
cd /root/Hidden/.buildozer/android/platform/build/dists/sets && /root/Hidden/.buildozer/android/platform/build/dists/sets/gradlew assembleDebug
[WARNING]: ERROR: /root/Hidden/.buildozer/android/platform/build/dists/sets/gradlew failed!
# Command failed: /usr/bin/python -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name sets --name 'Miui Hidden Settings' --version 2.0 --package com.ceyhan.sets --android_api 28 --minsdk 21 --private /root/Hidden/.buildozer/android/app --orientation portrait --window --copy-libs --depend 'com.google.android.gms:play-services-ads:15.0.0' --depend 'com.android.support:appcompat-v7:28.0.3' --arch armeabi-v7a --color=always --storage-dir="/root/Hidden/.buildozer/android/platform/build"
#
# 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
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Build apk using buildozer and kivy Error with gradlew (new ...
This error mostly occurs when you've interrupted the system when Gradle was downloading. You can simply fix this by manually downloading ...
Read more >buildozer kivy build failled: armeabi-v7a gradlew failed
I haven't plugged in an android phone. Can this explain the error? Python: 3.7. OS: Ubuntu 20.04. Kivy: 1.11.1.
Read more >Gradle fails on build : r/kivy - Reddit
I'm pushing apk to test it on Android and gradle is failing: [DEBUG]:FAILURE: Build failed with an exception. * What went wrong: Execution ......
Read more >buildozer - PyPI
Buildozer deploy failed with python3 -m venv venv command #1389; Gradlew Build error for Android on Linux #1371; AAB #1353; Error creating apk...
Read more >buildozer - Reddit post and comment search - SocialGrep
[Edit1] tried to add numpy to the buildozer.spec, but still failed to build. ... running gradlew assembleDebug [DEBUG]: Starting a Gradle Daemon, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
After installing openjdk-11-jdk, my problem solved
sudo apt-get install openjdk-11-jdk