Skip to content

LIBPYJINI.SO NOT FOUND #183

@Sergio-SEMAR

Description

@Sergio-SEMAR

Bom dia!

Estou tentando gerar um buld apk, e apresento erro abaixo:
nativeloader: Load libpyjni.so using class loader ns clns-4 (...) dlopen failed: library "libpyjni.so" not found

versao flet 0.28.3

build/flutter/pubspec.yaml ( interno )

dependency_overrides:
flet: 0.28.3
serious_python:
git:
path: src/serious_python
ref: ios-bundle-id-fix
url: https://github.com/flet-dev/serious-python.git

Log completo:

--------- beginning of main
11-20 02:52:29.146 18596 18596 I .siryusapprove: Using CollectorTypeCC GC.
11-20 02:52:29.151 18596 18596 E .siryusapprove: Not starting debugger since process cannot load the jdwp agent.
11-20 02:52:29.154 18596 18596 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
11-20 02:52:29.195 18596 18596 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10539; state: ENABLED
11-20 02:52:29.222 18596 18596 D nativeloader: Configuring clns-4 for other apk /data/app/_LakvaSWLL3YvifJok95mg==/com.mycompany.siryusapprove3-Zef5AeuShVkrlMjPXkHczA==/base.apk. target_sdk_version=35, uses_libraries=, library_path=/data/app/_LakvaSWLL3YvifJok95mg==/com.mycompany.siryusapprove3-Zef5AeuShVkrlMjPXkHczA==/lib/arm64:/data/app/_LakvaSWLL3YvifJok95mg==/com.mycompany.siryusapprove3-Zef5AeuShVkrlMjPXkHczA==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.mycompany.siryusapprove3
11-20 02:52:29.231 18596 18596 V GraphicsEnvironment: ANGLE Developer option for 'com.mycompany.siryusapprove3' set to: 'default'
11-20 02:52:29.231 18596 18596 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
11-20 02:52:29.232 18596 18596 D NetworkSecurityConfig: No Network Security Config specified, using platform default
11-20 02:52:29.233 18596 18596 D NetworkSecurityConfig: No Network Security Config specified, using platform default
11-20 02:52:29.304 18596 18613 D nativeloader: Load /data/app/
_LakvaSWLL3YvifJok95mg==/com.mycompany.siryusapprove3-Zef5AeuShVkrlMjPXkHczA==/lib/arm64/libflutter.so using class loader ns clns-4 (caller=/data/app/_LakvaSWLL3YvifJok95mg==/com.mycompany.siryusapprove3-Zef5AeuShVkrlMjPXkHczA==/base.apk): ok
11-20 02:52:29.343 18596 18596 W .siryusapprove3: type=1400 audit(0.0:352736): avc: denied { read } for name="max_map_count" dev="proc" ino=60438985 scontext=u:r:untrusted_app:s0:c27,c258,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=com.mycompany.siryusapprove3
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: QUALCOMM build : 5eaa426211, I07ee46fc66
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: Build Date : 10/08/21
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.32.02.16
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: Local Branch :
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: Remote Branch :
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: Remote Branch :
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: Reconstruct Branch :
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: Build Config : S P 10.0.7 AArch64
11-20 02:52:29.363 18596 18596 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
11-20 02:52:29.371 18596 18596 I AdrenoGLES-0: PFP: 0x016ee197, ME: 0x00000000
11-20 02:52:29.810 18596 18596 I Choreographer: Skipped 33 frames! The application may be doing too much work on its main thread.
11-20 02:52:29.870 18596 18615 D hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
11-20 02:52:30.299 18596 18596 D nativeloader: Load libpyjni.so using class loader ns clns-4 (caller=/data/app/
_LakvaSWLL3YvifJok95mg==/com.mycompany.siryusapprove3-Zef5AeuShVkrlMjPXkHczA==/base.apk): dlopen failed: library "libpyjni.so" not found
11-20 02:52:33.154 18596 18636 I flutter : dynamicLibPath: libpython3.12.so
11-20 02:52:33.154 18596 18636 I flutter : programDirPath: /data/user/0/com.mycompany.siryusapprove3/files/flet/app
11-20 02:52:33.154 18596 18636 I flutter : programModuleName: main
11-20 02:52:33.249 18596 18636 I flutter : after Py_Initialize()
11-20 02:52:33.253 18596 18596 W DartWorker: type=1400 audit(0.0:352740): avc: granted { execute } for path="/data/data/com.mycompany.siryusapprove3/files/flet/python_bundle/modules/_socket.cpython-312.so" dev="dm-12" ino=1068328 scontext=u:r:untrusted_app:s0:c27,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c27,c258,c512,c768 tclass=file app=com.mycompany.siryusapprove3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions