-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apk package runs ok but aab bundle flet 0.25.2
with the same structure crashes
#4655
Comments
So, just to confirm, it gives that |
Studied the problem a bit. I'm not sure how come APK works, but AAB doesn't, but the only explanation could be the difference in |
I don't know. I did not try it. When we come to the matter of uploading the app to the Google Play Store so we can test the aab file it can be hard to debug and create a test app in the platform. |
I will try it out and let you know |
@FeodorFitsner I ran a bunch of builds with many different envs multiple times. As I read in the Pint issues apparently It was fixed in Pint==0.24.4 and that is the version I am using. And the bug is just for Python 3.13 and I was using 3.11.6 and 3.12 but the bug information looks like a lot so I ran with Python 3.13 version. I removed almost all the code to test and when I introduced this line: from pint import UnitRegistry The bug shows again. But it's not the problem. The problem with flet are: Just when I build Here the link to download apk https://files.filipelopes.me/share/PFgamCY4 It's working fine. Non sense |
Side note: You are embedding |
🥲 Thank you! LOL I did not realize it until now. Is there some .gitignore thing for flet to list files to ignore on packaging? |
Duplicate Check
Describe the bug
I've been working in this bug for a week and searching for solve. When I build an apk, download to the phone and execute it works fine but when I build to aab and download through (internal test) Play Store and open the app it breaks in a blank screen with this (if you want to test it just send our gmail so I can insert in the internal testers list)
Using
flet 0.25.2
flutter 3.24.2
andpython 3.11.6
@ndonkoHenriCode sample
Code
pyproject.toml
requirements.txt
main.py
services/classes.py
To reproduce
Steps I've done to reproduce:
services/classes.py
like:but it breaks before class creation as the log says
3. Bundle it with signature
flet build aab ...
and send it to Play StoreExpected behavior
Runs as well as package build with
flet build apk
Screenshots / Videos
Captures
Operating System
macOS
Operating system details
15.1.1 (24B91) Sequoia
Flet version
0.25.2
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
Additional details
No response
The text was updated successfully, but these errors were encountered: