Skip to content

run time errorΒ #1

@SuyueLiu

Description

@SuyueLiu

Hello, when I running this project, I got this error:

2021-09-01 21:23:17.257 6765-6765/com.example.che.mobilenetssd_demo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.che.mobilenetssd_demo, PID: 6765
java.lang.UnsatisfiedLinkError: dlopen failed: library "libMobileNetssd.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
at java.lang.System.loadLibrary(System.java:1664)
at com.example.che.mobilenetssd_demo.MobileNetssd.(MobileNetssd.java:14)
at com.example.che.mobilenetssd_demo.MainActivity.(MainActivity.java:53)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)
at android.support.v4.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:43)
at android.app.Instrumentation.newActivity(Instrumentation.java:1254)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3405)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3661)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2108)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:7876)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)

When I searched libMobileNetssd.so in the project path, I found it in "Mobile-Lightweight-Super-Resolution-Construction-System/MobileNetSSD/app/build/intermediates/cmake/debug/obj/armeabi-v7a/libMobileNetssd.so"

Any idea to solver fix this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions