调用百度地图5.0出现java.lang.UnsatisfiedLinkError: No implementation found for int

转载请注明:http://blog.csdn.net/seven2729/article/details/48289101

调用百度地图   5.0手机报错,黑屏并闪退

报错日志 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.c.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 xxx.xxxxx.xxx.XxxxApplication.onCreate(XxxxApplication.java:108)
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1016)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4797)
        at android.app.ActivityThread.access$1500(ActivityThread.java:176)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1498)
        at android.os.Handler.dispatchMessage(Handler.java:111)
        at android.os.Looper.loop(Looper.java:194)
        at android.app.ActivityThread.main(ActivityThread.java:5578)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:955)

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)


解决方法:只保留了项目lib下的2个文件夹 armeabi和armeabi-v7a

转载请注明:http://blog.csdn.net/seven2729/article/details/48289101

你可能感兴趣的:(调用百度地图5.0出现java.lang.UnsatisfiedLinkError: No implementation found for int)