tinker
tinker copied to clipboard
TinkerLoadResult: parseTinkerResult loadCode:-2,
Issue/提问须知
在提交issue之前,我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式:
异常类型:app运行时异常
手机型号:小米平板(华为p40也试过不行)
手机系统版本:android10
tinker版本:1.9.14.19
gradle版本:4.1
是否使用热更新SDK:没有
系统:如:Win
堆栈/日志:
D/Tinker.TinkerLoader: tryLoad test test
W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/user/0/***.***.***/tinker
D/Tinker.DefaultAppLike: onBaseContextAttached:
V/Tinker.SamplePatchListener: application maxMemory:256
W/Tinker.Tinker: tinker patch directory: /data/user/0/com.***.***.***/tinker
I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.19
I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2, process name:com.***.***.***, main process:true, systemOTA:false, fingerPrint:Xiaomi/elish/elish:11/RKQ1.200826.002/V12.5.7.0.RKYCNXM:user/release-keys, oatDir:null, useInterpretMode:false
W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/***.***.***/tinker, code: -2, cost: 1ms
W/Tinker.Tinker: tinker load fail!
D/Tinker.DefaultAppLike: onCreate
D/FileDownloader.FileDownloader: init Downloader with params: ***.***.***.HHTinkerApplication@f064275 component: database[null], maxNetworkCount[null], outputStream[null], connection[com.liulishuo.filedownloader.connection.FileDownloadUrlConnection$Creator@968220a], connectionCountAdapter[null]
V/Tinker.SamplePatchListener: receive a patch file: /storage/emulated/0/patch_signed_7zip.apk, file size:2430
W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.***.***.***/tinker/patch.info: open failed: ENOENT (No such file or directory)
W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.***.***.***/tinker/patch.info: open failed: ENOENT (No such file or directory)
W/Tinker.UpgradePatchRetry: onPatchListenerCheck retry file is not exist, just return
V/Tinker.SamplePatchListener: get platform:all
I/Tinker.TinkerPatchService: run patch service...
D/Tinker.TinkerLoader: [PendingLog @ 2022-04-24 12:49:22.832] tryLoad test test
W/Tinker.TinkerLoader: [PendingLog @ 2022-04-24 12:49:22.832] tryLoadPatchFiles:patch dir not exist:/data/user/0/com.***.***.***/tinker
D/Tinker.DefaultAppLike: [PendingLog @ 2022-04-24 12:49:22.833] onBaseContextAttached:
W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry info not exist, just return
V/Tinker.SampleResultService: SampleResultService receive result:
PatchResult:
isSuccess:true
rawPatchFilePath:/storage/emulated/0/patch_signed_7zip.apk
costTime:29
dexoptTriggerTime:0
isOatGenerated:false
patchVersion:1792fc0cd09791e2327f2018f6193e3d