How to Convert your Kivy Apps to APK Using GitHub Actions | Step-by-Step Tutorial.

Поділитися
Вставка
  • Опубліковано 19 жов 2024
  • Description:
    In this tutorial, we will guide you through the process of converting your Python/Kivy app into an APK using GitHub Actions. We’ll cover everything from preparing your repository to testing your APK.
    In this tutorial:
    1- Preparing Your App: Prepare your app files and set up your repository.
    2- Generating and Configuring buildozer.spec: Create and configure the Buildozer file for your app.
    3- Using GitHub Actions: Automate the APK build process with a pre-configured GitHub Actions workflow.
    4- Testing the APK: Download and test your APK using Appetize.io.
    Make sure to watch the full video so you don’t miss any crucial steps. If needed, pause the video to read the instructions or explanations presented in the panels.
    Support Us:
    If you like the video and want to support us, you can purchase the game template used in this tutorial from our ko-fi shop. Your support helps us create more valuable content and keep the channel going. Once purchased, you can modify the template to fit your needs and use it for both commercial and non-commercial projects.
    Links:
    Appetize.io
    Buildozer Action by digreatbrian: github.com/dig...
    Match Emoji Template: ko-fi.com/s/b4...
    Music:
    Song: Phantom Sage - When I’m Gone [NCS Release]
    Music provided by NoCopyrightSounds
    Free Download/Stream: ncs.io/WhenImGone
    Watch: • Phantom Sage - When I'...
    Song: Jim Yosef - Link [NCS Release]
    Music provided by NoCopyrightSounds
    Free Download/Stream: ncs.io/Link
    Watch: • Jim Yosef - Link | Hou...
    Dawn by Sappheiros | / sappheirosmusic
    Music promoted on www.chosic.com...
    Creative Commons Attribution 3.0 Unported (CC BY 3.0)
    creativecommon...
    Hashtags:
    #Kivy #KivyMD #Python #APK #AppDevelopment #GameDevelopment #GitHubActions #Buildozer #AndroidApp #PythonAndroidAppDevelopment #ProgrammingTutorial #MobileDevelopment #TechTutorial #Coding #SoftwareDevelopment #AppTesting

КОМЕНТАРІ • 31

  • @OuchenTech
    @OuchenTech  5 днів тому +2

    If you encounter issues during the build, such as # Aidl not found or # Unable to locate package libtinfo5, add the following to your build.yml file:
    on:
    push:
    branches: [ main ]
    jobs:
    build:
    runs-on: ubuntu-22.04
    steps:
    - uses: actions/checkout@v4
    - name: Build APK
    uses: digreatbrian/buildozer-action@v2
    with:
    buildozer-cmd: buildozer -v android debug
    work-dir: . # directory where your main.py file rests
    - name: Upload artifacts
    uses: actions/upload-artifact@v4
    with:
    name: package
    path: ./bin/*.apk

  • @MustafaKocaker-wm8yl
    @MustafaKocaker-wm8yl 5 днів тому

    I've been looking for this for 2 days, thank you very much +subscriber, +like

  • @gumalgamul
    @gumalgamul 15 днів тому

    wow.... this is what i search

  • @MustafaKocaker-wm8yl
    @MustafaKocaker-wm8yl 5 днів тому +1

    Hello, I am getting an error. Can you help me?

    • @MustafaKocaker-wm8yl
      @MustafaKocaker-wm8yl 5 днів тому

      E: Unable to locate package libtinfo5
      Error: Process completed with exit code 100.

    • @MustafaKocaker-wm8yl
      @MustafaKocaker-wm8yl 5 днів тому

      I've been trying for 2 days, please help me @OuchenTech

    • @OuchenTech
      @OuchenTech  5 днів тому

      @@MustafaKocaker-wm8yl yes I faced the same issue.The issue seems tied to package availability on the version of Ubuntu being used.
      In build.yml: change "runs-on: ubuntu-latest" to "runs-on: ubuntu-22.04". This fixes the issue.

    • @MustafaKocaker-wm8yl
      @MustafaKocaker-wm8yl 5 днів тому

      @@OuchenTech yes, problem solved, thank you

    • @MustafaKocaker-wm8yl
      @MustafaKocaker-wm8yl 5 днів тому

      @@OuchenTech I am facing one more problem. When I ran the application, it was closing as soon as the screen appeared, so I made a few changes in the "buildozer.spec" file and now I'm trying again.

  • @gumalgamul
    @gumalgamul 15 днів тому +1

    how you load image on script before and after being apk

    • @OuchenTech
      @OuchenTech  15 днів тому

      which image?

    • @gumalgamul
      @gumalgamul 11 днів тому

      load sprite game

    • @OuchenTech
      @OuchenTech  11 днів тому

      @@gumalgamul Are you talking about game character sprites? I mean the images responsible for character movements like run, idle, jump etc

  • @FaxZiG
    @FaxZiG Місяць тому

    Nice Bro!!!😁

  • @pranavkt4733
    @pranavkt4733 22 дні тому +1

    Hi, i'm getting # Aidl not found, please install it. error on workflow

    • @avinashengineering3272
      @avinashengineering3272 22 дні тому

      Bro see in stack overflow

    • @OuchenTech
      @OuchenTech  22 дні тому

      The error you're encountering is likely due to changes made in the action by the author. To fix this issue, update your build.yml file by following these steps:
      Go to the GitHub repository of the action (Use the link in the description)
      In the README file, locate the 'How to Use' section.
      Copy the provided example code and paste it into your build.yml.
      I made a test, and it works now with no errors. Always check for action updates before converting your app.

  • @unlish5996
    @unlish5996 22 дні тому +1

    Aidl not found. please install it

    • @OuchenTech
      @OuchenTech  22 дні тому

      The error you're encountering is likely due to changes made in the action by the author. To fix this issue, update your build.yml file by following these steps:
      Go to the GitHub repository of the action (Use the link in the description)
      In the README file, locate the 'How to Use' section.
      Copy the provided example code and paste it into your build.yml.
      I made a test, and it works now with no errors. Always check for action updates before converting your app.

    • @OuchenTech
      @OuchenTech  22 дні тому

      The error you're encountering is likely due to changes made in the action by the author. To fix this issue, update your build.yml file by following these steps:
      Go to the GitHub repository of the action (Use the link in the description)
      In the README file, locate the 'How to Use' section.
      Copy the provided example code and paste it into your build.yml.
      I made a test, and it works now with no errors. Always check for action updates before converting your app.

  • @faizullahhussaini5367
    @faizullahhussaini5367 2 місяці тому

    Hi
    Do you have kivy MD2 video

    • @OuchenTech
      @OuchenTech  2 місяці тому

      I didn't understand your question?

  • @AdhamMohamed-l1u
    @AdhamMohamed-l1u Місяць тому

    How to make for flet please ?
    😢

    • @OuchenTech
      @OuchenTech  Місяць тому +1

      I'm not a flet user 😁

    • @XDgamer1
      @XDgamer1 17 днів тому

      do you still searching?

  • @CupidxDD
    @CupidxDD 9 днів тому

    irritate music please dont use music

    • @OuchenTech
      @OuchenTech  9 днів тому

      Hi, i respect your opinion but you can mute the video 😁