[Python to APK] - Convert Python to Android with GitHub 2022

  Рет қаралды 12,734

Ahmad Cooper

Ahmad Cooper

Күн бұрын

Пікірлер: 55
@Red_Blocky
@Red_Blocky 8 ай бұрын
Better than the "bigger" channels!
@ahmadcooper40
@ahmadcooper40 8 ай бұрын
Thanks. It's a bit dated, things have changed so it doesn't 100% work with this method now. But I'm too busy to Reupload 😅
@hackzgamezyt
@hackzgamezyt 2 жыл бұрын
Keep it up bro clear n easy to understand👌
@ahmadcooper40
@ahmadcooper40 2 жыл бұрын
Happy to help, cheers
@juan9839
@juan9839 Жыл бұрын
DON'T USE GITHUB IF YOU WANT TO WORK WITH THE ANDROID'S CAMERA, IT WILL GIVE YOU THE ERROR KIVY._CLOCK. YOU ARE WELCOME.
@Lasswee
@Lasswee Жыл бұрын
So if I build the kivy APK using Linux. And I am accessing Android camera by the opencv code in my kivy main code file will that build work to access Android camera
@ryveltimothystamber1739
@ryveltimothystamber1739 2 жыл бұрын
Nice, clear explanation 👍
@MPM-ShopCompany
@MPM-ShopCompany 9 ай бұрын
Ok well good but what is if my Code needs to write and read the memory of the Android Phone? I need to have ther permission from the Android Phone for that. Do I need to program this in my Code or do I need to put it in the buildozer spec file.
@ahmadcooper40
@ahmadcooper40 9 ай бұрын
This video is outdated, that is, things have changed and this exact process doesn't work. I could update it later, but I'm quite busy. I've made an app that does what you say. You nred to update both the code and the spec file. Bjt the spec file just needs the packages you used. You can download my APK to tesr it out, and copy my script and modify it: github.com/AhmadAC/MolarMassApp/actions/runs/7405735045
@ahmadcooper40
@ahmadcooper40 9 ай бұрын
To copy the android clipboard, update your import in your python file: from kivy.core.clipboard import Clipboard (for my app) Spec file: requirements = python3==3.7.6,hostpython3==3.7.6,kivy,pillow,molmass
@zasmedia583
@zasmedia583 Ай бұрын
Hi thanks for the video, but i dont understand which python files generally you need to upload? pls let me know.
@jamaisentendu
@jamaisentendu Жыл бұрын
I have a problem with the build.yml file when converting the app
@ahmadcooper40
@ahmadcooper40 Жыл бұрын
There could be lot of reasons why the build.yml file could fail. If you followed the steps exactly in the video, and used the files provided. It should work. Unless things have changed (software versions etc.) between when I posted the video and now. I don't know how to troubleshoot any issues since I'm still learning. You can check the buildozer documentation in the website or go r/kivy on Reddit and see if someone can help there. Hope that helps!
@jamaisentendu
@jamaisentendu Жыл бұрын
@@ahmadcooper40 Thanks
@linzh2753
@linzh2753 8 ай бұрын
Hi, it appears that the liscence for Android Software Development Kit License Agreement and Android SDK Preview License Agreement isnt accepted in the code. Thus leading to "Aidl not found, please install it." error. May I know how I can fix this? Thank you.
@ahmadcooper40
@ahmadcooper40 8 ай бұрын
No idea. Maybe ask in Reddit.
@linzh2753
@linzh2753 8 ай бұрын
@@ahmadcooper40 I have finally gotten it to work but with Google colab. If using GitHub, the right build code needs to be used. Some code online manages to accept only 1 licence, others could accept 2. As for Google colab, I used codes which were updated to fix errors, mainly outdated cython and missing libiffi6 and others, and it finally worked
@yujin1569
@yujin1569 5 ай бұрын
I have the same problem
@yujin1569
@yujin1569 5 ай бұрын
@@ahmadcooper40 maybe you just need to add several lines to install android skd,but I do not know how to write this
@ss-ln2bu
@ss-ln2bu 3 ай бұрын
​@@linzh2753through google colab, multiple time I got the erro while libiffi building, could you help to solve it,
@demiscunningham7340
@demiscunningham7340 6 ай бұрын
how can I connect with you? I have a project thats quite big
@zombiebloodsparkle1
@zombiebloodsparkle1 Жыл бұрын
if i want to update the files do i have to rebuild it everytime? i dont wanna wait 25mins each time
@ahmadcooper40
@ahmadcooper40 Жыл бұрын
Unfortunately you do, its honestly the less painful way compared to rebuilding it on your own computer. I recommend testing scripts you would like to compile to android on your pc before you compile it. Pydroid3 works pretty well on android also.
@zombiebloodsparkle1
@zombiebloodsparkle1 Жыл бұрын
@@ahmadcooper40 ah dang, ill just use linux on a VM itll be faster
@ahmadcooper40
@ahmadcooper40 Жыл бұрын
@@zombiebloodsparkle1 How fast can you build an android app on linux with a VM?
@zombiebloodsparkle1
@zombiebloodsparkle1 Жыл бұрын
@@ahmadcooper40 When using linux u dont need to use github, you use buildozer directly. So when you first compile it, it'll take 20min but when u change code and compile it again itll take about 30sec
@ahmadcooper40
@ahmadcooper40 Жыл бұрын
@@zombiebloodsparkle1 That's cool, didn't know about that. Which linux distro do you use? Ubuntu?
@FGuerrida
@FGuerrida 2 жыл бұрын
👏 👏 bravo good job
@josephkhoshghalb3962
@josephkhoshghalb3962 Жыл бұрын
hello why it doesnt open the git hub signe in? like at 6:17
@ahmadcooper40
@ahmadcooper40 Жыл бұрын
have you installed Git? gitforwindows.org/
@josephkhoshghalb3962
@josephkhoshghalb3962 Жыл бұрын
@@ahmadcooper40 yes maybe I have to download the files in some specific places?
@ahmadcooper40
@ahmadcooper40 Жыл бұрын
The problem is setting up github, once github is set up the rest of the tutorial should work. Try look around online for solutions.
@josephkhoshghalb3962
@josephkhoshghalb3962 Жыл бұрын
@@ahmadcooper40 thank you
@vibgyorbk19
@vibgyorbk19 7 ай бұрын
bro please make new tutorial
@ahmadcooper40
@ahmadcooper40 6 ай бұрын
Sorry I can't help. Idk why but it worked 4 months ago and now it doesn't. It's honestly not worth the effort because every few months something can change and it'll break the conversion to apk.
@dndjdjdju
@dndjdjdju 3 ай бұрын
​@@ahmadcooper40 What to do then?
@Billy-yx6se
@Billy-yx6se 2 жыл бұрын
Try a build with target api 31
@Billy-yx6se
@Billy-yx6se 2 жыл бұрын
How can we do this in google colab?
@ahmadcooper40
@ahmadcooper40 2 жыл бұрын
This video is for GitHub. I haven't tried Google collab.
@Apluen
@Apluen Жыл бұрын
What's command in Linux?
@ahmadcooper40
@ahmadcooper40 Жыл бұрын
This method uses Github+Windows, I don't know the Linux command.
@JaaOffendJaa
@JaaOffendJaa 2 жыл бұрын
ur git link is 404
@ahmadcooper40
@ahmadcooper40 2 жыл бұрын
Thanks for the notice, it got suspended 😅
@ahmadcooper40
@ahmadcooper40 2 жыл бұрын
I've put the files here: 1drv.ms/u/s!Anr5SSYw7QjUgvlves0X1inipEjnXQ?e=31JqpS
@JaaOffendJaa
@JaaOffendJaa 2 жыл бұрын
@@ahmadcooper40 thank you for files Ahmad 🥰
@amygdala2022
@amygdala2022 Жыл бұрын
To slowly very long time and to many error crash. Waste Time !! 💩💩💩
@ahmadcooper40
@ahmadcooper40 Жыл бұрын
You are correct, do you know any better methods?
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 54 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 27 МЛН
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 210 М.
Python Code to Android APK with Flet | Test APK in Virtual Emulator
8:12
Henri Ndonko - TheEthicalBoy
Рет қаралды 32 М.
Converting Python Kivy to Android APK using Google Colab
8:54
GAURAV KUMAR JAIN
Рет қаралды 93 М.
The Value of Source Code
17:46
Philomatics
Рет қаралды 213 М.
The EASIEST Way To Build Your Mobile App In 30 Minutes (No Code)
9:56
Christian Peverelli - WeAreNoCode
Рет қаралды 191 М.
Convert Python to Android with WINDOWS & LINUX + Fix Common Bugs
18:59
Python Simplified
Рет қаралды 232 М.
Google unveils 'mind-boggling' quantum computing chip | BBC News
5:53
Git It? How to use Git and Github
12:19
Fireship
Рет қаралды 789 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 54 МЛН