07-24 14:45:59.525 27354-27354/com.xinguan14.jdyp E/NativeLoader: found libBaiduMapSDK_base_v4_0_0.so error
07-24 14:45:59.527 27354-27354/com.xinguan14.jdyp E/art: No implementation found for int com.baidu.platform.comjni.engine.JNIEngine.initClass(java.lang.Object, int) (tried Java_com_baidu_platform_comjni_engine_JNIEngine_initClass and Java_com_baidu_platform_comjni_engine_JNIEngine_initClass__Ljava_lang_Object_2I)
07-24 14:45:59.527 27354-27354/com.xinguan14.jdyp D/AndroidRuntime: Shutting down VM
--------- beginning of crash
07-24 14:45:59.528 27354-27354/com.xinguan14.jdyp E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.xinguan14.jdyp, PID: 27354
java.lang.UnsatisfiedLinkError: No implementation found for int com.baidu.platform.comjni.engine.JNIEngine.initClass(java.lang.Object, int) (tried Java_com_baidu_platform_comjni_engine_JNIEngine_initClass and Java_com_baidu_platform_comjni_engine_JNIEngine_initClass__Ljava_lang_Object_2I)
at com.baidu.platform.comjni.engine.JNIEngine.initClass(Native Method)
at com.baidu.platform.comjni.engine.AppEngine.InitClass(Unknown Source)
at com.baidu.platform.comapi.a.<clinit>(Unknown Source)
at com.baidu.platform.comapi.b.a(Unknown Source)
at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
at com.xinguan14.jdyp.MyApplication.initBaidu(MyApplication.java:146)
at com.xinguan14.jdyp.MyApplication.onCreate(MyApplication.java:60)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:369)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4726)
at android.app.ActivityThread.access$1600(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5438)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
07-24 14:45:59.537 27354-27354/com.xinguan14.jdyp I/Process: Sending signal. PID: 27354 SIG: 9
07-24 14:46:09.949 27512-27564/com.xinguan14.jdyp W/System: ClassLoader referenced unknown path: /system/framework/tcmclient.jar
07-24 14:46:10.150 27544-27544/com.xinguan14.jdyp:bmobcore E/NativeLoader: found libBaiduMapSDK_base_v4_0_0.so error
07-24 14:46:10.152 27544-27544/com.xinguan14.jdyp:bmobcore E/art: No implementation found for int com.baidu.platform.comjni.engine.JNIEngine.initClass(java.lang.Object, int) (tried Java_com_baidu_platform_comjni_engine_JNIEngine_initClass and Java_com_baidu_platform_comjni_engine_JNIEngine_initClass__Ljava_lang_Object_2I)
07-24 14:46:10.152 27544-27544/com.xinguan14.jdyp:bmobcore D/AndroidRuntime: Shutting down VM
07-24 14:46:10.153 27544-27544/com.xinguan14.jdyp:bmobcore E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.xinguan14.jdyp:bmobcore, PID: 27544
java.lang.UnsatisfiedLinkError: No implementation found for int com.baidu.platform.comjni.engine.JNIEngine.initClass(java.lang.Object, int) (tried Java_com_baidu_platform_comjni_engine_JNIEngine_initClass and Java_com_baidu_platform_comjni_engine_JNIEngine_initClass__Ljava_lang_Object_2I)
at com.baidu.platform.comjni.engine.JNIEngine.initClass(Native Method)
at com.baidu.platform.comjni.engine.AppEngine.InitClass(Unknown Source)
at com.baidu.platform.comapi.a.<clinit>(Unknown Source)
at com.baidu.platform.comapi.b.a(Unknown Source)
at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
at com.xinguan14.jdyp.MyApplication.initBaidu(MyApplication.java:146)
at com.xinguan14.jdyp.MyApplication.onCreate(MyApplication.java:60)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:369)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4726)
at android.app.ActivityThread.access$1600(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5438)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
已经解决了。so文件的位置问题
.so文件的问题,下载最新百度sdk,在main下新建jniLibs文件夹,复制到里面
估计是你库没有导入完整,看看你的.so文件是不是都导入了
看报错应该是你的.so文件的问题,有可能你使用的是模拟器,建议使用真机调试。
07-24 14:45:59.525 27354-27354/com.xinguan14.jdyp E/NativeLoader: found libBaiduMapSDK_base_v4_0_0.so error
把jar包全放在libs目录而不是lib目录,多搞几下又好了。