Skip to content

library "libexecutorch_jni.so" not found #17992

@Leonardo-CBH

Description

@Leonardo-CBH

🐛 Describe the bug

2026-03-07 14:01:42.209 32757-32757 AndroidRuntime com.example.depth E FATAL EXCEPTION: main
Process: com.example.depth, PID: 32757
java.lang.UnsatisfiedLinkError: dlopen failed: library "libexecutorch_jni.so" not found: needed by /data/app/~~GvB_kqLXtUEScedhfvC8ig==/com.example.depth-3_urBeU6KEoJ5HyMKRK6Yw==/base.apk!/lib/arm64-v8a/libdepth.so in namespace classloader-namespace
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1657)
at com.example.depth.MainActivity.(MainActivity.java:60)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)
at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:44)
at android.app.Instrumentation.newActivity(Instrumentation.java:1288)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4759)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:5098)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:129)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:149)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:103)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3164)
at android.os.Handler.dispatchMessage(Handler.java:117)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:293)
at android.app.ActivityThread.loopProcess(ActivityThread.java:10170)
at android.app.ActivityThread.main(ActivityThread.java:10159)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1247)
2026-03-07 14:01:42.214 32757-16176 LifecycleTransaction com.example.depth I activityCallbacks TopResumedActivityChangeItem{onTop=false}
2026-03-07 14:01:42.218 32757-16176 LifecycleTransaction com.example.depth I lifecycleStateRequest PauseActivityItem{finished=true,userLeaving=false,configChanges=0,dontReport=false}
2026-03-07 14:01:42.405 32757-16176 LifecycleTransaction com.example.depth I lifecycleStateRequest DestroyActivityItem{finished=true,mConfigChanges=0}

Versions

The compilation of libexecutorch_jni.so on the Windows system was unsuccessful.The libexecutorch_jni.so file is also not present in the executorch-android.aar file.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions