I am building a project that uses python in flutter with the help of serious_python package. I am certain that I setup everything as it was in a documentation, but when I run the following code:
final result = await SeriousPython.run( "assets/app.zip", );
I get the following error:
I/flutter ( 2154): extractAssetOrFile directory: /data/user/0/com.example.levelup_app/files/flet/assets I/flutter ( 2154): Start unpacking archive: assets/app.zip I/flutter ( 2154): Finished unpacking application archive in 0:00:00.213992 D/nativeloader( 2154): Load libpyjni.so using ns clns-7 from class loader (caller=/data/app/~~IGcWYyczFXma7ubMvFTLiw==/com.example.levelup_app-1auE68ZJUJG-0no0Eum6pA==/base.apk!classes5.dex): dlopen failed: library "libpyjni.so" not found I/flutter ( 2154): Warning: Unable to load libpyjni.so library: PlatformException(Error, dlopen failed: library "libpyjni.so" not found, null, null) I/flutter ( 2154): getNativeLibraryDir: /data/app/~~IGcWYyczFXma7ubMvFTLiw==/com.example.levelup_app-1auE68ZJUJG-0no0Eum6pA==/lib/x86_64 I/flutter ( 2154): extractAssetOrFile directory: /data/user/0/com.example.levelup_app/files/flet/python_bundle I/flutter ( 2154): Start unpacking archive: /data/app/~~IGcWYyczFXma7ubMvFTLiw==/com.example.levelup_app-1auE68ZJUJG-0no0Eum6pA==/lib/x86_64/libpythonbundle.so I/flutter ( 2154): Finished unpacking application archive in 0:00:08.463919 I/flutter ( 2154): pythonLibPath: /data/user/0/com.example.levelup_app/files/flet/python_bundle I/flutter ( 2154): dynamicLibPath: libpython3.12.so I/flutter ( 2154): programDirPath: /data/user/0/com.example.levelup_app/files/flet/assets I/flutter ( 2154): programModuleName: main I/flutter ( 2154): after Py_Initialize() I/flutter ( 2154): after Py_Finalize()
it states that libpyjni.so file is missing, but shouldn't serious_python module take care of including/downloading that file for me?