flet-dev / flet

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
https://flet.dev
Apache License 2.0
9.96k stars 392 forks source link

White Screen After Launching Apk flet 0.23.1 #3511

Open Muddassirofficial opened 2 weeks ago

Muddassirofficial commented 2 weeks ago

Duplicate Check

Describe the bug

last day new update come (flet 0.23.1) but it has same issue like previous version its building apk of double size and when we run it on mobile device its showing blank screen as only older version (flet 0.22.0) is working fine and stable kindly its request from community to resolve this issue as soon as possible because our whole project is stucked we even cant deployed because many widgets depends on new release

Code

No response

To reproduce

image

Expected behavior

No response

Screenshots

No response

Operating System

Windows

Operating system details

Android

Flet version

0.23.1

Regression

No, it isn't

Suggestions

No response

Additional details

No response

Muddassirofficial commented 2 weeks ago

Any update about this issue

nastiliano commented 2 weeks ago

Hello,

3 days ago I upgraded to "Flet v.0.23" and I upgraded "Flutter" to last version and for me (in Linux) it was a complete disaster.

Tonight I'm going to try v0.23.1 in Linux. (code and build)

In windows I can code normally with v.0.23.1 (I didn't try to build yet....)

Best regards.

nastiliano commented 2 weeks ago

Hello.

I confirm in Linux (Ubuntu 24.04 - Linux 6.8.0-35-generic - Gnome 46 ) is possible code but not possible to build (the same issue, white screen).

Thanks.

nastiliano commented 2 weeks ago

Hello.

I can confirm in MacOS (14.5 - Intel Processor) I can't even "compile" code with Visual Studio. Black screen appears.

Thanks, best regards

FeodorFitsner commented 2 weeks ago

It is fixed in Flet 0.23.1.

Please cleanup Cookiecutter cache before running flet build command.

On Windows:

rd /s /q %USERPROFILE%\.cookiecutters

On Mac/Linux:

rm -rf ~/.cookiecutters
NHLOCAL commented 2 weeks ago

Now tested on Windows and working for apk! The size is also correct and is about 40 MB as in the old versions

nastiliano commented 2 weeks ago

Tested in Linux. Ok again!

Thank you very much.