Not able to build a Flet Counter app into APK format on Windows 11 #4053
TheCodeCache
started this conversation in
General
Replies: 1 comment
-
Glad to help! See this I think this is some sort of bug in flet codebase itself, so when you download |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been trying to build a very simple flet counter app to APK file, but it stucks at the same place everytime. I've verified all the configuration as per the these docs : doc1, doc2, doc3, and verified all the installations, yet it fails to build and gets stuck after installing the dependencies. Please find below steps that I performed:
I'm running these steps on my local Windows 11, with 12 GB of RAM and 256 of SSD capacity.
Step 1: Install
java 8
and verify its version:Step 2: Install
Python 3.11.6
Step 3: Install
Flutter
(latest 3.24.3) and verify its version:Step 4: Install
Android Studio
(latest Koala 2024.1.2)and installed all these components:
Step 5: Configure below
Environment Variables
into both user path as well as system path:Step 6: Verify the installation with
flutter doctor
,Step 7: Create a simple flet counter app and make sure it works:
Verify its output:
This is my
code folder structure
:and
requirements.txt
file contains just one packageflet
and nothing else:Step 8: Run the below flet build command:
flet build apk -vv
Here is the command line logs:
The
issue
is: it gets completely stuck on last step as shown above, waited for sufficiently long for about 1 hr, yet it does not move forward at all.However, when I stop this with ctrl+C , I get below logs:
Additionally, I've also followed these video resources from
youtube
in order to resolve above issue, but no lucklink1, link2, link3, link4, link5
Please help, Would really appreciate
Beta Was this translation helpful? Give feedback.
All reactions