You are a life saver i left coding because i got demotivated alot i made a app with so much time spent on it but it didn't convert thank you so much after 2 years i can really run my app on my phone thank you so much
@@avionmission Also can i save data in a text file in kivy and also does bulldozer support this format of saving data in the local storage if not then whats the alternative
@@centaurgamingyt Sorry to bother you. I used kivy==2.2.0, and kivymd==1.2.0. I also write this in the buildozer.spec. But when I open the apk in android emulators, it still crashed in loading screen. Could you please share your version for these packages?
Bro aap py wali file me he KV ek variable bnao or usme triple """ k under pura kv ka content paste krdo fir sirf main.py add krna Google Collab me or bnana Mera toh aese bn gya.
hi there! I'm compiling my app but it keeps crashing.. in the requirements do I have to include numpy and other packages that comes with my app to be able to fix the crashing of my app??
Bro, I got this error even if the app runs fine in IDE. Hope you can respond soon. Thank you! # 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
@@KAUSTUBHSONKAR after 3 days can't find the way fix that error, i decided give up anh move on the website replace for app mobile android kivy, Website have verry quickly
hey, what if we have multiple folders like, images, database, files, pages etc etc. should I put all of it inside assets and do I reference it anywhere in bulldozer spec file??
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
So we just have to detailing the kivy version and no need version declare in kivymd and pillow? As same as if we use requests package, just add the requests separated by comma. Right?
I did exactly what you are showing in the video but my app still crushed (I made the same code as you but instead of MDToolbar, I used MDTopAppBar). Do you have any idea what might went wrong?
i tried to make this deploy my ML model in this method, it actually required camera access. the APK was installed, but the app is not opening. can you help me out..!!?? i had uploaded my files, model.h5(Model for my project), and the .ipynb file by converting it into .py file. it is not opening.
please my dear can you make one clip write code with python for auto installer application or hide apk in image when open image that apk is runing automatic
bro please tell me how i can add my images and audio files to library i tried that you told in the video i put all files in a assets folder but still not working what to do now please tell me
Maybe in your .kv or .py you used images as images/icon.png and in colab name of your folder is different..see if that's the problem..even i faced the same problem.
my apk crashes after presplash screen when I am including another python file including main.py which is importing that other python file. Where I m going wrong?
firstly add virtual environment, then open that vemv folder which appears after the creation of that virtual environment, then open sctipt folder and open that script's directory in cmd (just by typing cmd in the path location of the file, which is some thing like This PC > Local Disc(C:) > User ......) afrer that just type the library name like if you want to install Aspose.slide type pip install aspose.slides
hey nice video. I also do have problems converting my py to apk. my app works perfectly in my laptop. I have found out that it crashes case it uses cv2. is there any issue with this library. Also flask runs but it with wrong ip. can you help me with all this ???
I tried changing the icon and splash screen in the buildozer.spec file but the debugger showed errors...it works fine if I don't change the icon settings, can you please guide me what wrong did i do?.... (I changed line 52 to icon.filename = icon.png and imported icon.png as well)
Try "icon.filename = %(source.dir)s/assets/icon.png"...if your icon file is in assets folder otherwise replace it with the directory of your file. Let me know if it works 👍
I followed all ur steps and apk also generated but when I installed it in my mobile it was displaying that 'could not extract private data' and app was closing after it
I followed all your steps but I got an error at the end. I tried with WSL also and got the same error on my computer. I am not able to figure out what the problem is. I checked the versions they are the same. Can you help me
I was able solve the problem when I noticed colab was using python 3.10 But if I add one more library other than kivy or kivymd it doesn't work. I added qrcode which is a part of kivy-garden. I added these to the requirements part of spec file but doesn't work.
Is it possible to create object detection using python? And will it convert as android application? Anyway, thank u so much for this tutorial. I'll save this for our project.
Maybe you executed the last command in the notebook "!buildozer android clean", don't run that command....try the whole process one more time, watch the video carefully, I hope it works 👍
# 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 If anyone face this error and debug this error means guide me to solve this error to deploy this. I face this error last two days
Hi bro. I made an app with kivy but... when I compile it, the app crashes . if i give you the .py code, can you resolve the mysterious fact for me???? And send me the correct apk with your email? Pleasee🙏🙏🙏 Ps. Sorry for my english
You are a life saver i left coding because i got demotivated alot i made a app with so much time spent on it but it didn't convert thank you so much after 2 years i can really run my app on my phone thank you so much
I understand how it feels to almost give up, but then you get a solution out of nowhere...feels exhilarating.
I'm glad i could help, cheers buddy.
@@avionmission Also can i save data in a text file in kivy and also does bulldozer support this format of saving data in the local storage if not then whats the alternative
Happy New Year For you man , thanks for the life saver
Happy New Year buddy 🤝
@@avionmission look , i got an error with the buildozer android debug code, can you help me ?
Awesome video. Straight to the point and really clear. Thanks!
hey bro.. I followed your steps everything went good but when I open the app in my phone it crashes in loading screen.. hope you respond soon
Same bro
Did you got answer? If yes please tell me hro
@@unique_ruler_memes3003 I got answer this video is very old so change kivy version according to your downloaded version
Thanks me later 🙂
Same issue
@@centaurgamingyt Sorry to bother you. I used kivy==2.2.0, and kivymd==1.2.0. I also write this in the buildozer.spec. But when I open the apk in android emulators, it still crashed in loading screen. Could you please share your version for these packages?
Bro there is a problem it says buildozer failed to execute the last command
me too
Same yar did you find out the reason
Any solution @@rishijha95
Bro aap py wali file me he KV ek variable bnao or usme triple """ k under pura kv ka content paste krdo fir sirf main.py add krna Google Collab me or bnana Mera toh aese bn gya.
Use the 3.10 version of python3
I clearly understood amazing with zooming feature thank u
You earn a like😘😘😘
Glad I could help 😃 🤝
Bro i have cretaed game pygame so it convert that file also in apk pls reply
Big brain bro, I used up my storage space by using ubuntu lol. Good I came across your vid, Thanks
I've also switched to Ubuntu 🗿
Waaaaaw! you are amazing bro. Thanks for the video, it worked really well for me.
Thanks for your appreciation 🤜🤛
Thaks for the video man. But i have an ask, do i have to put the file.kv with the main.py on directory in the google colab?
Yes upload the kv file in collab
Where can I add the font of my app should I add it in the data folder ?
Bro the you try to explain the steps is not easily understandable by a beginner like me
But you try your best to explain this
😊
hi there! I'm compiling my app but it keeps crashing.. in the requirements do I have to include numpy and other packages that comes with my app to be able to fix the crashing of my app??
Yes try adding in the requirements section
@@avionmission How can I see, which requirements I need? Preferrably without using logcat?
@@avionmission For instance, I am using mp3 and otf files too, what are the necessary requirements to add them
I am impressed. Great job!
Thanks for appreciation bro 😇...this one's just half of last week's video
Bro, I got this error even if the app runs fine in IDE. Hope you can respond soon. Thank you!
# 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
hi, can you show me how you solve that problem. I have try very much but also don't works
I got the same problem, do you have a solution
@@KAUSTUBHSONKAR after 3 days can't find the way fix that error, i decided give up anh move on the website replace for app mobile android kivy, Website have verry quickly
but you are not showing the error bro
Bro my kivy apk crashes suddenly after the launch.
So will you please show me the changes in the spec file ?? ,i will provide you the spec file.
hey, what if we have multiple folders like, images, database, files, pages etc etc. should I put all of it inside assets and do I reference it anywhere in bulldozer spec file??
did you find answer to this?
@@rohith.m1136 i kind of did but haven't tried
can you tell me how?
Yes My program also includes MySQL database
Thank you for the nice video...
If we are using virtual environment venv, then do we need to change the content of buldozer spec file?
You can try it 🤔
without changing it works fine too...
@devstoriespod Should my .py write only with Kivy, or it is also avaliable for tools like Flet
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
I got this too, just after "STDERR:" :/
@@emky same here bro this video man should help us now
@@Rushil.K hi, can you show me how you solve that problem. I have try very much but also don't works
@@emky hi, did you find solution?
it is not showing in the bin folder
same here
it tells sttder error in running the command
Which software is used to making apk(by python) in pc??
So we just have to detailing the kivy version and no need version declare in kivymd and pillow? As same as if we use requests package, just add the requests separated by comma. Right?
If i use 2 files like the one is .py and another is .kv should i import them both?
I did exactly what you are showing in the video but my app still crushed (I made the same code as you but instead of MDToolbar, I used MDTopAppBar). Do you have any idea what might went wrong?
Upgrade the version might help
what if i have two python files where the main one will call the other one ,will both the files be packaged automatically by buildozer?
hey bro i want to know that how to update it in future if needed
i tried to make this deploy my ML model in this method, it actually required camera access. the APK was installed, but the app is not opening. can you help me out..!!??
i had uploaded my files, model.h5(Model for my project), and the .ipynb file by converting it into .py file. it is not opening.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libffi6
above error show after executing 5 Predefine code
Same problem?
@@AmitRajpoot-os3zdUse libffi-dev instead of libffi6
Bhai normal. gui tkinter waala code app me convert hoga ?
i have some issue.. my code have some sub codes how i must handle them just add to assets?
Hi, could you help me to convert my kivy app, it doesn't open my app on my phone, I've tried everything in builderdozer and nothing.
I did the same way as you did but it was still error.
why it takes 17 min from a student
My app works in 32 bit Androids. But crashes on startup in 64 bit android... What can I do
please my dear can you make one clip write code with python for auto installer application
or hide apk in image
when open image that apk is runing automatic
I have exactly done the steps as told by you but still the app is crashing when opening on mobile phone . Please help
bro please tell me how i can add my images and audio files to library i tried that you told in the video i put all files in a assets folder but still not working what to do now please tell me
What error are you getting?
Maybe in your .kv or .py you used images as images/icon.png and in colab name of your folder is different..see if that's the problem..even i faced the same problem.
@@rogueniroman4778 yes thats right but after changing the folder name it still does not work what i can do now
@@ItsPiroPlayer me too the same error
how about kivy with firebase_admin, can you apk it?
Thanks! You are really helped me.
You're welcome giga chad
Hi, I am facing an error. Can you please share your buildozer.spec file so that I can see what mistake I have done?
my apk crashes after presplash screen when I am including another python file including main.py which is importing that other python file. Where I m going wrong?
Did you add the requirements? Timestamp: 3:00
@Avinash Prasad yo9u should do an update if you have time my friend
please reply please please,how do i generate log of the error why my app is crashing??
How to add libraries
firstly add virtual environment, then open that vemv folder which appears after the creation of that virtual environment,
then open sctipt folder and open that script's directory in cmd (just by typing cmd in the path location of the file, which is some thing like This PC > Local Disc(C:) > User ......)
afrer that just type the library name
like if you want to install Aspose.slide
type
pip install aspose.slides
hey nice video. I also do have problems converting my py to apk. my app works perfectly in my laptop. I have found out that it crashes case it uses cv2. is there any issue with this library. Also flask runs but it with wrong ip. can you help me with all this
???
should .kv file also be uploaded in the google collab for apk conversion?
Yes upload both .kv and .py file
@@avionmission Thanks! app succesfully converted. can I have your email id or contact to ask some doubts on app I am working on?
Mission accomplished ⛳...my instagram is @avionmission
Depends on which libraries you are importing in your python program....just add those library names in the list
@@avionmission which list bro
i did everything but my web browser program is still crashing
how to bypass playstore protection sir ...???? please help
help, "warning pkg-config is not supported"
Great tutorial dude.
I tried changing the icon and splash screen in the buildozer.spec file but the debugger showed errors...it works fine if I don't change the icon settings, can you please guide me what wrong did i do?....
(I changed line 52 to icon.filename = icon.png and imported icon.png as well)
Try "icon.filename = %(source.dir)s/assets/icon.png"...if your icon file is in assets folder otherwise replace it with the directory of your file. Let me know if it works 👍
@@avionmission Tried Everything dude...nothing is working :(
What errors did the debugger show?
@@avionmission it's a huge log hoe can i show it here?
Maybe just the part that you think is important
I followed all ur steps and apk also generated but when I installed it in my mobile it was displaying that 'could not extract private data' and app was closing after it
Can you describe what your app does? Does it run fine on your PC?
I'm getting an issue with
sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev zlib1g-dev libssl-dev openssl libgdbm-dev libgdbm-compat-dev liblzma-dev libreadline-dev libncursesw5-dev libffi-dev uuid-dev libffi6
I get
E: Unable to locate package libffi6
i could with another method, write me if u still wanna know
Hey bro! Thanks for the video but i have the .kv file too...how and when do i import that?please help❤️
Hi Saad, import both your .py file and .kv file into Google Collab. See if it works
@@avionmission thank you so much....this video is actually very useful...hope that works...again thanks❤️❤️❤️
@@saadsohael8179 Glad to hear you found the video helpful...tell me if it doesn't work😉
Hi Avinash i did the same thing what ever you have said, yet my app got crashed
App not opening
I followed all your steps but I got an error at the end. I tried with WSL also and got the same error on my computer. I am not able to figure out what the problem is. I checked the versions they are the same. Can you help me
the same
I was able solve the problem when I noticed colab was using python 3.10
But if I add one more library other than kivy or kivymd it doesn't work. I added qrcode which is a part of kivy-garden. I added these to the requirements part of spec file but doesn't work.
Please I don't have a good computer so can u convert my kivy app to apk or exe.
kivy is good, but i want to use pygame to apk, can you help you?
This reddit thread could be useful. www.reddit.com/r/Python/comments/2ak14j/made_my_first_android_app_in_under_5_hours_using/
i think pygame doesn't support build to APK
I don't want assest to add to it will it run
Hi bro,
You runned the all commands in google colab
But what is the last command ? Which yu don't run in colab after it generates the apk file
I think the last command was for resetting the entire process so you can build again 🤔
But use all tha specifications for in Google colab
does it work for backdoor?
Is it possible to create object detection using python? And will it convert as android application?
Anyway, thank u so much for this tutorial. I'll save this for our project.
Hmm I don't know 🤔.. sounds interesting..will have to try it out
Thanks Man , much appreciated
i dint get apk in bin folder after execution ... bin folder is empty ... please help
Maybe you executed the last command in the notebook "!buildozer android clean", don't run that command....try the whole process one more time, watch the video carefully, I hope it works 👍
My buildozer -v android debug is giving me error,I need help please
My also it is giving last command is failed to execute?
thanks so much, it finally works
Bro help me in my build apk file is generated but the app is dark 🌑 bro pls help me bro pls
Note: even i upload my kivy file
nobody has done a demonstration that packages a project using database to apk
Is it work with pygame
Bro can u make online shopping app using fire base. Like update delete insert features.
Sure, why not. But using Shopify would be better for creating an online store than creating an app from scratch.
@@avionmission I don't know about it please can send some link. I'm a beginner.
What exactly is your aim? Start an online business/store or just learning how to make apps??
@@avionmission creating shopping app using kivy and kivymd. And fire base for business.
Aur bhai aa gaye phirse😁😁
Gayab hoyenge wapas aayenge, jab chahenge vdo banayenge 😁
Wooo ⚡⚡
@@ankushbhattacharjee6394 yo bro 🤜🤛
i didn't get it
even though i did each and every step as u told in the above pls help
Me too :(
Thank you very much as my app was always crash becouse pillow module
thanks bro.
Glad I could help 🙌
I followed every single step it still crashed man
Bro I make a python program not in kivy.cani make it to apk
No, you will need a UI for your android app. How can you build the UI without using libraries like Kivy?
# 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
If anyone face this error and debug this error means guide me to solve this error to deploy this. I face this error last two days
you are not sharing the error, please share it completely so we can help
Dude it's not working please help me out
It's stop at the package the application
It's show that Traceback (more recent call last):
thanks bruh your video saved me
Happy to help 🤜🤛
it still crashed for me man
Pygame?
Awesome! Thank U
Op Brother ❤️
🤜🤛❤️
BROTHER I WILL SEND YOU CODE CAN U BUILD AN APP FOR ME'
thanks for your help!
Good information
अपना आवाज ठिक करो, भिडियो अच्छि हें, पर आप कि भोइस क्वालिटि बुरि हें । एक माइक लेलो
Awesome.
thank you so much! that was amazing!
Thanks!
Something like sheet your channel
thank you!!!!
too fast!!
Jada angrej na bana
Is video ke sirf 40% views hi India se aayein hain bro
thx
Thank you so much!
Your welcome! 🤜🤛
Hi bro. I made an app with kivy but... when I compile it, the app crashes . if i give you the .py code, can you resolve the mysterious fact for me???? And send me the correct apk with your email? Pleasee🙏🙏🙏
Ps. Sorry for my english
Well...the app crash when I try to open it
hello bro, do you have telegram, I want to contact with you
My instagram and twitter handle is @avionmission