1
回答
findLibrary returned null
极速云服务器,低至1.04元/天>>>   
03-08 14:12:23.475    4419-4419/com.xxxx.nursepeople E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: com.exxx.nursepeople, PID: 4419
    java.lang.UnsatisfiedLinkError: Couldn't load smssdk from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxxx.nursepeople-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.xxxx.nursepeople-1, /system/lib]]]: findLibrary returned null
            at java.lang.Runtime.loadLibrary(Runtime.java:358)
            at java.lang.System.loadLibrary(System.java:526)
            at cn.smssdk.utils.Protocols.<clinit>(Unknown Source)
            at cn.smssdk.a.<init>(Unknown Source)
            at cn.smssdk.SMSSDK.initSDK(Unknown Source)
            at com.xxxx.nursepeople.ui.activity.ForgetPassActivity.initViewsAndData(ForgetPassActivity.java:123)
            at com.xxxx.nursepeople.base.BaseActivity.onCreate(BaseActivity.java:81)
            at com.xxxx.nursepeople.ui.activity.ForgetPassActivity.onCreate(ForgetPassActivity.java:92)
            at android.app.Activity.performCreate(Activity.java:5231)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2163)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2269)
            at android.app.ActivityThread.access$800(ActivityThread.java:135)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:136)
            at android.app.ActivityThread.main(ActivityThread.java:5045)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:515)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

            at dalvik.system.NativeStart.main(Native Method)

怎么破?


举报
yezixiaoxia...
发帖于2年前 1回/530阅
共有1个答案 最后回答: 2年前

java.lang.UnsatisfiedLinkError: Couldn't load smssdk from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxxx.nursepeople-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.xxxx.nursepeople-1, /system/lib]]]: findLibrary returned null

错误信息中有价值的主要是这一段。意思是说,找不到native library so文件smssdk。你的apk里面本应该带有一个名为libsmssdk.so的文件的。

可以把你的apk解压出来看一下,是不是没有这个文件。

顶部