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

Поділитися
Вставка
  • Опубліковано 20 жов 2024

КОМЕНТАРІ • 141

  • @ardumaniak
    @ardumaniak Рік тому +5

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

  • @shashiranjan7451
    @shashiranjan7451 Рік тому +11

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

    • @عمرقاسم-ض3ق
      @عمرقاسم-ض3ق 7 місяців тому +1

      me too, i got the same error i got in colab

    • @max2551
      @max2551 7 місяців тому

      @@عمرقاسم-ض3ق what's your error ?

    • @robertbarrios9969
      @robertbarrios9969 6 місяців тому

      i quit my attempts to convet mi app in apk

    • @smilegoyal8131
      @smilegoyal8131 6 місяців тому +2

      Github gives same error as colab

    • @reijnie2952
      @reijnie2952 4 місяці тому

      @@robertbarrios9969 me tooo :((

  • @tifferetsonnenberg7181
    @tifferetsonnenberg7181 7 місяців тому +1

    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?

  • @startnowdoing
    @startnowdoing 9 місяців тому +2

    The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2.
    The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files
    This problem's solution is what?

  • @robertbarrios9969
    @robertbarrios9969 6 місяців тому

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

    • @nilegproduction
      @nilegproduction  6 місяців тому +1

      Could you please share with me the code of your app as well as the specs file on this email: programmingfundamentals2022@gmail.com (Please mention yourself)

  • @prfunn3334
    @prfunn3334 Рік тому +2

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

    • @prfunn3334
      @prfunn3334 Рік тому

      disculpa mi ingles pero me da flojera abrir el traductor no existe mucha existe muy poca y salvaste mi semestre

    • @robertbarrios9969
      @robertbarrios9969 6 місяців тому

      @@prfunn3334bro, a mí no me sirvió, de hecho no me ha servido ningún tutorial que he visto toda esta semana, no importa si estaba en inglés, en español o en hindi, estoy que ya me rindo, una simple app que presiona un botón y saluda, no es justo. Te agradezco me puedas dar una mano.

  • @vishwanathtigadi6689
    @vishwanathtigadi6689 Рік тому +3

    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

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

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

  • @MirtaGuzman-x4v
    @MirtaGuzman-x4v 3 місяці тому +1

    Aidl not found..

  • @prasanthkarunakaran5883
    @prasanthkarunakaran5883 Рік тому +1

    I followed the same step, even I installed the package. But when I open it, black screen only avaiable. I am using Android 10. Please help me with this problem

    • @nilegproduction
      @nilegproduction  Рік тому

      Are the names of all the files start from small letters? Because this issue is caused when .kv file doesn't load successfully.

    • @prasanthkarunakaran5883
      @prasanthkarunakaran5883 Рік тому

      Thank you. It works
      @@nilegproduction

  • @victory2086
    @victory2086 3 місяці тому

    Can we convert folders with multiple python files to apk files

  • @abhishekkaintura6398
    @abhishekkaintura6398 7 місяців тому

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

  • @ArchieKingsford
    @ArchieKingsford Рік тому +2

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

    • @dosunan3303
      @dosunan3303 7 місяців тому

      It's in the description

  • @TheZFf
    @TheZFf Рік тому +1

    Cuando le pongo un icono no se compila , y cuando se lo quito si , que puede ser?

    • @nilegproduction
      @nilegproduction  Рік тому +1

      Make sure to remove "/data/" part from the specs file.

    • @TheZFf
      @TheZFf Рік тому

      @@nilegproductionmuchas gracias por ayudar , te ganaste un subs

  • @ScottFranciseclipse
    @ScottFranciseclipse 5 місяців тому

    Getting the same error as colab. Any suggestions?

  • @smilegoyal8131
    @smilegoyal8131 6 місяців тому

    Github also giving same error
    What to do now

  • @rajeshgoyal6339
    @rajeshgoyal6339 6 місяців тому

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

  • @sheshanfernando-uv1uj
    @sheshanfernando-uv1uj 7 місяців тому

    can anyone tell. me how he got the contents for the yaml file? he just said "you will find down below " and idk where that is

    • @nilegproduction
      @nilegproduction  7 місяців тому +1

      All the commands are in the description.

  • @akusins
    @akusins 9 місяців тому

    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

  • @Exius-Zero
    @Exius-Zero Рік тому

    Thanks for uploading this video, I've been stuck on this error for a long time and this fixed it.
    What part of the build.yml or .spec file actually solved the error?
    Was it adding hostpython3 to the requirements in the spec file or instead just using a stable buildozer version or specific version of ubuntu other than latest in the .yml file?

  • @naren06938
    @naren06938 9 місяців тому

    I have my .py file, buildspec file also, but .kv file not with me, where can I get it?

    • @nilegproduction
      @nilegproduction  9 місяців тому

      I am sorry but I couldn't understand the question.

  • @marwabouguerra8194
    @marwabouguerra8194 3 місяці тому

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

  • @sadiqsheikh8499
    @sadiqsheikh8499 Рік тому +2

    this video is life saver ,thank you so much

  • @salcko8411
    @salcko8411 6 місяців тому

    Still getting the last command error.

  • @CipherosX
    @CipherosX Рік тому +4

    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!

    • @nilegproduction
      @nilegproduction  Рік тому

      Could you explain the problem a bit more?

    • @nilegproduction
      @nilegproduction  Рік тому

      Could you please send me the files on this email: programmingfundamentals2022@gmail.com

    • @CipherosX
      @CipherosX Рік тому

      @@nilegproduction Thanks, I sent you an email!

    • @nilegproduction
      @nilegproduction  Рік тому

      Got it.

  • @essaumukhwana2313
    @essaumukhwana2313 11 місяців тому

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

  • @phamngocquapham5472
    @phamngocquapham5472 8 місяців тому

    Thanks for uploading this video. How to display Todo App Changes 3:50

  • @aleyaseenr
    @aleyaseenr Рік тому

    hello.. i got error in Build with Buildozer step. "#Buildozer failed to execute the last command". could you help me?

    • @nilegproduction
      @nilegproduction  Рік тому +1

      In the specs file under requirements section use python3==3.7.6 also in the osx section write the same version.

    • @aleyaseenr
      @aleyaseenr Рік тому

      wow it worked!! big thanks!@@nilegproduction

    • @The_end_of_the_f_world
      @The_end_of_the_f_world 8 місяців тому

      Hi, I had the same problem and I changed the python version and osx section as instructed but I got the same error again!@@nilegproduction

  • @sweetone-sb5mt
    @sweetone-sb5mt 7 місяців тому

    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

  • @Alexandra-jc5wc
    @Alexandra-jc5wc 10 місяців тому

    Hello sir, can this project can be use in different project in python?

    • @nilegproduction
      @nilegproduction  10 місяців тому

      I am sorry but I couldn't get understand your question.

    • @Alexandra-jc5wc
      @Alexandra-jc5wc 10 місяців тому

      @@nilegproduction I am currently creating a python code for object detection. Do you think it's possible to work it in apk?

    • @nilegproduction
      @nilegproduction  10 місяців тому

      @@Alexandra-jc5wc Hope so.

  • @_ss809
    @_ss809 Рік тому

    Sir I am beginner I have only python file but don't know where kV file please help me sir😢

  • @xyres222
    @xyres222 Рік тому

    Ive been following your code but this error occurs
    [DEBUG]: clang-14: error: no such file or directory: 'jnius/jnius.c'
    [DEBUG]: clang-14: error: no input files
    [DEBUG]: error: command '/usr/bin/ccache' failed with exit code 1
    any idea what to do ?

    • @nilegproduction
      @nilegproduction  Рік тому

      Could you please send me the github repo link on this email: programmingfundamentals2022@gmail.com

  • @abifarinbukola7882
    @abifarinbukola7882 7 місяців тому

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

  • @lenovothinkpad1410
    @lenovothinkpad1410 Рік тому

    bro i forked your same code and it doesn't work on github help me

  • @lakmalabeyrathne9786
    @lakmalabeyrathne9786 Рік тому

    i tried this succesfully got an apk file but the app crashes at start

    • @nilegproduction
      @nilegproduction  Рік тому

      Well there could be couple of reasons. Watch this video on the channel to find out why the app is crashing. Debugging Kivy/KivyMD Apps with ADB Logcat | Avoid crashes on Android Phones using Logcat in Kivy

    • @nilegproduction
      @nilegproduction  Рік тому

      www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=m.youtube.com/watch%3Fv%3DWBgkCcPsx1Y&ved=2ahUKEwju4b7jn4yCAxUMgf0HHa-FC1QQwqsBegQICRAG&usg=AOvVaw3AdBFi0jYeDxBDa8Y8aMBF

  • @Webcrawler01104
    @Webcrawler01104 Рік тому

    i am getting some error during the step of build with buildozer .
    the error is like :
    This step has been truncated due to its large size. Download the full logs from the menu setting once the workflow run has completed.

  • @rubendariozarazuamartinez8660
    @rubendariozarazuamartinez8660 11 місяців тому

    Now, NOT working. Getting error in build process

    • @nilegproduction
      @nilegproduction  11 місяців тому

      I am really sorry that you are facing error but its still working. There could be couple of reasons for the failure.

    • @rdzm5799
      @rdzm5799 11 місяців тому

      ​@@nilegproductionPlease share the colab code that you use to generate the .spec.

  • @shateipetYT
    @shateipetYT Рік тому

    I get this erro
    # raising an issue with buildozer itself.
    # In case of a bug report, please add a full log with log_level = 2

    • @nilegproduction
      @nilegproduction  Рік тому

      Could you please send me the image of the error on this email: programmingfundamentals2022@gmail.com

    • @AI-GEN-Musics
      @AI-GEN-Musics Рік тому

      u get the solve?

    • @amit-jx5lh
      @amit-jx5lh 9 місяців тому

      I got same error and I couldn't solve it

  • @vinthiya3972
    @vinthiya3972 Рік тому

    I am getting a error on building buidozer, can u help me?

  • @mbmouloud6984
    @mbmouloud6984 Рік тому

    please i also find this error on google colaboratory and ubuntu linux windows subsystem , the same error , solve me this problem , because a created two kivy's apps and i couldn't convert them to apk

    • @nilegproduction
      @nilegproduction  Рік тому

      In the buildozer specs file, under requirements, use python3==3.7.6 and use the same version in the OSX section.

    • @mbmouloud6984
      @mbmouloud6984 Рік тому

      @@nilegproduction i did it , but its the same problem

    • @nilegproduction
      @nilegproduction  Рік тому

      Send mebtge github repository link on this email: programmingfundamentals2022@gmail.com

  • @Techfunn45
    @Techfunn45 7 місяців тому

    I am still facing error

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

    Exit code 127 error

  • @tanmayrastogi1328
    @tanmayrastogi1328 9 місяців тому

    2:13 what is that project.ky file ?

    • @HA.HAMZA.999
      @HA.HAMZA.999 8 місяців тому

      kivy that have the extention kv is python frame work to create cross platform apps

  • @Tuoc_Nguyen
    @Tuoc_Nguyen 7 місяців тому

    How do I create a project.kv file?

    • @max2551
      @max2551 7 місяців тому

      You just use a text editor or IDE to put all your widgets into that project.kv file. There are tons of examples online

    • @Tuoc_Nguyen
      @Tuoc_Nguyen 7 місяців тому

      yes,thank u@@max2551

  • @Musfiqur_Rahman_
    @Musfiqur_Rahman_ Рік тому

    I need your help for kv to apk. Can you help me??

  • @grgr1831
    @grgr1831 Рік тому

    I have py file.. What is kv file?

    • @mirkoruhl9324
      @mirkoruhl9324 Рік тому

      A kv file is for styling things such as buttons, labels, etc.
      Kinda like a .css file for .html files

  • @ayakkabmoda6670
    @ayakkabmoda6670 Рік тому

    this process can ı do with Tkinter?

    • @nilegproduction
      @nilegproduction  Рік тому

      Nope because tkinter is not cross platform

    • @ayakkabmoda6670
      @ayakkabmoda6670 Рік тому

      @@nilegproduction Ptyhon is also a mobile application how hard it is to do, I translate apk, the application crashes

  • @rotsenednella
    @rotsenednella Рік тому +1

    this video its to clear. but i still having problems with it. I got a red cross in the 'bluid with Buildozer' step, think its the most important part hahahaha

    • @mirkoruhl9324
      @mirkoruhl9324 Рік тому

      Same here, I got this error
      # 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

    • @nilegproduction
      @nilegproduction  Рік тому

      @mirkoruhl9324 Make sure that you specify this requirements in specs file: python3==3.9.10, hostpython3==3.9.10
      Also specify this version of python in OSX section of specs file

  • @rijanregmi842
    @rijanregmi842 6 місяців тому

    Still same error

  • @dadawdadwaddaw
    @dadawdadwaddaw Рік тому

    bro send it again i deleted you massage mistakely without seen the mistake

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

    your video is baad we got the same error as in colab or others give me my 70 minutes of my life back. Waste of time

  • @anaskhan-lz2hk
    @anaskhan-lz2hk 3 місяці тому

    What the shit is this not able to make simple kivy app to apk already lost hope with nodejs to exe what the SHIT WE WILL DO WILL ALL THE FREAKING AI WHEN WE ARE NOT ABLE TO COMPILE A SINGLE APKKKK

  • @dadawdadwaddaw
    @dadawdadwaddaw Рік тому

    my app auto back

  • @technicaltechnical8250
    @technicaltechnical8250 10 місяців тому

    Yes I could do, Thanks.

  • @dadawdadwaddaw
    @dadawdadwaddaw Рік тому

    my app crash

    • @nilegproduction
      @nilegproduction  Рік тому

      There could be couple of reasons. In order to know why the app is crashing, watch our latest video: Debugging kivy apps with logcat

  • @ahmadzareyi-t4v
    @ahmadzareyi-t4v 10 місяців тому

    perfect

  • @dadawdadwaddaw
    @dadawdadwaddaw Рік тому

    Buildozer failed to execute the last command

    • @nilegproduction
      @nilegproduction  Рік тому

      Are u using GitHub?

    • @dadawdadwaddaw
      @dadawdadwaddaw Рік тому

      @@nilegproductionyes bro

    • @dadawdadwaddaw
      @dadawdadwaddaw Рік тому

      i will suscribe your channel if u help me to fix this error

    • @dadawdadwaddaw
      @dadawdadwaddaw Рік тому

      @@nilegproduction what happen when i give you the whole python code

    • @nilegproduction
      @nilegproduction  Рік тому

      Send me the error image on this email: programmingfundamentals2022@gmail.com

  • @darelemary31
    @darelemary31 Рік тому

    i had this error:
    Traceback (most recent call last):
    File "/action/entrypoint.py", line 159, in
    main()
    File "/action/entrypoint.py", line 27, in main
    run_command(env["INPUT_COMMAND"])
    File "/action/entrypoint.py", line 135, in run_command
    retcode = subprocess.check_call(command, shell=True)
    File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command 'buildozer android debug' returned non-zero exit status 1.

    • @nilegproduction
      @nilegproduction  Рік тому

      Could you please send me the code in this email: programmingfundamentals2022@gmail.com

    • @darelemary31
      @darelemary31 Рік тому

      did you check your email?
      @@nilegproduction

    • @siamrayhan2598
      @siamrayhan2598 Рік тому

      ​@@nilegproductionI'm getting the same error.Can please gimme the solution here

    • @nilegproduction
      @nilegproduction  Рік тому

      Use specific python version along with hostpython in the requirements i.e. python3==3.9.10, hostpython3==3.9.10. Also specify this version in OSX Section as well. But make sure that python version should not be greater than 3.9.10.

    • @siamrayhan2598
      @siamrayhan2598 Рік тому

      @@nilegproduction is there any chance to dm you for more clearance?

  • @GhofranNeili
    @GhofranNeili Рік тому

    i sent you an email can you answer me please