Python Code to Android APK with Flet | Test APK in Virtual Emulator

  Рет қаралды 38,252

Henri Ndonko - TheEthicalBoy

Henri Ndonko - TheEthicalBoy

Күн бұрын

Пікірлер: 95
@max_unch
@max_unch 9 ай бұрын
Nice video man! Thank you for this simple tutorial.
@scoobyisadog
@scoobyisadog 10 ай бұрын
Thanks so much. I would love a tutorial on integrating existing flutter packages into a flet build. Flutter and Dart are a whole new thing (which is why i was attracted to using Flet in the first place, to avoid learning those lol).
@ndonkoHenri
@ndonkoHenri 10 ай бұрын
We are working on a guide for that. Flet is really awesome and easy to learn, isn’t it? :)
@scoobyisadog
@scoobyisadog 10 ай бұрын
@@ndonkoHenriHuge thanks for all your contributions. Im working on adding mediapipe to flet, hopefully someone beats me to it as im a tad out of my depth haha.
@peterstarboy9533
@peterstarboy9533 10 ай бұрын
Pas mal labas 💪🏽💪🏽 Je regarde rarement les vidéos ci jusqu’au bout 😂
@tikinfluence
@tikinfluence 5 ай бұрын
Nice video sir. Sir please can you make a video on how to use flet for the front end and django for the backend? we are many of us waiting for such a tutorial, you will be the first on youtube to do it. thanks
@ericmichel2963
@ericmichel2963 Ай бұрын
you are the best 🥰🥰
@ndonkoHenri
@ndonkoHenri 10 ай бұрын
Now that you can build an Android APK, what do you think of additionally publishing your application to the web platform? Of course, I got you covered 🙂: kzbin.info/www/bejne/eX3dfI2iq5Z8d6M
@Frank-qg3ie
@Frank-qg3ie 10 ай бұрын
Great work bro 👊🏾
@ndonkoHenri
@ndonkoHenri 10 ай бұрын
Thanks bro ❤️
@eiji1136
@eiji1136 8 ай бұрын
when I run flet build apk, this error appears "OSError: [WinError 193] %1 is not a valid Win32 app"
@Yuriss363
@Yuriss363 8 ай бұрын
I have the same problem
@bestquizMLBB
@bestquizMLBB 7 ай бұрын
Same, have you found a solution?
@ndonkoHenri
@ndonkoHenri 7 ай бұрын
Sorry for that. I suggest you open a discussion or issue on the Flet repo with details to this problem.
@TanmayBhatgare
@TanmayBhatgare 5 ай бұрын
hey bro try switching your python version the latest 3.12 causing this error everytime, i tried with python 3.9 and it works
@TanmayBhatgare
@TanmayBhatgare 5 ай бұрын
@@bestquizMLBB hey bro try switching your python version the latest 3.12 causing this error everytime, i tried with python 3.9 and it works
@fasilwandoor532
@fasilwandoor532 10 ай бұрын
Why a simple app size becomes 84 MB ??
@ndonkoHenri
@ndonkoHenri 9 ай бұрын
We are working on optimizing this.
@One_Peacex
@One_Peacex 7 ай бұрын
​@@ndonkoHenri Did you make it smaller
@ndonkoHenri
@ndonkoHenri 7 ай бұрын
@@One_Peacex flet.dev/docs/publish/android#building-platform-specific-apk
@Abid-gamer5
@Abid-gamer5 6 ай бұрын
Sir how can i change the app logo icon??
@ndonkoHenri
@ndonkoHenri 6 ай бұрын
It is mentioned in the documentation: flet.dev/docs/publish#icons
@odiio3402
@odiio3402 5 ай бұрын
In assets directory, replace the icon.png to other image with the same name
@QuransGems-zd1jd
@QuransGems-zd1jd 6 ай бұрын
2:26 it gives me this error : flet : The term 'flet' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + flet build -h + ~~~~ + CategoryInfo : ObjectNotFound: (flet:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@ndonkoHenri
@ndonkoHenri 6 ай бұрын
I guess you are on windows (powershell). Follow this: flet.dev/docs/getting-started/#python-venv-module Feel free to open a discussion on the Flet repo or tag me on the Flet discord so we can further discuss on it.
@JamesNdoumbe-g8x
@JamesNdoumbe-g8x 5 ай бұрын
Big up 🧠 so amazing
@ПавелШаламов-ж3д
@ПавелШаламов-ж3д 8 ай бұрын
Why dont you show how you installed android studio and flutter? I for example getting error when building apk and it would be very useful to see how you installed all dependencies
@ndonkoHenri
@ndonkoHenri 7 ай бұрын
I didn’t show this because there are a lot of videos/articles on this topic out there. If you face issues, I suggest you google them. If you get errors while using flet build command, please open a discussion on the Flet repo, with details about it.
@da0ud
@da0ud 5 ай бұрын
Does this work for more complicated applications? Like an application which imports the yahoo finance library?
@ndonkoHenri
@ndonkoHenri 5 ай бұрын
Not all libraries for now. We are coming up with a solution for that: github.com/flet-dev/flet/issues/3839
@fellipelopessilva6982
@fellipelopessilva6982 7 ай бұрын
Hi, I created the apk, but when I launch it, it doesn't show anything, what could have happened?
@ndonkoHenri
@ndonkoHenri 7 ай бұрын
Strange. Can you please open an issue on the Flet repo with all the details?
@dipeshsamrawat7957
@dipeshsamrawat7957 5 ай бұрын
Thank you. Is this method flet version and platform independent?
@ndonkoHenri
@ndonkoHenri 5 ай бұрын
Yep. Flet is a cross-platform framework and building APK can be done on any platform (Linux, macOS, Windows). Video Recommendation: kzbin.info/www/bejne/hZOyXndoiamSrdE
@dsademonslayeramv5763
@dsademonslayeramv5763 25 күн бұрын
how to use "request_permission(PermissionType.NOTIFICATION)" for allow NOTIFICATION?
@lucascpd3590
@lucascpd3590 7 ай бұрын
oops thanks a lot for the tutorial but could you help me? I'm trying to build by w10.. After the APK is generated when I try to log in, it stays on a direct white screen and doesn't exit it
@ndonkoHenri
@ndonkoHenri 7 ай бұрын
Can you open an issue on the Flet repo?
@David-driver-01
@David-driver-01 3 ай бұрын
I got a bug, can"t get fixed. Everytime app is put in background it does not resume. I think it has simething to do with life cycle but there is not enougth information
@ndonkoHenri
@ndonkoHenri 3 ай бұрын
Open a discussion on the Flet repo.
@CarlosAlonso-m1g
@CarlosAlonso-m1g 8 ай бұрын
Nice, and what if I have an .kv file to feed my main.py project?
@ndonkoHenri
@ndonkoHenri 8 ай бұрын
.kv files are meant to be used in projects making use based on the Kivy Python framework. To be brief, they are useless in Flet. 😅
@KARYEIJAFELEX
@KARYEIJAFELEX 5 ай бұрын
Hello,thank you for this video. Video on how to package native packages? Waiting for such an amazing tutorial
@codemedio6418
@codemedio6418 2 ай бұрын
I have this error : Error: No pubspec.yaml file found. This command should be run from the root of your Flutter project.
@ndonkoHenri
@ndonkoHenri 2 ай бұрын
Please open a discussion on the Flet GitHub repository, so we can discuss on it.
@ayeikh1867
@ayeikh1867 10 ай бұрын
Can you explain to us in the next video how can we build apk when we use library as numpy ?
@ndonkoHenri
@ndonkoHenri 10 ай бұрын
Thanks for your suggestion! Will find some time to talk on that.
@zandorpetrov8901
@zandorpetrov8901 2 ай бұрын
I have windows and have this error.... py", line 87, in clone raise VCSNotInstalled(msg) cookiecutter.exceptions.VCSNotInstalled: 'git' is not installed.
@ndonkoHenri
@ndonkoHenri 2 ай бұрын
You need to install git: git-scm.com/book/en/v2/Getting-Started-Installing-Git
@MengistAbyssinia
@MengistAbyssinia 10 ай бұрын
After installing on my android app, it sometimes stops working, what do you think is the cause?
@ndonkoHenri
@ndonkoHenri 10 ай бұрын
That’s strange. Will you mind opening an issue on the Flet repo with all the details?
@patsadelon8241
@patsadelon8241 6 ай бұрын
Greaaaaat
@kishore7552
@kishore7552 3 ай бұрын
when we add dependencies in requirement file it is not building apk it took time not working
@ndonkoHenri
@ndonkoHenri 3 ай бұрын
What error did you get? Please open a discussion on the Flet repo so we can discuss it.
@DANIELSILVA-ud4nk
@DANIELSILVA-ud4nk 5 ай бұрын
I made a simple project and it took 3 hours to generate the apk, is there a bug or is it normal?
@ndonkoHenri
@ndonkoHenri 5 ай бұрын
This is very rare, but has happened to some devs. Difficult to say what’s the cause of that, honestly. Perhaps the device you are using? Anyway, you can open a discussion on the Flet repo so we discuss it. By the way, check out this video: kzbin.info/www/bejne/hZOyXndoiamSrdE You will find it useful.
@globalassemblage
@globalassemblage 9 ай бұрын
When we use any external package like mysql.connector then after apk build it shows error kindly suggest solution
@ndonkoHenri
@ndonkoHenri 9 ай бұрын
Please can you share the error you received in an issue on the Flet repo: github.com/flet-dev/flet/issues
@jolsenekols
@jolsenekols 3 ай бұрын
Bro i want do this method with vscode , can i this?
@ndonkoHenri
@ndonkoHenri 3 ай бұрын
What do you mean exactly?
@tct123-private
@tct123-private 10 ай бұрын
Can you maybe show, how to upload this to play store (etc.)?
@ndonkoHenri
@ndonkoHenri 9 ай бұрын
We are working on a full guide on this. Stay tuned!
@xulzayroix5974
@xulzayroix5974 9 ай бұрын
'flutter' command is not available in PATH. Install flutter SDK
@ndonkoHenri
@ndonkoHenri 9 ай бұрын
You need to have Flutter installed (and added to path), before you can use ‘flet build’ command. Link to docs: flet.dev/docs/publish#flutter-sdk
@arcelford-qi7vr
@arcelford-qi7vr 9 ай бұрын
@@ndonkoHenri i have a the same issue can you be more specific to your answer. Thanks!
@ndonkoHenri
@ndonkoHenri 8 ай бұрын
Please open an issue on the Flet repo: github.com/flet-dev/flet/issues/new/choose Let's continue the discussion from there.
@fabsync
@fabsync 10 ай бұрын
fantastic video! It will be great to see like a noteapp with fastapi to see how flet endpoints work..
@misteranonymous1157
@misteranonymous1157 3 ай бұрын
How to change the app icon and app name
@ndonkoHenri
@ndonkoHenri 3 ай бұрын
Everything is mentioned in the docs: flet.dev/docs/publish#icons
@burakkaanboyuk
@burakkaanboyuk 5 ай бұрын
what is code editor name, is it vscode
@ndonkoHenri
@ndonkoHenri 4 ай бұрын
Pycharm by JetBrains
@imnobody8293
@imnobody8293 3 ай бұрын
Looks like Pycharm.
@qudratillosalakhiddinov
@qudratillosalakhiddinov 10 ай бұрын
@pro4965
@pro4965 8 күн бұрын
Thanks
@viewsz
@viewsz 10 ай бұрын
great!
@ndonkoHenri
@ndonkoHenri 10 ай бұрын
Thanks! 🙂
@arcelford-qi7vr
@arcelford-qi7vr 9 ай бұрын
BUILD FAILED in 5m 26s Gradle task assembleRelease failed with exit code 1 Error building Flet app - see the log of failed command above.
@ndonkoHenri
@ndonkoHenri 8 ай бұрын
Please open an issue on the Flet repo: github.com/flet-dev/flet/issues/ Let’s continue the discussion from there.
@Satpalsingh20631
@Satpalsingh20631 8 ай бұрын
How to change logo in flet python apk ?
@ndonkoHenri
@ndonkoHenri 8 ай бұрын
It is mentioned in our documentation: flet.dev/docs/publish#icons
@LoongBerries
@LoongBerries 8 ай бұрын
does this need a Android sdk?
@ndonkoHenri
@ndonkoHenri 7 ай бұрын
Yep, Flutter requires it.
@VerBotWA_Mohamedhelal
@VerBotWA_Mohamedhelal 9 ай бұрын
hi I'm having a problem in flet build apk
@ndonkoHenri
@ndonkoHenri 9 ай бұрын
Can you please open an issue with all the details on the Flet repo(also check if the issue has not yet been reported/answered by other community members): github.com/flet-dev/flet/issues
@oscarfantozzi3688
@oscarfantozzi3688 8 ай бұрын
Run using flet build apk --verbose to see the details of your error.
@marimon6634
@marimon6634 5 ай бұрын
when i try to build apk, Could not move temporary workspace (C:\Users\marimon\.gradle\caches\transforms-4\e02f2cb1f59ba97d4ab357f969c96887-35f901b7-661d-4b2a-b760-7ce0c 5495163) to immutable location (C:\Users\marimon\.gradle\caches\transforms-4\e02f2cb1f59ba97d4ab357f969c96887) > Could not move temporary workspace (C:\Users\marimon\.gradle\caches\transforms-4\e02f2cb1f59ba97d4ab357f969c96887-35f901b7-661d-4b2a-b760-7ce0c 5495163) to immutable location (C:\Users\marimon\.gradle\caches\transforms-4\e02f2cb1f59ba97d4ab357f969c96887)
@ndonkoHenri
@ndonkoHenri 5 ай бұрын
@marimon6634 Feel free to open an issue an issue on the Flet repo with all info to the issue. You might find this useful: Package Flet Python Apps for ALL Platforms using GitHub Actions | Desktop, Mobile & Web kzbin.info/www/bejne/hZOyXndoiamSrdE
@S-Lomar
@S-Lomar Ай бұрын
Guys post more videos about app❤❤😂😂😂😂😂😂😂😂❤❤❤❤❤❤😂😂😂
@CAMILLEMONKAMDJOMANI
@CAMILLEMONKAMDJOMANI 10 ай бұрын
Fort bro❤
@antoniofuller2331
@antoniofuller2331 9 ай бұрын
84MB lol. We're better off doing Java/Kotlin/flutter/dart the hard way. Python just take shortcuts to do very little lol
@ndonkoHenri
@ndonkoHenri 9 ай бұрын
Understandable! - Feel free to go with what best suits your needs. However, we are working on optimizing the application size.
@deepakpune1
@deepakpune1 7 ай бұрын
@@ndonkoHenri waiting for it. 100mb size is too much :)
@ndonkoHenri
@ndonkoHenri 7 ай бұрын
@@deepakpune1 flet.dev/docs/publish/android#building-platform-specific-apk
@deepakpune1
@deepakpune1 7 ай бұрын
@@ndonkoHenri awesome thanks, will try it
@newstodayyt1
@newstodayyt1 5 ай бұрын
This is amazing some of us want to use python
Build Android Apps with Flet in Python (APKs)
8:59
NeuralNine
Рет қаралды 46 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
How to make APK from Flet using Serious Python
20:13
Mr Django
Рет қаралды 22 М.
Level 1 to 100 Science Experiments
15:53
Hafu Go
Рет қаралды 19 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 7 МЛН
Test Flet Python Apps on Android Mobile Emulator
5:18
Henri Ndonko - TheEthicalBoy
Рет қаралды 4,5 М.
Convert Python to Android with WINDOWS & LINUX + Fix Common Bugs
18:59
Python Simplified
Рет қаралды 236 М.
I Made an Android App in MINUTES with This AI Tool
10:21
Creator Magic
Рет қаралды 277 М.
I use Drag and Drop to build modern Python Apps
14:08
Softlinks
Рет қаралды 95 М.