Closed TheCodeCache closed 3 weeks ago
try this python -m pip install --upgrade pip pip install --upgrade setuptools wheel
and build again
Idk about the error but if you want to build your app, here's a solution for it.
I've gone through the steps you outlined on a Windows 11 machine but could not reproduce the error. Can you try updating to Python 3.12 and run the same steps and report back?
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 0: Install
java 8
and verify its version:Step 1: Install
Flutter
(latest 3.24.3) and verify its version:Step 2: Install
Android Studio
(latest Koala 2024.1.2) and installed all these components:Step 3: Configure below
Environment Variables
into both user path as well as system path:Step 4: Verify the installation with
flutter doctor
,Step 5: 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 6: 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