java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "ASensor_getReportingMode" referenced by "libndkfeatures.so"...

Stack Overflow | apidae | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Android NDK dlopen failed: cannot locate symbol "ASensor_getReportingMode" referenced by "lib*.so"

    Stack Overflow | 8 months ago | apidae
    java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "ASensor_getReportingMode" referenced by "libndkfeatures.so"...
  2. 0
    samebug tip
    Caused by fail to load the necessary libraries. Try to reinstall the app.
  3. 0
    samebug tip
    Check if you have the latest version of SQLCipher and look if you loaded the libraries correctly. More info on this comment: https://goo.gl/tQQ5NO
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using proguard, check if you correctly configured it, otherwise, just disable proguard. More on this here: https://goo.gl/FP500o
  6. 0

    64位手机支持

    GitHub | 2 years ago | qluan
    java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.douban.frodo-1/lib/arm64/libweibosdkcore.so" is 32-bit instead of 64-bit

  1. iferca 1 times, last 1 month ago
  2. filpgame 1 times, last 1 month ago
  3. Adrien 6 times, last 2 months ago
  4. PKeidel 9 times, last 2 months ago
  5. rafael 3 times, last 1 month ago
32 more registered users
63 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    dlopen failed: cannot locate symbol "ASensor_getReportingMode" referenced by "libndkfeatures.so"...

    at java.lang.Runtime.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:371)
    2. java.lang.System.loadLibrary(System.java:553)
    2 frames
  3. com.apidae.sensorndk
    MainActivity.onCreate
    1. com.apidae.sensorndk.NdkFeatures.<clinit>(NdkFeatures.java:6)
    2. com.apidae.sensorndk.MainActivity.onCreate(MainActivity.java:13)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5264)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2302)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390)
    5. android.app.ActivityThread.access$800(ActivityThread.java:151)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
    7. android.os.Handler.dispatchMessage(Handler.java:110)
    8. android.os.Looper.loop(Looper.java:193)
    9. android.app.ActivityThread.main(ActivityThread.java:5299)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame