Kivy/KivyMD to Android APK using GitHub Action | Colab Buildozer Failed Error Fixed

preview_player
Показать описание
In this video, you'll learn how to convert Kivy/KivyMD app to Android APK using Github Action, GitHub workflows, and buildozer. You'll learn how to fix Colab Failed Error using buildozer.

name: CI
on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-20.04

steps:

# used to cache dependencies with a timeout
- name: Get Date
id: get-date
run: |
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
shell: bash

- name: Cache Buildozer global directory
with:
path: .buildozer_global

with:
path: .buildozer

- name: Build with Buildozer
id: buildozer
with:
command: buildozer android debug
buildozer_version: stable

- name: Upload artifacts
with:
name: package
Рекомендации по теме
Комментарии
Автор

this video is golden! I have tried to convert py to apk so many times, and this is the first succesfull attempt! Big thanks.

ardumaniak
Автор

hello, I am having a problem with my buildozer, I am getting this error
error: command '/usr/bin/ccache' failed with exit code 1
how can i resolve it?

tifferetsonnenberg
Автор

Now, this is also NOT working. Getting error in build process

shashiranjan
Автор

The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files

This problem's solution is what?

startnowdoing
Автор

Thanks man! I have no idea on buildozer. i kept on editing my apk code to fix it. you're a life saver...

Any way i can mute the console? it prints like 40000 lines and takes 30 minutes to build

vishwanathtigadi
Автор

It does not work for me at all, my simple app with kivy, 5-6 different tutorials and recent videos and nothing helped me 😢

robertbarrios
Автор

Thanks, really thanks in the community hispana exist lot information about kivy but you save my semester thanks.

OTRODUGS
Автор

where to you get those commands after typing build.yml ?

ArchieKingsford
Автор

hello please i am still the error Buildozer failed to execute the last command ow do i fix it

ifeanyionyeukwu
Автор

Eh... I wasn`t lucky "This step has been truncated due to its large size. Download the full logs from the menu once the workflow run has completed." :( will search further

akusins
Автор

please help me i am getting horizontal camera in kivymd camera when i am opening in android phone

abhishekkaintura
Автор

Can we convert folders with multiple python files to apk files

victory
Автор

Hey! Thanks! This video was the only one which helped me after THOUSANDS of attempts with many methods. I can run my kivy app on android! My unique problem is that the background video is not being displayed, do you know why? I've uploaded it (in mp4) together with the main.py, buildozer.spec and icon.png. Unexpectedly this last one is shown on the phone's home screen in contrast to the background video, which isn't it on the app. I hope you can bring me support!

cipherosx
Автор

Getting the same error as colab. Any suggestions?

ScottFranciseclipse
Автор

Github also giving same error
What to do now

smilegoyal
Автор

i found same error as google colab even i change the version to 3.9.10 it rest same error

marwabouguerra
Автор

got same error as got in google colab
what to do now

rajeshgoyal
Автор

Aidl not found, please install, this is the error i get

essaumukhwana
Автор

thanks, i really appreciate. it works...can we convert to .aab with this method? if yes will the yml file be the same?

abifarinbukola
Автор

Both time, we have to paste same code from description?
For conversion to apk and for creating build yml?
Kindly tell me as soon as possible

sweetone-sbmt
visit shbcf.ru