Errors appearing when running flet on Android when the flet code contains some libraries even though they are binary on https://pypi.org/ like pyzbar: #4163
-
Discussed in #4158Originally posted by YasseenAlhusammi October 14, 2024 |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
I have a suggestion to modify pyzbar so that it can run zbar: I found a solution: `import platform all = ['load'] def _windows_fnames(): def _android_fnames(): def load(): Including both: libiconv.so and libzbarjni.so after downloading them from the link: https://github.com/chentao0707/ZBarAndroidSDK/tree/master/ZBarScanProjAll/libs/arm64-v8a |
Beta Was this translation helpful? Give feedback.
-
|
I've been stuck trying to get pyzbar to work on Android for a whole month now and I still can't. I hope packages are prioritized before anything else so that flet stands out from other tools. |
Beta Was this translation helpful? Give feedback.
-
|
In short: The solution is available at the following link: |
Beta Was this translation helpful? Give feedback.
-
|
https://pub.dev/packages/flutter_zxing |
Beta Was this translation helpful? Give feedback.
-
|
for pure python barcode encoding see https://github.com/xulihang/EAN13_Reader. |
Beta Was this translation helpful? Give feedback.
-
|
pyzbar has been added for Android and iOS: https://pypi.flet.dev/pyzbar Give it a try and let know. |
Beta Was this translation helpful? Give feedback.
pyzbar has been added for Android and iOS: https://pypi.flet.dev/pyzbar
Give it a try and let know.