flet
flet copied to clipboard
NoModuleFoundError on android: matplotlib
Duplicate Check
- [x] I have searched the opened issues and there are no duplicates
Describe the bug
when installed on android the matplotlib library throws an exception. flet build aab is emplyed.
`requires-python = ">=3.12" dependencies = [ "flet", "pandas", "tabulate", "repath", "python-dotenv", "boto3", "requests", "certifi", "six", "sentry-sdk", "matplotlib" ]
[tool.flet.app] path = "src"
[tool.flet.compile] app = true packages = true cleanup = true
[tool.flet.android] min_sdk_version = 21 target_sdk_version = 35`
Code sample
Code
import matplotlib.pyplot as plt
To reproduce
- add dependency
- build aab
- install on device
- immediately crash
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
Windows 11
Flet version
0.27.6
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response