flet==0.25.0.dev3570 apk "Android" ImportError: dlopen failed: cannot locate symbol "sqlite3_blob_close" referenced by "/data/data/com.omamkaz.yemen_net/files/flet/python_bundle/modules/_sqlite3.cpython-312.so"...
Duplicate Check
- [X] I have searched the opened issues and there are no duplicates
Describe the bug
ImportError: dlopen failed: cannot locate symbol "sqlite3_blob_close" referenced by "/data/data/com.omamkaz.yemen_net/files/flet/python_bundle/modules/_sqlite3.cpython-312.so"...
Code sample
Code
import sqlite3
from pydal import DAL, Field
from datetime import datetime
class DBEngine:
DB_PATH: str = ""
db: DAL = None
@classmethod
def init_db(cls):
cls.db = DAL(f'sqlite://{cls.DB_PATH}')
@classmethod
def init_tables(cls):
try:
cls.db.define_table(
'users',
...
)
cls.db.commit()
except sqlite3.OperationalError:
pass
To reproduce
Traceback (most recent call last):
File "
Expected behavior
No response
Screenshots / Videos
Captures
Operating System
Linux
Operating system details
ubuntu-latest
Flet version
0.25.0.dev3570
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
Maybe this error comes from python3.12 build configure or sqlite3 supporting!
Logs
Logs
[Paste your logs here]
Additional details
Previous Flet Version: 0.24.1, but this version doesn't have --split-per-abi future
NOTE: This error shows when starting the app in "Android", so it comes after successfully compiling and deploying
The issue has been fixed. Please re-build the app.
Ready :), But still get some errors:
- Black Icon
- Window Destroy when I leave the app and come back
- assets/flutter_assets/app/app.zip, The source code is .py not .pyc!
- The application gets slow after this update!
Done, Thanks...