java.lang.UnsatisfiedLinkError

/home/tw/test/libCAnalysis.so: /home/tw/test/libCAnalysis.so: undefined symbol: __5ShapeRCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0

Samebug tips1

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web890

  • via Oracle Community by 807553, 11 months ago
    /home/tw/test/libCAnalysis.so: /home/tw/test/libCAnalysis.so: undefined symbol: __5ShapeRCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0
  • /home/dhu/f2m/test/jni/lib/libMyImpOfCallbacks.so: /home/dhu/f2m/test/jni/lib/libMyImpOfCallbacks.so: undefined symbol: __gxx_personality_v0
  • via Oracle Community by 843829, 1 year ago
    /home/libMy.so: /home/libMy.so: undefined symbol: main
  • Stack trace

    • java.lang.UnsatisfiedLinkError: /home/tw/test/libCAnalysis.so: /home/tw/test/libCAnalysis.so: undefined symbol: __5ShapeRCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at test.NativeDemo.<clinit>(NativeDemo.java:70)

    Write tip

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

    Users with the same issue

    4 times, 1 month ago
    Unknown user
    Once, 1 month ago
    2 times, 2 months ago
    Unknown user
    Once, 3 months ago
    8 times, 4 months ago
    298 more bugmates