Androidt调试汇总(二)极光推送,百度地图

1. 极光推送错误: java.lang.UnsatisfiedLinkError: Couldn't load jpush205 from loader dalvik.system.
PathClassLoader[dexPath=/data/app/com.beidougd.bdga-2.apk,libraryPath=/data/app-lib/com.beidougd.bdga-2]
: findLibrary returned null

解决方法:出现这个问题是因为机光推送的包导入错误。

2. 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__)

 Activity com.beidougd.bdg.activity.TrackingForMultiActivity has leaked ServiceConnection com.baidu.location.b@89b8380 that was originally bound here
01-14 21:36:27.324 32738-32738/com.beidougd.bdgc E/ActivityThread: android.app.ServiceConnectionLeaked: Activity com.beidougd.bdg.activity.TrackingForMultiActivity has 
leaked ServiceConnection com.baidu.location.b@89b8380 that was originally bound here
    at com.baidu.location.LocationClient.k(Unknown Source)
    at com.baidu.location.LocationClient.if(Unknown Source)
    at com.baidu.location.LocationClient.if(Unknown Source)
解决方法:错误源:在Activity的onDestory()方法中没有调用
    if(mLocClient != null){
            mLocClient.stop();}

你可能感兴趣的:(Androidt调试汇总(二)极光推送,百度地图)