java.lang.reflect.InvocationTargetException

tip

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 13#243055505
    via GitHub by mbernasocchi
    ,
  • libQtDeclarative.so not found
    via Stack Overflow by mix
    ,
  • Problem with ant build??
    via GitHub by jcarlson23
    ,
  • UnsatisfiedLinkError on Android 5.0 Lollipop
    via by Unknown author,
  • Missing lib
    via GitHub by Derevko
    ,
    • java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:491) at org.kde.necessitas.origo.QtActivity.loadApplication(QtActivity.java:144) at org.kde.necessitas.origo.QtActivity.access$200(QtActivity.java:77) at org.kde.necessitas.origo.QtActivity$3$1$1.run(QtActivity.java:201) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:132) at android.app.ActivityThread.main(ActivityThread.java:4123) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:491) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1315]: 87 cannot locate 'ENGINE_load_private_key'... at java.lang.Runtime.load(Runtime.java:390) at java.lang.System.load(System.java:534) at org.kde.necessitas.industrius.QtNative.loadBundledLibraries(QtNative.java:116) at org.kde.necessitas.industrius.QtActivityDelegate.loadApplication(QtActivityDelegate.java:156) ... 14 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    franky li
    134 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    42 more bugmates