Couldn't load bmob from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.bjfu.it.ye6hao.bmob1-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.bjfu.it.ye6hao.bmob1-2, /system/lib]]]: findLibrary returned null
按照老师的步骤写得,sdk导入成功,当运行时就报错。
06-11 04:17:44.167 981-981/com.bjfu.it.ye6hao.bmob1 E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.UnsatisfiedLinkError: Couldn't load bmob from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.bjfu.it.ye6hao.bmob1-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.bjfu.it.ye6hao.bmob1-2, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:355)
at java.lang.System.loadLibrary(System.java:525)
at cn.bmob.v3.request.BmobNative.<clinit>(SourceFile:15)
at cn.bmob.v3.BmobWrapper.<init>(SourceFile:45)
at cn.bmob.v3.BmobWrapper.Code(SourceFile:32)
at cn.bmob.v3.BmobWrapper.initialize(SourceFile:25)
at cn.bmob.v3.Bmob.initialize(SourceFile:50)
at com.bjfu.it.ye6hao.bmob1.MainActivity.onCreate(MainActivity.java:36)
at android.app.Activity.performCreate(Activity.java:5133)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
06-11 04:18:06.367 981-981/com.bjfu.it.ye6hao.bmob1 I/Process: Sending signal. PID: 981 SIG: 9