dfsdafsdf
dfsdafsdf
  • 发布:2016-04-11 19:49
  • 更新:2016-04-11 19:49
  • 阅读:4408

Android 离线打包 错误提示找不到 java.lang.ClassNotFoundException: io.dcloud.streamdownload.DownloadService

分类:5+ SDK

基于 HBuilder-Integrate 修改 改包名字 权限配置都一样 jar 也没动 为何 求解决?

错误日志如下:

04-11 19:42:08.920: W/System.err(10585): java.lang.ClassNotFoundException: io.dcloud.streamdownload.DownloadService
04-11 19:42:08.920: W/System.err(10585): at java.lang.Class.classForName(Native Method)
04-11 19:42:08.920: W/System.err(10585): at java.lang.Class.forName(Class.java:308)
04-11 19:42:08.920: W/System.err(10585): at java.lang.Class.forName(Class.java:272)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.common.adapter.util.UEH.commitErrorLog(UEH.java:156)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.common.adapter.util.UEH.commitUncatchException(UEH.java:151)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.common.adapter.util.UEH.access$000(UEH.java:27)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.common.adapter.util.UEH$1.uncaughtException(UEH.java:47)
04-11 19:42:08.920: W/System.err(10585): at u.aly.n.uncaughtException(CrashHandler.java:36)
04-11 19:42:08.920: W/System.err(10585): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
04-11 19:42:08.920: W/System.err(10585): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
04-11 19:42:08.920: W/System.err(10585): Caused by: java.lang.ClassNotFoundException: Didn't find class "io.dcloud.streamdownload.DownloadService" on path: DexPathList[[zip file "/data/app/com.linkeol.MusicCommenter-2/base.apk"],nativeLibraryDirectories=[/data/app/com.linkeol.MusicCommenter-2/lib/arm64, /vendor/lib64, /system/lib64]]
04-11 19:42:08.920: W/System.err(10585): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
04-11 19:42:08.920: W/System.err(10585): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
04-11 19:42:08.920: W/System.err(10585): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
04-11 19:42:08.920: W/System.err(10585): ... 10 more
04-11 19:42:08.920: W/System.err(10585): Suppressed: java.lang.ClassNotFoundException: io.dcloud.streamdownload.DownloadService
04-11 19:42:08.920: W/System.err(10585): at java.lang.Class.classForName(Native Method)
04-11 19:42:08.920: W/System.err(10585): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
04-11 19:42:08.920: W/System.err(10585): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
04-11 19:42:08.920: W/System.err(10585): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
04-11 19:42:08.920: W/System.err(10585): ... 11 more
04-11 19:42:08.920: W/System.err(10585): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
04-11 19:42:08.920: W/System.err(10585): 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__)
04-11 19:42:08.920: W/System.err(10585): at com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create(Native Method)
04-11 19:42:08.920: W/System.err(10585): at com.baidu.platform.comjni.map.commonmemcache.a.a(Unknown Source)
04-11 19:42:08.920: W/System.err(10585): at com.baidu.platform.comapi.d.c.b(Unknown Source)
04-11 19:42:08.920: W/System.err(10585): at com.baidu.mapapi.a.c(Unknown Source)
04-11 19:42:08.920: W/System.err(10585): at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
04-11 19:42:08.920: W/System.err(10585): at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.js.map.MapInitImpl.onStart(MapInitImpl.java:25)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.common.b.a.a(Core.java:270)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.common.b.a.a(Core.java:112)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.common.b.b.a(PandoraEntryProxy.java:54)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.EntryProxy.onCreate(EntryProxy.java:94)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.a.onRuntimeCreate(BaseActivity.java:191)
04-11 19:42:08.920: W/System.err(10585): at io.dcloud.a$1.run(BaseActivity.java:56)
04-11 19:42:08.920: W/System.err(10585): at android.os.Handler.handleCallback(Handler.java:739)
04-11 19:42:08.920: W/System.err(10585): at android.os.Handler.dispatchMessage(Handler.java:95)
04-11 19:42:08.920: W/System.err(10585): at android.os.Looper.loop(Looper.java:135)
04-11 19:42:08.920: W/System.err(10585): at android.app.ActivityThread.main(ActivityThread.java:5538)
04-11 19:42:08.920: W/System.err(10585): at java.lang.reflect.Method.invoke(Native Method)
04-11 19:42:08.920: W/System.err(10585): at java.lang.reflect.Method.invoke(Method.java:372)
04-11 19:42:08.920: W/System.err(10585): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:958)
04-11 19:42:08.920: W/System.err(10585): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:753)

2016-04-11 19:49 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复