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).
@@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.
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
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
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.
Yep. Flet is a cross-platform framework and building APK can be done on any platform (Linux, macOS, Windows). Video Recommendation: ua-cam.com/video/ObO-D2TD_wo/v-deo.html
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
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.
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
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
I have windows and have this error.... py", line 87, in clone raise VCSNotInstalled(msg) cookiecutter.exceptions.VCSNotInstalled: 'git' is not installed.
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: ua-cam.com/video/ObO-D2TD_wo/v-deo.html You will find it useful.
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)
@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 ua-cam.com/video/ObO-D2TD_wo/v-deo.html
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
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 🙂: ua-cam.com/video/CLzKZlv1IAA/v-deo.html
Nice video man! Thank you for this simple tutorial.
Pas mal labas 💪🏽💪🏽
Je regarde rarement les vidéos ci jusqu’au bout 😂
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).
We are working on a guide for that. Flet is really awesome and easy to learn, isn’t it? :)
@@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.
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
Great work bro 👊🏾
Thanks bro ❤️
you are the best 🥰🥰
Hello,thank you for this video. Video on how to package native packages? Waiting for such an amazing tutorial
when I run flet build apk, this error appears "OSError: [WinError 193] %1 is not a valid Win32 app"
I have the same problem
Same, have you found a solution?
Sorry for that. I suggest you open a discussion or issue on the Flet repo with details to this problem.
hey bro try switching your python version the latest 3.12 causing this error everytime, i tried with python 3.9 and it works
@@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
Why a simple app size becomes 84 MB ??
We are working on optimizing this.
@@ndonkoHenri Did you make it smaller
@@One_Peacex flet.dev/docs/publish/android#building-platform-specific-apk
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
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.
Big up 🧠 so amazing
Sir how can i change the app logo icon??
It is mentioned in the documentation: flet.dev/docs/publish#icons
In assets directory, replace the icon.png to other image with the same name
Does this work for more complicated applications? Like an application which imports the yahoo finance library?
Not all libraries for now.
We are coming up with a solution for that: github.com/flet-dev/flet/issues/3839
Thank you.
Is this method flet version and platform independent?
Yep. Flet is a cross-platform framework and building APK can be done on any platform (Linux, macOS, Windows).
Video Recommendation: ua-cam.com/video/ObO-D2TD_wo/v-deo.html
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
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.
Nice, and what if I have an .kv file to feed my main.py project?
.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. 😅
fantastic video! It will be great to see like a noteapp with fastapi to see how flet endpoints work..
Hi, I created the apk, but when I launch it, it doesn't show anything, what could have happened?
Strange.
Can you please open an issue on the Flet repo with all the details?
Can you explain to us in the next video how can we build apk when we use library as numpy ?
Thanks for your suggestion!
Will find some time to talk on that.
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
Open a discussion on the Flet repo.
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
Can you open an issue on the Flet repo?
I have windows and have this error....
py", line 87, in clone
raise VCSNotInstalled(msg)
cookiecutter.exceptions.VCSNotInstalled: 'git' is not installed.
You need to install git: git-scm.com/book/en/v2/Getting-Started-Installing-Git
when we add dependencies in requirement file it is not building apk it took time not working
What error did you get? Please open a discussion on the Flet repo so we can discuss it.
I have this error :
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Please open a discussion on the Flet GitHub repository, so we can discuss on it.
Greaaaaat
Can you maybe show, how to upload this to play store (etc.)?
We are working on a full guide on this. Stay tuned!
Bro i want do this method with vscode , can i this?
What do you mean exactly?
I made a simple project and it took 3 hours to generate the apk, is there a bug or is it normal?
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: ua-cam.com/video/ObO-D2TD_wo/v-deo.html
You will find it useful.
After installing on my android app, it sometimes stops working, what do you think is the cause?
That’s strange. Will you mind opening an issue on the Flet repo with all the details?
How to change the app icon and app name
Everything is mentioned in the docs: flet.dev/docs/publish#icons
When we use any external package like mysql.connector then after apk build it shows error kindly suggest solution
Please can you share the error you received in an issue on the Flet repo: github.com/flet-dev/flet/issues
what is code editor name, is it vscode
Pycharm by JetBrains
Looks like Pycharm.
'flutter' command is not available in PATH. Install flutter SDK
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
@@ndonkoHenri i have a the same issue can you be more specific to your answer. Thanks!
Please open an issue on the Flet repo: github.com/flet-dev/flet/issues/new/choose
Let's continue the discussion from there.
Guys post more videos about app❤❤😂😂😂😂😂😂😂😂❤❤❤❤❤❤😂😂😂
Fort bro❤
How to change logo in flet python apk ?
It is mentioned in our documentation: flet.dev/docs/publish#icons
does this need a Android sdk?
Yep, Flutter requires it.
great!
Thanks! 🙂
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)
@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
ua-cam.com/video/ObO-D2TD_wo/v-deo.html
hi I'm having a problem in flet build apk
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
Run using flet build apk --verbose to see the details of your error.
⭐
BUILD FAILED in 5m 26s
Gradle task assembleRelease failed with exit code 1
Error building Flet app - see the log of failed command above.
Please open an issue on the Flet repo: github.com/flet-dev/flet/issues/
Let’s continue the discussion from there.
84MB lol. We're better off doing Java/Kotlin/flutter/dart the hard way. Python just take shortcuts to do very little lol
Understandable! - Feel free to go with what best suits your needs.
However, we are working on optimizing the application size.
@@ndonkoHenri waiting for it. 100mb size is too much :)
@@deepakpune1 flet.dev/docs/publish/android#building-platform-specific-apk
@@ndonkoHenri awesome thanks, will try it
This is amazing some of us want to use python
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 🙂: ua-cam.com/video/CLzKZlv1IAA/v-deo.html