java.lang.UnsatisfiedLinkError: No implementation found for int com.baidu.platform.comjni.map.common

文章转载自第一代码 http://www.diyidaima.com/article/detail/r87ibnzv

使用百度地图libBaiduMapSDK_v3_4发生如下异常:
java.lang.UnsatisfiedLinkError: No implementation found for int com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create() (tried Java_com_baidu_platform_comjni_map_commonmemcache_JNICommonMemCache_Create and Java_com_baidu_platform_comjni_map_commonmemcache_JNICommonMemCache_Create__)
at com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create(Native Method)
at com.baidu.platform.comjni.map.commonmemcache.a.a(Unknown Source)
at com.baidu.platform.comapi.d.c.b(Unknown Source)
at com.baidu.mapapi.a.c(Unknown Source)
at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
at com.swissabl.MyApplication.onCreate(MyApplication.java:96)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:369)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1028)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5666)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread H.handleMessage(ActivityThread.java:1637)atandroid.os.Handler.dispatchMessage(Handler.java:105)atandroid.os.Looper.loop(Looper.java:156)atandroid.app.ActivityThread.main(ActivityThread.java:6531)atjava.lang.reflect.Method.invoke(NativeMethod)atcom.android.internal.os.ZygoteInit MethodAndArgsCaller.run(ZygoteInit.java:941)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)

该异常主要是百度地图libBaiduMapSDK_v3_4.so及以下版本不支持64位处理器,如果你的手机正好是64处理器(本人的是华为荣耀7.0)app就会报错(无法打开app)。
解决方法见http://www.diyidaima.com/article/detail/r87ibnzv

你可能感兴趣的:(Android那些事)