Open haiyangxin911 opened 4 years ago
在提交issue之前,我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式:
异常类型:app运行时异常/编译异常 手机型号:荣耀9x 手机系统版本:android10 tinker版本:如:1.9.2 gradle版本:如:3.0.1 是否使用热更新SDK: 如 TinkerPatch SDK 系统:如:windows 点击安装补丁的堆栈/日志: 1586858249.161 858-858/? W/Tinker.UpgradePatchRetry: onPatchListenerCheck retry file is not exist, just return 1586858249.194 1557-1596/system_process I/ActivityManager: Start proc 1352:zb.s20140213092215159:patch/u0a293 for service {zb.s20140213092215159/com.tencent.tinker.lib.service.TinkerPatchService} 1586858249.245 1352-1352/? W/Tinker.TinkerLoader: tryLoadPatchFiles: we don't load patch with :patch process itself, just return 1586858249.245 1352-1352/? D/Tinker.DefaultAppLike: onBaseContextAttached: 1586858249.250 1352-1352/? W/Tinker.Tinker: tinker patch directory: /data/user/0/zb.s20140213092215159/tinker 1586858249.250 1352-1352/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.2 1586858249.251 1352-1352/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-1, process name:zb.s20140213092215159:patch, main process:false, systemOTA:false, fingerPrint:HONOR/HLK-AL00/HWHLK-H:10/HONORHLK-AL00/10.0.1.120C00:user/release-keys, oatDir:null, useInterpretMode:false 1586858249.251 1352-1352/? W/Tinker.TinkerLoadResult: tinker is disable, just return 1586858249.251 1352-1352/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/zb.s20140213092215159/tinker, code: -1, cost: 1ms 1586858249.251 1352-1352/? W/Tinker.Tinker: tinker load fail! 1586858249.271 1352-1352/? I/Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations. 1586858249.273 1352-1352/? D/RongXin.RongXinApplicationContext: [setContext] context com.sinopec.mobile.platform.tinker.app.AppContext@ecafe44 1586858249.293 1352-1352/? D/RongXin.RongXinApplicationContext: [setContext] context com.sinopec.mobile.platform.tinker.app.AppContext@ecafe44 1586858249.298 1352-1352/? D/Tinker.DefaultAppLike: onCreate 1586858249.302 1352-1352/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return 1586858249.307 1352-1441/? I/Tinker.DefaultPatchReporter: patchReporter onPatchServiceStart: patch service start 1586858249.313 1352-1441/? W/Tinker.UpgradePatchRetry: try copy file: /storage/emulated/0/patch_signed_7zip.apk to /data/user/0/zb.s20140213092215159/tinker_temp/temp.apk 1586858249.322 1352-1441/? I/Tinker.TinkerPatchService: try to increase patch process priority 1586858249.332 1557-1595/system_process V/ActivityManager: Attempted to start a foreground service (zb.s20140213092215159/com.tencent.tinker.lib.service.TinkerPatchService) with a broken notification (no icon: Notification(channel=null pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x40 color=0x00000000 vis=PRIVATE)) 1586858249.339 1557-1595/system_process V/ActivityManager: Attempted to start a foreground service (zb.s20140213092215159/com.tencent.tinker.lib.service.TinkerPatchService$InnerService) with a broken notification (no icon: Notification(channel=null pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x40 color=0x00000000 vis=PRIVATE)) 1586858249.369 1352-1441/? I/Tinker.UpgradePatch: UpgradePatch tryPatch:patchMd5:666e8643d6894e78f41419315cb9954e 1586858249.371 1352-1441/? W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/zb.s20140213092215159/tinker/patch.info: open failed: ENOENT (No such file or directory) 1586858249.372 1352-1441/? W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/zb.s20140213092215159/tinker/patch.info: open failed: ENOENT (No such file or directory) 1586858249.372 1352-1441/? I/Tinker.UpgradePatch: UpgradePatch tryPatch:patchVersionDirectory:/data/user/0/zb.s20140213092215159/tinker/patch-666e8643 1586858249.374 1352-1441/? W/Tinker.UpgradePatch: UpgradePatch copy patch file, src file: /storage/emulated/0/patch_signed_7zip.apk size: 13620, dest file: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/patch-666e8643.apk size:13620 1586858250.021 1352-1440/? W/System.err: at com.sinopec.mobile.platform.tinker.app.ApplicationLike$2.run(ApplicationLike.java:171) 1586858252.958 1352-1441/? W/Tinker.DexDiffPatchInternal: success recover dex file: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes.dex.jar, size: 1248212, use time: 3570 1586858255.338 1352-1441/? W/Tinker.DexDiffPatchInternal: success recover dex file: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes2.dex.jar, size: 1721366, use time: 2380 1586858258.130 1352-1441/? W/Tinker.DexDiffPatchInternal: success recover dex file: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes3.dex.jar, size: 2814594, use time: 2791 1586858258.130 1352-1441/? I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes4.dex.jar 1586858259.881 1352-1441/? I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 1586858260.088 1352-1441/? I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes5.dex.jar 1586858261.110 1352-1441/? I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 1586858261.234 1352-1441/? I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/test.dex.jar 1586858261.237 1352-1441/? I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 1586858262.010 1352-1441/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes3.dex.jar 1586858262.011 1352-1441/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes.dex.jar 1586858262.012 1352-1441/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes4.dex.jar 1586858262.014 1352-1441/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes2.dex.jar 1586858262.015 1352-1441/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/classes5.dex.jar 1586858262.016 1352-1441/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/test.dex.jar 1586858262.016 1352-1441/? I/Tinker.DexDiffPatchInternal: merge classN dex file /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/tinker_classN.apk, result: true, size: 11302256, use: 779ms 1586858262.017 1352-1441/? D/Tinker.TinkerInternals: getCurrentInstructionSet:arm 1586858262.017 1352-1441/? I/Tinker.DexDiffPatchInternal: patch recover, try to optimize dex file count:1, optimizeDexDirectory:/data/user/0/zb.s20140213092215159/tinker/patch-666e8643/odex/ 1586858262.018 1352-1441/? I/Tinker.DexDiffPatchInternal: start to parallel optimize dex /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/tinker_classN.apk, size: 11302256 1586858263.081 1352-1441/? I/Tinker.DexDiffPatchInternal: success to parallel optimize dex /data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/tinker_classN.apk, opt file:/data/user/0/zb.s20140213092215159/tinker/patch-666e8643/dex/oat/arm/tinker_classN.odex, opt file size: 0, use time 1062 1586858263.081 1352-1441/? I/Tinker.DexDiffPatchInternal: recover dex result:true, cost:13706 1586858263.081 1352-1441/? W/Tinker.BsDiffPatchInternal: patch recover, library is not contained 1586858263.081 1352-1441/? W/Tinker.ResDiffPatchInternal: patch recover, resource is not contained 1586858263.081 1352-1441/? I/Tinker.DexDiffPatchInternal: raw dex count: 6, dex opt dex count: 1, final wait times: 30 1586858263.082 1352-1441/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 1 times 1586858278.083 1352-1441/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 2 times 1586858293.084 1352-1441/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 3 times 1586858308.085 1352-1441/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 4 times 1586858312.190 4151-4214/? I/FindCurApp: CAWARENESS: appRuningLog,getAppRunTotalTime PackageName = tinker.sample.android runtime:389592 1586858323.087 1352-1441/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 5 times 1586858338.089 1352-1441/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 6 times 1586858353.090 1352-1441/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 7 times 1586858358.786 858-858/? D/Tinker.DefaultAppLike: onTrimMemory level:20 1586858368.091 1352-1441/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 8 times
我的是在360加固之后出现了这个问题
Issue/提问须知
在提交issue之前,我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式: