Build & Sign Kivy Python App (.aab) with Buildozer for Google Play Store (without Android Studio)

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ค. 2024
  • This tutorial demonstrates how to build and sign an .aab file without Android Studio which can be uploaded to the Google Place Store. The example app was programmed with Python, the Kivy framework, Pycharm and the Ubuntu Subsystem. This tutorial works also perfectly fine for Ubuntu.
    If anything is unclear, feel free to ask and write a comment.
    ▬ Links ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Code of this tutorial:
    github.com/denczo/kivy_examples
    ▬ Install Buildozer ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► Install buildozer:
    git clone github.com/kivy/buildozer.git
    cd buildozer
    sudo python3 setup.py install
    ► Required libraries and tools:
    sudo apt-get install openjdk-11-jdk (Java 11 is mandatory! Not 1.8)
    sudo apt-get install unzip
    sudo apt install python3 python3-pip ipython3
    sudo apt install cython
    sudo apt-get install autoconf
    sudo apt install build-essential libltdl-dev libffi-dev libssl-dev python-dev
    sudo pip3 install --upgrade cython
    sudo apt-get install zip
    ▬ Chapters ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► 0:00 - Intro
    ► 0:22 - Modify buildozer.spec file
    ► 2:50 - Build .aab file
    ► 3:24 - Sign .aab file
    ► 5:43 - Outro
    ▬ Programming ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► Pycharm Community Edition
    ► Python 3.8.1
    ► Kivy 2.0
    ▬ Editing ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ► Sony Vegas Pro Edit 14
    ► OBS
    ► t.bone SC400
    ► Cheap Webcam

ความคิดเห็น • 24

  • @tushardas4140
    @tushardas4140 ปีที่แล้ว +2

    Your rising and falling intonation seems unusually pleasing.

  • @gabrielcosta4513
    @gabrielcosta4513 ปีที่แล้ว +1

    Thank you very much!! Grüss aus Brasilien :)

  • @wherethetacotakesus
    @wherethetacotakesus ปีที่แล้ว

    Thank you for this. I have successfully compiled my application and published it on the google play store. My issue now is I cannot re-compile it after i make updates. is there a different command? or do i need to start from scratch with every update?

    • @JackieRabbit5
      @JackieRabbit5 ปีที่แล้ว

      Same, couldn't get any kind of git pull command to work and couldn't delete all the folders by changing permissions so guess I'll just git clone a new folder every time for now...

  • @acharfrance226
    @acharfrance226 2 ปีที่แล้ว

    why you change p4a branch = develop? when I change this, I get this error at the beginning of compilation: "ValueError: read of closed file"

    • @fullstacklab
      @fullstacklab  2 ปีที่แล้ว +1

      this was a temporary fix when building the .apk file didn't work with the default branch. It might have been fixed already, so please try it again without changing the p4a branch to develop.

  • @batuhankarakaya3285
    @batuhankarakaya3285 2 ปีที่แล้ว

    Dear Denicz, this video so helpfull. With your instructions I moved on from the begining. However, I have got very common error, which is Grandle java problem. It says Android Gradle plugin Java 11 to run. But I run Java 1.8. I saw that error all over the internet but I count find a solution for buildozer in Ubuntu. I use virtual box for ubuntu and I have just installed everything as in your video. What should I do?

    • @fullstacklab
      @fullstacklab  2 ปีที่แล้ว +1

      Hey mate :) You probably figured it out yet but I've came across this error myself. The fix is pretty simple. You need to make sure that you have installed Java 11 and not Java 1.8! So simply run sudo apt-get install openjdk-11-jdk to make sure, Java 11 is installed. I've updated it in the description.

  • @Buffn1ck
    @Buffn1ck 2 ปีที่แล้ว

    legittttt thank u thank u thank u

  • @felipegmarcal
    @felipegmarcal 10 หลายเดือนก่อน

    hi! i just found your tutorial and i'm having issues trying to upload the aab to play store as it says i'm using the wrong key - but i'm doing everything as instructed. should I restart the project and recompile it?

  • @RoboLaboratory
    @RoboLaboratory ปีที่แล้ว

    Hello. I tried to run 'sudo buildozer android release' after installing buildozer and all required libraries that you put in the description of this video but I got this error:
    Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
    Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.sdkmanager.SdkManagerCli
    # 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

  • @gigamgamboa828
    @gigamgamboa828 7 หลายเดือนก่อน +1

    hi! thanks for the tutorial and i did successfully signed it. however, when i upload it in google console it is still saying "The Android App Bundle was not signed." any thoughts?

  • @Amrit-SR
    @Amrit-SR 2 ปีที่แล้ว +3

    I'd be nice if you'd copypaste the commands in your description

  • @sobur1529
    @sobur1529 2 ปีที่แล้ว

    I couldn't generate aab file, but i was able to generate apk file.
    Please make a detailed video to generate.aab file from kivy or any other ways

    • @fullstacklab
      @fullstacklab  2 ปีที่แล้ว +1

      Building the .aab file with buildozer and kivy works the same as building the .apk file with buildozer. The only differences are the used command and the changes in the buildozer file. Both of it is explained in the video.

  • @mecrayavcin
    @mecrayavcin ปีที่แล้ว +2

    What is your nationality? I could not know it. Are you English or German? Your accent is alitle different.
    I like your video.
    😛

  • @sulalithasannasgala
    @sulalithasannasgala 3 หลายเดือนก่อน

    sudo not found in buildozer what to do

    • @gpt.answers
      @gpt.answers 2 หลายเดือนก่อน

      P4A_RELEASE_KEYSTORE=~/keystores/mykey.keystore P4A_RELEASE_KEYSTORE_PASSWD=pass P4A_RELEASE_KEYALIAS_PASSWD=pass P4A_RELEASE_KEYALIAS=alias buildozer android release

  • @fullstacklab
    @fullstacklab  2 ปีที่แล้ว +1

    that wasn't so difficult 😊