Closed gunaNeelamegam closed 1 month ago
new flet build
DOES NOT depend on Kivy's P4A anymore, so you can't use PyJNIus
since new flet build
is based on Beeware's toolchain you can probably call Java/Kotlin functions directly from Python, see here
Correct, it doesn't depend on p4a anymore, but it's not exactly using Beeware's toolchain as well. Python for mobile is now a part of Python 3.13 and backported to 3.12 and below. However, as Beeware and Flet are following the same packaging "standard" their pre-built binary packages should be interchangeable, theoretically.
Is there a separate lib for calling Java/Kotlin functions from Python?
Duplicate Check
Describe the bug
Im using 0.25.0.dev3526 not able to use the P4A jniLibs, before its works fine
Code sample
Code
```python [Paste your code here] ```To reproduce
while running flet build apk
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]Operating System
Linux
Operating system details
linux
Flet version
0.25.0.dev3526
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
No response
Logs
Logs
```console [Paste your logs here] ```Additional details
No response