No implementation found for long com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create()
3-21 10:14:20.833 2892-2892/? E/art: No implementation found for long 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__)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: FATAL EXCEPTION: main
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: Process: com.xxxx.xxxx:bdservice_v1, PID: 2892
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for long 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__)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create(Native Method)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.baidu.platform.comjni.map.commonmemcache.a.a(Unknown Source)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.baidu.platform.comapi.e.c.b(Unknown Source)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.baidu.mapapi.a.c(Unknown Source)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.xxx.xxxx.MApplication.onCreate(MApplication.java:46)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4858)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at android.app.ActivityThread.access$1900(ActivityThread.java:163)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1443)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at android.os.Looper.loop(Looper.java:135)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5601)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
03-21 10:14:20.833 2892-2892/? E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)
这个原因主要是由于该手机是项目中jniLibs中少了百度sdk提供的其他架构的so文件,仔细看下百度开发包中的相关so文件。