Tencent / tinker

Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
Other
17.17k stars 3.34k forks source link

Tinker热修复问题:实测小米8 (Android 9)上,同时修改java代码以及strings.xml,看log,patch合成 成功只有修改的strings.xml生效,修改的代码未生效,同样的基准包和patch,在华为手机(android 9)上可生效,请教一下能否如何解决或者继续排查这个问题 #1228

Open liujinglin opened 5 years ago

liujinglin commented 5 years ago

Issue/提问须知

在提交issue之前,我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式:


异常类型:app运行时异常/编译异常

手机型号:如:小米8

手机系统版本:如:Android 9

tinker版本:如:1.9.14

热更新SDK: 如 TinkerPatch SDK

堆栈/日志:
下次patch并修复日志:

(standard input):58559:09-18 11:24:47.541 28602 28602 I Tinker.TinkerPatchListener: receive a patch file: /data/user/0/com.naver.linewebtoon.cn/tinker/patch_signed_7zip.apk, file size:104050
(standard input):58573:09-18 11:24:47.551 28602 28602 W Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.naver.linewebtoon.cn/tinker/patch.info (No such file or directory)
(standard input):58574:09-18 11:24:47.551 28602 28602 W Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.naver.linewebtoon.cn/tinker/patch.info (No such file or directory)
(standard input):58575:09-18 11:24:47.551 28602 28602 W Tinker.UpgradePatchRetry: onPatchListenerCheck retry file is not exist, just return
(standard input):58576:09-18 11:24:47.572  1514 13925 D Boost   : hostingType=service, hostingName=com.naver.linewebtoon.cn/com.tencent.tinker.lib.service.TinkerPatchForeService, callerPackage=com.naver.linewebtoon.cn, isSystem=false, isBoostNeeded=false.
(standard input):58577:09-18 11:24:47.573  1514 13925 I ActivityManager: Start proc 29054:com.naver.linewebtoon.cn:patch/u0a728 for service com.naver.linewebtoon.cn/com.tencent.tinker.lib.service.TinkerPatchForeService caller=com.naver.linewebtoon.cn
(standard input):58578:09-18 11:24:47.573 28602 28602 I Tinker.TinkerPatchService: run patch service...
(standard input):58617:09-18 11:24:47.630 29054 29054 D Tinker.TinkerLoader: tryLoad test test
(standard input):58618:09-18 11:24:47.631 29054 29054 W Tinker.TinkerLoader: tryLoadPatchFiles: we don't load patch with :patch process itself, just return
(standard input):58619:09-18 11:24:47.631 29054 29054 D Tinker.DefaultAppLike: onBaseContextAttached:
(standard input):58620:09-18 11:24:47.632 29054 29054 I Tinker.TinkerPatchListener: application maxMemory:512
(standard input):58621:09-18 11:24:47.632 29054 29054 W Tinker.Tinker: tinker patch directory: /data/user/0/com.naver.linewebtoon.cn/tinker
(standard input):58622:09-18 11:24:47.632 29054 29054 I Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14
(standard input):58623:09-18 11:24:47.632 29054 29054 I Tinker.TinkerLoadResult: parseTinkerResult loadCode:-1, process name:com.naver.linewebtoon.cn:patch, main process:false, systemOTA:false, fingerPrint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys, oatDir:null, useInterpretMode:false
(standard input):58624:09-18 11:24:47.632 29054 29054 W Tinker.TinkerLoadResult: tinker is disable, just return
(standard input):58625:09-18 11:24:47.633 29054 29054 I Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.naver.linewebtoon.cn/tinker, code: -1, cost: 1ms
(standard input):58626:09-18 11:24:47.633 29054 29054 W Tinker.Tinker: tinker load fail!
(standard input):58627:09-18 11:24:47.635 29054 29054 I Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations.
(standard input):58628:09-18 11:24:47.635 29054 29054 D Tinker.DefaultAppLike: onCreate
(standard input):58629:09-18 11:24:47.637 29054 29074 I Tinker.TinkerPatchService: for system version >= Android O, we just ignore increasingPriority job to avoid crash or toasts.
(standard input):58630:09-18 11:24:47.637 29054 29074 I Tinker.DefaultPatchReporter: patchReporter onPatchServiceStart: patch service start
(standard input):58631:09-18 11:24:47.637 29054 29054 W Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return
(standard input):58632:09-18 11:24:47.638 29054 29074 W Tinker.UpgradePatchRetry: try copy file: /data/user/0/com.naver.linewebtoon.cn/tinker/patch_signed_7zip.apk to /data/user/0/com.naver.linewebtoon.cn/tinker_temp/temp.apk
(standard input):58633:09-18 11:24:47.650 29054 29074 I Tinker.UpgradePatch: UpgradePatch tryPatch:patchMd5:5187b0f2a5c590d9e8cd4444e4eef6cf
(standard input):58634:09-18 11:24:47.650 29054 29074 W Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.naver.linewebtoon.cn/tinker/patch.info (No such file or directory)
(standard input):58635:09-18 11:24:47.650 29054 29074 W Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.naver.linewebtoon.cn/tinker/patch.info (No such file or directory)
(standard input):58636:09-18 11:24:47.650 29054 29074 I Tinker.UpgradePatch: UpgradePatch tryPatch:patchVersionDirectory:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2
(standard input):58637:09-18 11:24:47.651 29054 29074 W Tinker.UpgradePatch: UpgradePatch copy patch file, src file: /data/user/0/com.naver.linewebtoon.cn/tinker/patch_signed_7zip.apk size: 104050, dest file: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/patch-5187b0f2.apk size:104050
(standard input):58638:09-18 11:24:47.653 29054 29074 I Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/classes.dex.jar
(standard input):58639:09-18 11:24:47.657 29054 29074 I Tinker.DexDiffPatchInternal: isExtractionSuccessful: true
(standard input):58640:09-18 11:24:47.657 29054 29074 I Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/classes2.dex.jar
(standard input):58641:09-18 11:24:47.686 29054 29074 I Tinker.DexDiffPatchInternal: isExtractionSuccessful: true
(standard input):58642:09-18 11:24:47.686 29054 29074 I Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/test.dex.jar
(standard input):58643:09-18 11:24:47.687 29054 29074 I Tinker.DexDiffPatchInternal: isExtractionSuccessful: true
(standard input):58644:09-18 11:24:47.692 29054 29074 I Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/test.dex.jar
(standard input):58645:09-18 11:24:47.692 29054 29074 I Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/classes.dex.jar
(standard input):58646:09-18 11:24:47.692 29054 29074 I Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/classes2.dex.jar
(standard input):58647:09-18 11:24:47.692 29054 29074 I Tinker.DexDiffPatchInternal: merge classN dex file /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk, result: true, size: 97259, use: 5ms
(standard input):58648:09-18 11:24:47.692 29054 29074 I Tinker.DexDiffPatchInternal: legal files to do dexopt: [/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk]
(standard input):58649:09-18 11:24:47.693 29054 29074 D Tinker.TinkerInternals: getCurrentInstructionSet:arm
(standard input):58650:09-18 11:24:47.693 29054 29074 I Tinker.DexDiffPatchInternal: patch recover, try to optimize dex file count:1, optimizeDexDirectory:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/odex/
(standard input):58651:09-18 11:24:47.693 29054 29074 I Tinker.DexDiffPatchInternal: start to parallel optimize dex /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk, size: 97259
(standard input):58658:09-18 11:24:47.698 29054 29074 I ebtoon.cn:patc: Speed up secondary dex load for /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/oat/arm/tinker_classN.odex
(standard input):58662:09-18 11:24:47.739 29077 29077 I dex2oat : /system/bin/dex2oat -j6 --dex-file=/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk --output-vdex-fd=58 --oat-fd=59 --oat-location=/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/oat/arm/tinker_classN.odex --compiler-filter=verify --class-loader-context=&
(standard input):58676:09-18 11:24:47.809 29054 29074 I Tinker.DexDiffPatchInternal: success to parallel optimize dex /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk, opt file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/oat/arm/tinker_classN.odex, opt file size: 16808, use time 116
(standard input):58677:09-18 11:24:47.809 29054 29074 I Tinker.DexDiffPatchInternal: recover dex result:true, cost:157
(standard input):58678:09-18 11:24:47.809 29054 29074 W Tinker.BsDiffPatchInternal: patch recover, library is not contained
(standard input):58679:09-18 11:24:47.810 29054 29074 I Tinker.ResDiffPatchInternal: res dir: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/res/, meta: resArscMd5:3c286bbaf61f15074de8dc2cdf376fa5
(standard input):58680:09-18 11:24:47.810 29054 29074 I Tinker.ResDiffPatchInternal: arscBaseCrc:14464204
(standard input):58681:09-18 11:24:47.810 29054 29074 I Tinker.ResDiffPatchInternal: pattern:resources\.arsc
(standard input):58682:09-18 11:24:47.810 29054 29074 I Tinker.ResDiffPatchInternal: pattern:res/.*
(standard input):58683:09-18 11:24:47.810 29054 29074 I Tinker.ResDiffPatchInternal: pattern:assets/.*
(standard input):58684:09-18 11:24:47.810 29054 29074 I Tinker.ResDiffPatchInternal: addedSet:assets/only_use_to_test_tinker_resource.txt
(standard input):58685:09-18 11:24:47.810 29054 29074 I Tinker.ResDiffPatchInternal: largeModifiedSet:resources.arsc
(standard input):58686:09-18 11:24:47.839 29054 29074 W Tinker.ResDiffPatchInternal: success recover large modify file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/res/res_temp/resources.arsc, file size:1124984, use time:28
(standard input):58687:09-18 11:24:47.839 29054 29074 W Tinker.ResDiffPatchInternal: success recover all large modify and store resources use time:29
(standard input):58688:09-18 11:24:48.170 29054 29074 I Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/res/res_temp/resources.arsc
(standard input):58689:09-18 11:24:48.170 29054 29074 I Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/res/res_temp
(standard input):58690:09-18 11:24:48.174 29054 29074 I Tinker.ResDiffPatchInternal: final new resource file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/res/resources.apk, entry count:2336, size:12016351
(standard input):58691:09-18 11:24:48.174 29054 29074 I Tinker.ResDiffPatchInternal: recover resource result:true, cost:365
(standard input):58692:09-18 11:24:48.174 29054 29074 I Tinker.DexDiffPatchInternal: raw dex count: 3, dex opt dex count: 1, final wait times: 90
(standard input):58693:09-18 11:24:48.176 29054 29074 I Tinker.DexDiffPatchInternal: check dex optimizer file exist: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/oat/arm/tinker_classN.odex, size 16808
(standard input):58694:09-18 11:24:48.176 29054 29074 I Tinker.DexDiffPatchInternal: check dex optimizer file format: tinker_classN.odex, size 16808
(standard input):58695:09-18 11:24:48.177 29054 29074 I Tinker.PatchInfo: rewritePatchInfoFile file path:/data/user/0/com.naver.linewebtoon.cn/tinker/patch.info , oldVer:, newVer:5187b0f2a5c590d9e8cd4444e4eef6cf, isProtectedApp:1, isRemoveNewVersion:0, fingerprint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys, oatDir:odex
(standard input):58696:09-18 11:24:48.178 29054 29074 I Tinker.UpgradePatchRetry: onPatchResetMaxCheck, reset max check to 1
(standard input):58697:09-18 11:24:48.178 29054 29074 W Tinker.UpgradePatch: UpgradePatch tryPatch: done, it is ok
(standard input):58698:09-18 11:24:48.179 29054 29074 I Tinker.DefaultPatchReporter: patchReporter onPatchResult: patch all result path: /data/user/0/com.naver.linewebtoon.cn/tinker/patch_signed_7zip.apk, success: true, cost: 538
(standard input):58699:09-18 11:24:48.179 29054 29074 I Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.naver.linewebtoon.cn/tinker_temp/temp.apk
(standard input):58700:09-18 11:24:48.181  1514 13630 W ActivityManager: Unable to start service Intent { cmp=com.naver.linewebtoon.cn/com.naver.linewebtoon.tinker.service.SampleResultService (has extras) } U=0: not found

patch合成后下一次冷启动日志:

(standard input):60127:09-18 11:26:06.827 29445 29445 D Tinker.TinkerLoader: tryLoad test test
(standard input):60128:09-18 11:26:06.837 29445 29445 D Tinker.TinkerInternals: getCurrentInstructionSet:arm
(standard input):60129:09-18 11:26:06.837 29445 29445 W Tinker.TinkerLoader: tryLoadPatchFiles:isEnabledForResource:true
(standard input):60131:09-18 11:26:06.840 29445 29445 D Tinker.TinkerInternals: same fingerprint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys
(standard input):60132:09-18 11:26:06.840 29445 29445 W Tinker.TinkerInternals: getSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn count:0
(standard input):60133:09-18 11:26:06.842 29445 29445 W Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn count:1
(standard input):60134:09-18 11:26:06.843 29445 29445 I Tinker.TinkerDexLoader: classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]]
(standard input):60135:09-18 11:26:06.843 29445 29445 I Tinker.TinkerDexLoader: verify dex file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk md5, use time: 0
(standard input):60136:09-18 11:26:06.843 29445 29445 I Tinker.ClassLoaderAdder: installDexes dexOptDir: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/odex, dex size:1
(standard input):60140:09-18 11:26:06.846 29445 29445 I Tinker.ClassLoaderAdder: after loaded classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]], dex size:1
(standard input):60141:09-18 11:26:06.846 29445 29445 W Tinker.ClassLoaderAdder: checkDexInstall result:true
(standard input):60142:09-18 11:26:06.848 29445 29445 W Tinker.ResourcePatcher: try to clear typedArray cache!
(standard input):60143:09-18 11:26:06.848 29445 29445 I Tinker.ResourcePatcher: checkResUpdate success, found test resource assets file only_use_to_test_tinker_resource.txt
(standard input):60144:09-18 11:26:06.848 29445 29445 I Tinker.ResourceLoader: monkeyPatchExistingResources resource file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/res/resources.apk, use time: 2
(standard input):60145:09-18 11:26:06.848 29445 29445 I Tinker.IncrementCompMgr: package has no incremental component meta, skip init.
(standard input):60146:09-18 11:26:06.849 29445 29445 I Tinker.PatchInfo: rewritePatchInfoFile file path:/data/user/0/com.naver.linewebtoon.cn/tinker/patch.info , oldVer:5187b0f2a5c590d9e8cd4444e4eef6cf, newVer:5187b0f2a5c590d9e8cd4444e4eef6cf, isProtectedApp:1, isRemoveNewVersion:0, fingerprint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys, oatDir:odex
(standard input):60147:09-18 11:26:06.852 29445 29445 I Tinker.TinkerLoader: tryLoadPatchFiles: load end, ok!
(standard input):60148:09-18 11:26:06.852 29445 29445 D Tinker.DefaultAppLike: onBaseContextAttached:
(standard input):60149:09-18 11:26:06.853 29445 29445 I Tinker.TinkerPatchListener: application maxMemory:512
(standard input):60150:09-18 11:26:06.854 29445 29445 W Tinker.Tinker: tinker patch directory: /data/user/0/com.naver.linewebtoon.cn/tinker
(standard input):60151:09-18 11:26:06.854 29445 29445 I Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14
(standard input):60152:09-18 11:26:06.854 29445 29445 I Tinker.TinkerLoadResult: parseTinkerResult loadCode:0, process name:com.naver.linewebtoon.cn, main process:true, systemOTA:false, fingerPrint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys, oatDir:odex, useInterpretMode:false
(standard input):60153:09-18 11:26:06.854 29445 29445 I Tinker.TinkerLoadResult: parseTinkerResult oldVersion:, newVersion:5187b0f2a5c590d9e8cd4444e4eef6cf, current:5187b0f2a5c590d9e8cd4444e4eef6cf
(standard input):60154:09-18 11:26:06.854 29445 29445 I Tinker.TinkerLoadResult: oh yeah, tinker load all success
(standard input):60155:09-18 11:26:06.854 29445 29445 I Tinker.DefaultLoadReporter: patch loadReporter onLoadPatchVersionChanged: patch version change from  to 5187b0f2a5c590d9e8cd4444e4eef6cf
(standard input):60156:09-18 11:26:06.855 29445 29445 I Tinker.UpgradePatchRetry: onPatchResetMaxCheck, reset max check to 1
(standard input):60157:09-18 11:26:06.856 29445 29445 I Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.naver.linewebtoon.cn/tinker, code: 0, cost: 25ms
(standard input):60158:09-18 11:26:06.859 29445 29445 W Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn count:0
(standard input):60159:09-18 11:26:06.870 29445 29445 I Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations.
(standard input):60160:09-18 11:26:06.871 29445 29445 D Tinker.DefaultAppLike: onCreate
(standard input):60200:09-18 11:26:07.039 29445 29445 I [NELO2] NeloLog: Application : com.naver.linewebtoon.TinkerWebtoonApplication@fa99b81
(standard input):60201:09-18 11:26:07.039 29445 29445 I [NELO2] NeloLog: Context : com.naver.linewebtoon.TinkerWebtoonApplication@fa99b81
(standard input):60286:09-18 11:26:07.183 29445 29534 I .linewebtoon.c: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.taobao.orange.OrangeConfigListenerV1" on path: DexPathList[[zip file "/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
(standard input):60318:09-18 11:26:07.183 29445 29534 I .linewebtoon.c: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.taobao.orange.OrangeConfigListenerV1" on path: DexPathList[[zip file "/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
(standard input):60350:09-18 11:26:07.184 29445 29534 I .linewebtoon.c: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.taobao.orange.OrangeConfigListenerV1" on path: DexPathList[[zip file "/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
(standard input):60485:09-18 11:26:07.276 29445 29534 I .linewebtoon.c: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.taobao.orange.OrangeConfigListenerV1" on path: DexPathList[[zip file "/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
(standard input):60739:09-18 11:26:07.482 29625 29625 D Tinker.TinkerLoader: tryLoad test test
(standard input):60742:09-18 11:26:07.491 29625 29625 D Tinker.TinkerInternals: getCurrentInstructionSet:arm
(standard input):60743:09-18 11:26:07.492 29625 29625 W Tinker.TinkerLoader: tryLoadPatchFiles:isEnabledForResource:true
(standard input):60745:09-18 11:26:07.496 29625 29625 D Tinker.TinkerInternals: same fingerprint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys
(standard input):60746:09-18 11:26:07.497 29625 29625 W Tinker.TinkerInternals: getSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn:channel count:0
(standard input):60747:09-18 11:26:07.500 29625 29625 W Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn:channel count:1
(standard input):60748:09-18 11:26:07.500 29625 29625 I Tinker.TinkerDexLoader: classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]]
(standard input):60749:09-18 11:26:07.501 29625 29625 I Tinker.TinkerDexLoader: verify dex file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk md5, use time: 1
(standard input):60750:09-18 11:26:07.501 29625 29625 I Tinker.ClassLoaderAdder: installDexes dexOptDir: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/odex, dex size:1
(standard input):60754:09-18 11:26:07.504 29625 29625 I Tinker.ClassLoaderAdder: after loaded classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]], dex size:1
(standard input):60755:09-18 11:26:07.504 29625 29625 W Tinker.ClassLoaderAdder: checkDexInstall result:true
(standard input):60756:09-18 11:26:07.506 29625 29625 W Tinker.ResourcePatcher: try to clear typedArray cache!
(standard input):60757:09-18 11:26:07.507 29625 29625 I Tinker.ResourcePatcher: checkResUpdate success, found test resource assets file only_use_to_test_tinker_resource.txt
(standard input):60758:09-18 11:26:07.507 29625 29625 I Tinker.ResourceLoader: monkeyPatchExistingResources resource file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/res/resources.apk, use time: 3
(standard input):60759:09-18 11:26:07.507 29625 29625 I Tinker.IncrementCompMgr: package has no incremental component meta, skip init.
(standard input):60760:09-18 11:26:07.507 29625 29625 I Tinker.TinkerLoader: tryLoadPatchFiles: load end, ok!
(standard input):60761:09-18 11:26:07.508 29625 29625 D Tinker.DefaultAppLike: onBaseContextAttached:
(standard input):60762:09-18 11:26:07.508 29625 29625 I Tinker.TinkerPatchListener: application maxMemory:512
(standard input):60763:09-18 11:26:07.509 29625 29625 W Tinker.Tinker: tinker patch directory: /data/user/0/com.naver.linewebtoon.cn/tinker
(standard input):60764:09-18 11:26:07.509 29625 29625 I Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14
(standard input):60765:09-18 11:26:07.509 29625 29625 I Tinker.TinkerLoadResult: parseTinkerResult loadCode:0, process name:com.naver.linewebtoon.cn:channel, main process:false, systemOTA:false, fingerPrint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys, oatDir:odex, useInterpretMode:false
(standard input):60766:09-18 11:26:07.509 29625 29625 I Tinker.TinkerLoadResult: parseTinkerResult oldVersion:5187b0f2a5c590d9e8cd4444e4eef6cf, newVersion:5187b0f2a5c590d9e8cd4444e4eef6cf, current:5187b0f2a5c590d9e8cd4444e4eef6cf
(standard input):60767:09-18 11:26:07.509 29625 29625 I Tinker.TinkerLoadResult: oh yeah, tinker load all success
(standard input):60768:09-18 11:26:07.510 29625 29625 I Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.naver.linewebtoon.cn/tinker, code: 0, cost: 26ms
(standard input):60769:09-18 11:26:07.512 29625 29625 W Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn:channel count:0
(standard input):60770:09-18 11:26:07.513 29445 29445 W Tinker.UpgradePatchRetry: onPatchRetryLoad patch file: /data/user/0/com.naver.linewebtoon.cn/tinker_temp/temp.apk is not exist, just return
(standard input):60771:09-18 11:26:07.517 29625 29625 I Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations.
(standard input):60772:09-18 11:26:07.517 29625 29625 D Tinker.DefaultAppLike: onCreate
(standard input):60778:09-18 11:26:07.535 29625 29625 W Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return
(standard input):60875:09-18 11:26:11.349 29445 29445 I Tinker.TinkerPatchListener: receive a patch file: /data/user/0/com.naver.linewebtoon.cn/tinker/patch_signed_7zip.apk, file size:104050
(standard input):60876:09-18 11:26:11.350 29445 29445 I Tinker.DefaultLoadReporter: patch loadReporter onLoadPatchListenerReceiveFail: patch receive fail: /data/user/0/com.naver.linewebtoon.cn/tinker/patch_signed_7zip.apk, code: -6
(standard input):60910:09-18 11:26:11.432 29685 29685 D Tinker.TinkerLoader: tryLoad test test
(standard input):60915:09-18 11:26:11.441 29685 29685 D Tinker.TinkerInternals: getCurrentInstructionSet:arm
(standard input):60916:09-18 11:26:11.442 29685 29685 W Tinker.TinkerLoader: tryLoadPatchFiles:isEnabledForResource:true
(standard input):60918:09-18 11:26:11.445 29685 29685 D Tinker.TinkerInternals: same fingerprint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys
(standard input):60919:09-18 11:26:11.446 29685 29685 W Tinker.TinkerInternals: getSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn:pushservice count:0
(standard input):60920:09-18 11:26:11.449 29685 29685 W Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn:pushservice count:1
(standard input):60921:09-18 11:26:11.449 29685 29685 I Tinker.TinkerDexLoader: classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]]
(standard input):60922:09-18 11:26:11.449 29685 29685 I Tinker.TinkerDexLoader: verify dex file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk md5, use time: 0
(standard input):60923:09-18 11:26:11.449 29685 29685 I Tinker.ClassLoaderAdder: installDexes dexOptDir: /data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/odex, dex size:1
(standard input):60928:09-18 11:26:11.453 29685 29685 I Tinker.ClassLoaderAdder: after loaded classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/dex/tinker_classN.apk", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/lib/arm, /data/app/com.naver.linewebtoon.cn-OH0MO1bxIfyWZjT6_a5G8Q==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]], dex size:1
(standard input):60929:09-18 11:26:11.453 29685 29685 W Tinker.ClassLoaderAdder: checkDexInstall result:true
(standard input):60930:09-18 11:26:11.455 29685 29685 W Tinker.ResourcePatcher: try to clear typedArray cache!
(standard input):60931:09-18 11:26:11.456 29685 29685 I Tinker.ResourcePatcher: checkResUpdate success, found test resource assets file only_use_to_test_tinker_resource.txt
(standard input):60932:09-18 11:26:11.456 29685 29685 I Tinker.ResourceLoader: monkeyPatchExistingResources resource file:/data/user/0/com.naver.linewebtoon.cn/tinker/patch-5187b0f2/res/resources.apk, use time: 3
(standard input):60933:09-18 11:26:11.456 29685 29685 I Tinker.IncrementCompMgr: package has no incremental component meta, skip init.
(standard input):60934:09-18 11:26:11.456 29685 29685 I Tinker.TinkerLoader: tryLoadPatchFiles: load end, ok!
(standard input):60935:09-18 11:26:11.457 29685 29685 D Tinker.DefaultAppLike: onBaseContextAttached:
(standard input):60936:09-18 11:26:11.457 29685 29685 I Tinker.TinkerPatchListener: application maxMemory:512
(standard input):60937:09-18 11:26:11.458 29685 29685 W Tinker.Tinker: tinker patch directory: /data/user/0/com.naver.linewebtoon.cn/tinker
(standard input):60938:09-18 11:26:11.458 29685 29685 I Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14
(standard input):60939:09-18 11:26:11.458 29685 29685 I Tinker.TinkerLoadResult: parseTinkerResult loadCode:0, process name:com.naver.linewebtoon.cn:pushservice, main process:false, systemOTA:false, fingerPrint:Xiaomi/dipper/dipper:9/PKQ1.180729.001/9.8.22:user/release-keys, oatDir:odex, useInterpretMode:false
(standard input):60940:09-18 11:26:11.458 29685 29685 I Tinker.TinkerLoadResult: parseTinkerResult oldVersion:5187b0f2a5c590d9e8cd4444e4eef6cf, newVersion:5187b0f2a5c590d9e8cd4444e4eef6cf, current:5187b0f2a5c590d9e8cd4444e4eef6cf
(standard input):60941:09-18 11:26:11.459 29685 29685 I Tinker.TinkerLoadResult: oh yeah, tinker load all success
(standard input):60942:09-18 11:26:11.459 29685 29685 I Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.naver.linewebtoon.cn/tinker, code: 0, cost: 24ms
(standard input):60943:09-18 11:26:11.461 29685 29685 W Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.naver.linewebtoon.cn:pushservice count:0
(standard input):60944:09-18 11:26:11.466 29685 29685 I Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations.
(standard input):60945:09-18 11:26:11.466 29685 29685 D Tinker.DefaultAppLike: onCreate
(standard input):60946:09-18 11:26:11.476 29685 29685 W Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return
liujinglin commented 5 years ago

@shwenzhang

liujinglin commented 5 years ago

@tomystang

talentsxh commented 5 years ago

华为手机android 9 360加固后,下发成功,激活成功。就是不能修复。 2019-09-18 15:47:01.525 14026-14026/? W/System.err: at com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication.onCreate(BUGLY:189) 2019-09-18 15:47:01.741 14026-14026/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return 2019-09-18 15:47:01.754 13854-13854/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad patch file: /data/user/0/com.xxx.xxx/tinker_temp/temp.apk is not exist, just return 不加固没有问题,可以正常替换。

tys282000 commented 5 years ago

将bugly升级到1.4.1再试试看?

talentsxh commented 5 years ago

将bugly升级到1.4.1再试试看?

已经是1.4.1的

liujinglin commented 5 years ago

@tomystang 在小米8上修复不生效的问题,麻烦有时间的时候亲测一下,🙏

tys282000 commented 5 years ago

好滴,我再看下

talentsxh commented 5 years ago

@tomystang 在小米8上修复不生效的问题,麻烦有时间的时候亲测一下,🙏

没有加固的情况下 小米8应用管理打开应用自启动。 可以下发,修复成功。需要等待很久,最少5分钟,修复包才50kb,都要等上3分钟上。

bufferoverflowexception commented 5 years ago

我们也遇到了类似的问题 我们是修改了一些代码逻辑跟某个静态常量 打补丁后 部分手机加载补丁后是正常的预期 静态常量跟代码逻辑都可以通过补丁修改了 唯独Android 9 华为P20比较奇怪 这台手机打上补丁后 代码逻辑是正常被修复了 但是那个静态常量没被修复到 @tomystang

chenlione commented 5 years ago

@liujinglin @tomystang @tomystang 我在红米手机Redmi k20 ,android版本9.0,java 8上面也遇到这个问题了,报的错是 Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist。(如果是java7就不存在这个问题,但我项目中必须用java8) 看了一下是没发现tinker_classN.odex和tinker_classN.vdex。但具体不知道再哪里修改

JaydenHoFly commented 4 years ago

@tomystang 我司也遇到了同样的问题。 背景:热更新灰度20w用户,也确实收到了20w用户的热更成功通知,但是只有2k用户成功应用了新增的代码。 实验室验证: 1、使用360加固时才会出现,不加固则不会出现。 2、在多个类中新增了代码,进行热更操作,补丁包中确实包含所有新增的代码,但是安装补丁包后,发现只有部分类中的代码生效。

异常类型:app运行时异常/编译异常

手机型号:如:华为mate10,红米note7等绝大部分机型

手机系统版本:如:Android 9

tinker版本:如:v1.9.13.2 (v1.9.14.5也有这个问题,但只保留v1.9.13.2的日志)

热更新SDK: Bugly1.4.1(Bugly1.4.2也有这个问题)

堆栈/日志: 基准包接收补丁包的日志

2019-12-25 15:37:08.084 W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/user/0/com.test.demo/tinker 2019-12-25 15:37:08.088 D/Tinker.DefaultAppLike: onBaseContextAttached: 2019-12-25 15:37:08.138 E/RePlugin.PluginInfoList: load: Load error! java.io.FileNotFoundException: File '/data/user/0/com.test.demo/app_p_a/p.l' does not exist at f.e.a.d.b.c.f.f(RuntimeCompat.java:7) at f.l.d.f.c.a(PluginInfoList.java:7) at f.l.d.g.g.a(PluginManagerServer.java:6) at f.l.d.g.g$a.load(PluginManagerServer.java:3) at f.l.b.S.f(PmBase.java:123) at f.l.b.S.d(PmBase.java:9) at com.qihoo360.replugin.RePlugin$a.a(RePlugin.java:43) at com.test.demo.app.BrothersApplication.onBaseContextAttached(BrothersApplication.java:8) at java.lang.reflect.Method.invoke(Native Method) at com.tencent.tinker.loader.app.TinkerApplication.invokeAppLikeOnBaseContextAttached(TinkerApplication.java:3) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(TinkerApplication.java:5) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(TinkerApplication.java:3) at android.app.Application.attach(Application.java:215) at java.lang.reflect.Method.invoke(Native Method) at com.stub.StubApp.attachBaseContext(SourceFile:194) at android.app.Application.attach(Application.java:215) at android.app.Instrumentation.newApplication(Instrumentation.java:1122) at android.app.LoadedApk.makeApplication(LoadedApk.java:1065) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5920) at android.app.ActivityThread.access$1200(ActivityThread.java:200) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6810) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) 2019-12-25 15:37:08.153 I/Tinker.TinkerPatchListener: application maxMemory:256 2019-12-25 15:37:08.155 W/Tinker.Tinker: tinker patch directory: /data/user/0/com.test.demo/tinker 2019-12-25 15:37:08.157 I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.13.2 2019-12-25 15:37:08.158 I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2, process name:com.test.demo, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false 2019-12-25 15:37:08.158 W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return 2019-12-25 15:37:08.158 I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.test.demo/tinker, code: -2, cost: 3ms 2019-12-25 15:37:08.158 W/Tinker.Tinker: tinker load fail! 2019-12-25 15:37:08.224 D/ServerProvider: [onCreate] App = com.test.demo.app.XLTinkerApplication@aaf91e4 2019-12-25 15:37:08.271 I/Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations. 2019-12-25 15:37:08.271 D/Tinker.DefaultAppLike: onCreate 2019-12-25 15:37:09.116 W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry info not exist, just return 2019-12-25 15:37:10.879 D/BuglyTinkerManager: 配置Bugly Tinker 2019-12-25 15:37:15.031 D/BuglyTinkerManager: 收到补丁-补丁下载地址=https://s.beta.gtimg.com/rdmimg/hot_patch/xxxx.zip 2019-12-25 15:37:16.581 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 1% 2019-12-25 15:37:16.590 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 2% 2019-12-25 15:37:16.597 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 3% 2019-12-25 15:37:16.613 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 4% 2019-12-25 15:37:16.823 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 5% 2019-12-25 15:37:16.836 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 7% 2019-12-25 15:37:16.838 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 7% 2019-12-25 15:37:16.840 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 8% 2019-12-25 15:37:16.848 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 9% 2019-12-25 15:37:16.864 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 13% 2019-12-25 15:37:16.865 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 13% 2019-12-25 15:37:16.865 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 13% 2019-12-25 15:37:17.100 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 14% 2019-12-25 15:37:17.105 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 15% 2019-12-25 15:37:17.114 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 16% 2019-12-25 15:37:17.117 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 17% 2019-12-25 15:37:18.347 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 21% 2019-12-25 15:37:18.349 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 21% 2019-12-25 15:37:18.435 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 21% 2019-12-25 15:37:18.438 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 21% 2019-12-25 15:37:18.495 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 26% 2019-12-25 15:37:18.496 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 26% 2019-12-25 15:37:18.509 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 27% 2019-12-25 15:37:18.510 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 27% 2019-12-25 15:37:18.523 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 28% 2019-12-25 15:37:18.538 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 28% 2019-12-25 15:37:18.673 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 30% 2019-12-25 15:37:18.673 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 30% 2019-12-25 15:37:18.688 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 32% 2019-12-25 15:37:18.689 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 34% 2019-12-25 15:37:18.704 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 35% 2019-12-25 15:37:18.705 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 35% 2019-12-25 15:37:18.709 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 36% 2019-12-25 15:37:18.721 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 39% 2019-12-25 15:37:18.722 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 39% 2019-12-25 15:37:18.722 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 39% 2019-12-25 15:37:18.859 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 40% 2019-12-25 15:37:18.872 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 42% 2019-12-25 15:37:18.872 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 42% 2019-12-25 15:37:18.876 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 43% 2019-12-25 15:37:18.889 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 46% 2019-12-25 15:37:18.890 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 46% 2019-12-25 15:37:18.905 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 49% 2019-12-25 15:37:18.906 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 49% 2019-12-25 15:37:18.906 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 49% 2019-12-25 15:37:18.908 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 50% 2019-12-25 15:37:18.928 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 53% 2019-12-25 15:37:18.928 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 53% 2019-12-25 15:37:18.929 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 53% 2019-12-25 15:37:18.942 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 54% 2019-12-25 15:37:19.164 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.165 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.165 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.166 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.166 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.167 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.167 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.167 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.167 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 69% 2019-12-25 15:37:19.179 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 72% 2019-12-25 15:37:19.180 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 72% 2019-12-25 15:37:19.180 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 72% 2019-12-25 15:37:19.191 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 72% 2019-12-25 15:37:19.357 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 74% 2019-12-25 15:37:19.374 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 75% 2019-12-25 15:37:19.374 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 76% 2019-12-25 15:37:19.375 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 76% 2019-12-25 15:37:19.389 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 80% 2019-12-25 15:37:19.390 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 80% 2019-12-25 15:37:19.406 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 84% 2019-12-25 15:37:19.407 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 84% 2019-12-25 15:37:19.407 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 84% 2019-12-25 15:37:19.407 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 84% 2019-12-25 15:37:19.424 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 86% 2019-12-25 15:37:19.441 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 87% 2019-12-25 15:37:19.443 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 87% 2019-12-25 15:37:19.456 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 89% 2019-12-25 15:37:19.456 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 89% 2019-12-25 15:37:19.617 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 92% 2019-12-25 15:37:19.630 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 94% 2019-12-25 15:37:19.631 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 94% 2019-12-25 15:37:19.641 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 97% 2019-12-25 15:37:19.641 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 97% 2019-12-25 15:37:19.642 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 97% 2019-12-25 15:37:19.642 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 97% 2019-12-25 15:37:19.643 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 98% 2019-12-25 15:37:19.656 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 99% 2019-12-25 15:37:19.671 D/BuglyTinkerManager: 补丁下载中-进度=正在下载 100% 2019-12-25 15:37:19.677 D/Tinker.TinkerManager: onDownloadSuccess. 2019-12-25 15:37:19.677 D/BuglyTinkerManager: 补丁下载成功-msg=/data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk 2019-12-25 15:37:19.677 D/Tinker.TinkerManager: check if has new patch. 2019-12-25 15:37:19.682 D/Tinker.TinkerManager: has new patch. 2019-12-25 15:37:19.688 D/Tinker.TinkerManager: starting patch. 2019-12-25 15:37:19.692 I/Tinker.TinkerPatchListener: receive a patch file: /data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk, file size:745274 2019-12-25 15:37:19.695 W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.test.demo/tinker/patch.info (No such file or directory) 2019-12-25 15:37:19.695 W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.test.demo/tinker/patch.info (No such file or directory) 2019-12-25 15:37:19.696 W/Tinker.UpgradePatchRetry: onPatchListenerCheck retry file is not exist, just return 2019-12-25 15:37:19.696 I/Tinker.TinkerPatchListener: get platform:null 2019-12-25 15:37:19.696 I/Tinker.TinkerPatchService: run patch service... 2019-12-25 15:37:19.742 D/Boost: hostingType=service, hostingName=com.test.demo/com.tencent.tinker.lib.service.TinkerPatchService, callerPackage=com.test.demo, isSystem=false, isBoostNeeded=false. 2019-12-25 15:37:19.746 I/ActivityManager: Start proc 12689:com.test.demo:patch/u0a200 for service com.test.demo/com.tencent.tinker.lib.service.TinkerPatchService caller=com.test.demo 2019-12-25 15:37:20.442 W/Tinker.TinkerLoader: tryLoadPatchFiles: we don't load patch with :patch process itself, just return 2019-12-25 15:37:20.446 D/Tinker.DefaultAppLike: onBaseContextAttached: 2019-12-25 15:37:20.475 D/RePlugin.ws001: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference at f.l.b.y.a(PluginManager.java:12) at f.l.b.y.a(PluginManager.java:4) at com.qihoo360.replugin.RePlugin$a.a(RePlugin.java:41) at com.test.demo.app.BrothersApplication.onBaseContextAttached(BrothersApplication.java:8) at java.lang.reflect.Method.invoke(Native Method) at com.tencent.tinker.loader.app.TinkerApplication.invokeAppLikeOnBaseContextAttached(TinkerApplication.java:3) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(TinkerApplication.java:5) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(TinkerApplication.java:3) at android.app.Application.attach(Application.java:215) at java.lang.reflect.Method.invoke(Native Method) at com.stub.StubApp.attachBaseContext(SourceFile:194) at android.app.Application.attach(Application.java:215) at android.app.Instrumentation.newApplication(Instrumentation.java:1122) at android.app.LoadedApk.makeApplication(LoadedApk.java:1065) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5920) at android.app.ActivityThread.access$1200(ActivityThread.java:200) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6810) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) 2019-12-25 15:37:20.550 I/Tinker.TinkerPatchListener: application maxMemory:256 2019-12-25 15:37:20.552 W/Tinker.Tinker: tinker patch directory: /data/user/0/com.test.demo/tinker 2019-12-25 15:37:20.555 I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.13.2 2019-12-25 15:37:20.555 I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-1, process name:com.test.demo:patch, main process:false, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false 2019-12-25 15:37:20.556 W/Tinker.TinkerLoadResult: tinker is disable, just return 2019-12-25 15:37:20.556 I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.test.demo/tinker, code: -1, cost: 4ms 2019-12-25 15:37:20.556 W/Tinker.Tinker: tinker load fail! 2019-12-25 15:37:20.562 I/Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations. 2019-12-25 15:37:20.563 D/Tinker.DefaultAppLike: onCreate 2019-12-25 15:37:20.573 I/Tinker.TinkerPatchService: for system version >= Android O, we just ignore increasingPriority job to avoid crash or toasts. 2019-12-25 15:37:20.573 I/Tinker.DefaultPatchReporter: patchReporter onPatchServiceStart: patch service start 2019-12-25 15:37:20.581 W/Tinker.UpgradePatchRetry: try copy file: /data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk to /data/user/0/com.test.demo/tinker_temp/temp.apk 2019-12-25 15:37:20.581 W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return 2019-12-25 15:37:20.656 I/Tinker.UpgradePatch: UpgradePatch tryPatch:patchMd5:4f4f911aca58ab3691e2f6af56ad380f 2019-12-25 15:37:20.665 W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.test.demo/tinker/patch.info (No such file or directory) 2019-12-25 15:37:20.665 W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.test.demo/tinker/patch.info (No such file or directory) 2019-12-25 15:37:20.665 I/Tinker.UpgradePatch: UpgradePatch tryPatch:patchVersionDirectory:/data/user/0/com.test.demo/tinker/patch-4f4f911a 2019-12-25 15:37:20.674 W/Tinker.UpgradePatch: UpgradePatch copy patch file, src file: /data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk size: 745274, dest file: /data/user/0/com.test.demo/tinker/patch-4f4f911a/patch-4f4f911a.apk size:745274 2019-12-25 15:37:20.692 I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes.dex.jar 2019-12-25 15:37:20.709 I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 2019-12-25 15:37:20.709 I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes2.dex.jar 2019-12-25 15:37:20.776 I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 2019-12-25 15:37:20.776 I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes3.dex.jar 2019-12-25 15:37:21.116 I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 2019-12-25 15:37:21.116 I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes4.dex.jar 2019-12-25 15:37:21.176 I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 2019-12-25 15:37:21.177 I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes5.dex.jar 2019-12-25 15:37:21.183 I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 2019-12-25 15:37:21.183 I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes6.dex.jar 2019-12-25 15:37:21.258 I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 2019-12-25 15:37:21.258 I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/test.dex.jar 2019-12-25 15:37:21.261 I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true 2019-12-25 15:37:21.334 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/test.dex.jar 2019-12-25 15:37:21.334 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes4.dex.jar 2019-12-25 15:37:21.335 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes3.dex.jar 2019-12-25 15:37:21.335 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes2.dex.jar 2019-12-25 15:37:21.336 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes6.dex.jar 2019-12-25 15:37:21.336 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes.dex.jar 2019-12-25 15:37:21.336 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/classes5.dex.jar 2019-12-25 15:37:21.336 I/Tinker.DexDiffPatchInternal: merge classN dex file /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/tinker_classN.apk, result: true, size: 742336, use: 75ms 2019-12-25 15:37:21.337 I/Tinker.DexDiffPatchInternal: legal files to do dexopt: [/data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/tinker_classN.apk] 2019-12-25 15:37:21.339 D/Tinker.TinkerInternals: getCurrentInstructionSet:arm 2019-12-25 15:37:21.340 I/Tinker.DexDiffPatchInternal: patch recover, try to optimize dex file count:1, optimizeDexDirectory:/data/user/0/com.test.demo/tinker/patch-4f4f911a/odex/ 2019-12-25 15:37:21.343 I/Tinker.DexDiffPatchInternal: start to parallel optimize dex /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/tinker_classN.apk, size: 742336 2019-12-25 15:37:24.707 I/Tinker.DexDiffPatchInternal: success to parallel optimize dex /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/tinker_classN.apk, opt file:/data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/oat/arm/tinker_classN.odex, opt file size: 25000, use time 3364 2019-12-25 15:37:24.708 I/Tinker.DexDiffPatchInternal: recover dex result:true, cost:4022 2019-12-25 15:37:24.710 W/Tinker.BsDiffPatchInternal: patch recover, library is not contained 2019-12-25 15:37:24.716 W/Tinker.ResDiffPatchInternal: patch recover, resource is not contained 2019-12-25 15:37:24.716 I/Tinker.DexDiffPatchInternal: raw dex count: 7, dex opt dex count: 1, final wait times: 120 2019-12-25 15:37:24.726 I/Tinker.DexDiffPatchInternal: check dex optimizer file exist: /data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/oat/arm/tinker_classN.odex, size 25000 2019-12-25 15:37:24.726 I/Tinker.DexDiffPatchInternal: check dex optimizer file format: tinker_classN.odex, size 25000 2019-12-25 15:37:24.733 I/Tinker.PatchInfo: rewritePatchInfoFile file path:/data/user/0/com.test.demo/tinker/patch.info , oldVer:, newVer:4f4f911aca58ab3691e2f6af56ad380f, isProtectedApp:1, isRemoveNewVersion:0, fingerprint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys, oatDir:odex 2019-12-25 15:37:24.734 I/Tinker.UpgradePatchRetry: onPatchResetMaxCheck, reset max check to 1 2019-12-25 15:37:24.735 W/Tinker.UpgradePatch: UpgradePatch tryPatch: done, it is ok 2019-12-25 15:37:24.735 I/Tinker.DefaultPatchReporter: patchReporter onPatchResult: patch all result path: /data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk, success: true, cost: 4129 2019-12-25 15:37:24.736 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/tinker_temp/temp.apk 2019-12-25 15:37:24.752 I/Tinker.TinkerResultService: TinkerResultService receive result: PatchResult: isSuccess:true rawPatchFilePath:/data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk costTime:4129 patchVersion:4f4f911aca58ab3691e2f6af56ad380f 2019-12-25 15:37:24.756 D/BuglyTinkerManager: 补丁应用成功-msg= PatchResult: isSuccess:true rawPatchFilePath:/data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk costTime:4129 patchVersion:4f4f911aca58ab3691e2f6af56ad380f 2019-12-25 15:37:24.757 W/Tinker.DefaultTinkerResultService: deleteRawPatchFile rawFile path: /data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk 2019-12-25 15:37:24.757 I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.test.demo/app_tmpPatch/tmpPatch.apk 2019-12-25 15:37:24.758 I/Tinker.TinkerResultService: tinker wait screen to restart process 2019-12-25 15:37:26.344 W/Tinker.TinkerLoader: tryLoadPatchFiles:version is blank, wait main process to restart 2019-12-25 15:37:26.348 D/Tinker.DefaultAppLike: onBaseContextAttached: 2019-12-25 15:37:26.428 I/Tinker.TinkerPatchListener: application maxMemory:256 2019-12-25 15:37:26.431 W/Tinker.Tinker: tinker patch directory: /data/user/0/com.test.demo/tinker 2019-12-25 15:37:26.434 I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.13.2 2019-12-25 15:37:26.435 I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-5, process name:com.test.demo:channel, main process:false, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys, oatDir:odex, useInterpretMode:false 2019-12-25 15:37:26.435 I/Tinker.TinkerLoadResult: parseTinkerResult oldVersion:, newVersion:4f4f911aca58ab3691e2f6af56ad380f, current: 2019-12-25 15:37:26.435 E/Tinker.TinkerLoadResult: path info blank, wait main process to restart 2019-12-25 15:37:26.435 I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.test.demo/tinker, code: -5, cost: 33ms 2019-12-25 15:37:26.435 W/Tinker.Tinker: tinker load fail! 2019-12-25 15:37:26.440 I/Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations. 2019-12-25 15:37:26.440 D/Tinker.DefaultAppLike: onCreate 2019-12-25 15:37:26.655 W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return


接收并合成补丁包后,再次冷启动的日志: 2019-12-25 15:38:41.823 D/Tinker.TinkerInternals: getCurrentInstructionSet:arm 2019-12-25 15:38:41.824 W/Tinker.TinkerLoader: tryLoadPatchFiles:isEnabledForResource:true 2019-12-25 15:38:41.825 D/Tinker.TinkerInternals: same fingerprint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys 2019-12-25 15:38:41.826 W/Tinker.TinkerInternals: getSafeModeCount: preferName:tinker_own_config_com.test.demo count:0 2019-12-25 15:38:41.830 W/Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.test.demo count:1 2019-12-25 15:38:41.830 I/Tinker.TinkerDexLoader: classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/base.apk", dex file "/data/data/com.test.demo/.jiagu/tmp.dex"],nativeLibraryDirectories=[/data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/lib/arm, /data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/base.apk!/lib/armeabi-v7a, /system/lib]]] 2019-12-25 15:38:41.830 I/Tinker.TinkerDexLoader: verify dex file:/data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/tinker_classN.apk md5, use time: 0 2019-12-25 15:38:41.831 I/Tinker.ClassLoaderAdder: installDexes dexOptDir: /data/user/0/com.test.demo/tinker/patch-4f4f911a/odex, dex size:1 2019-12-25 15:38:41.835 I/Tinker.ClassLoaderAdder: after loaded classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/tinker_classN.apk", zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/base.apk", dex file "/data/data/com.test.demo/.jiagu/tmp.dex"],nativeLibraryDirectories=[/data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/lib/arm, /data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/base.apk!/lib/armeabi-v7a, /system/lib]]], dex size:1 2019-12-25 15:38:41.835 W/Tinker.ClassLoaderAdder: checkDexInstall result:true 2019-12-25 15:38:41.838 I/Tinker.IncrementCompMgr: package has no incremental component meta, skip init. 2019-12-25 15:38:41.838 I/Tinker.PatchInfo: rewritePatchInfoFile file path:/data/user/0/com.test.demo/tinker/patch.info , oldVer:4f4f911aca58ab3691e2f6af56ad380f, newVer:4f4f911aca58ab3691e2f6af56ad380f, isProtectedApp:1, isRemoveNewVersion:0, fingerprint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys, oatDir:odex 2019-12-25 15:38:41.842 I/Tinker.TinkerLoader: tryLoadPatchFiles: load end, ok! 2019-12-25 15:38:41.844 D/Tinker.DefaultAppLike: onBaseContextAttached: 2019-12-25 15:38:41.908 I/Tinker.TinkerPatchListener: application maxMemory:256 2019-12-25 15:38:41.911 W/Tinker.Tinker: tinker patch directory: /data/user/0/com.test.demo/tinker 2019-12-25 15:38:41.914 I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.13.2 2019-12-25 15:38:41.915 I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:0, process name:com.test.demo, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys, oatDir:odex, useInterpretMode:false 2019-12-25 15:38:41.915 I/Tinker.TinkerLoadResult: parseTinkerResult oldVersion:, newVersion:4f4f911aca58ab3691e2f6af56ad380f, current:4f4f911aca58ab3691e2f6af56ad380f 2019-12-25 15:38:41.915 I/Tinker.TinkerLoadResult: oh yeah, tinker load all success 2019-12-25 15:38:41.915 I/Tinker.DefaultLoadReporter: patch loadReporter onLoadPatchVersionChanged: patch version change from to 4f4f911aca58ab3691e2f6af56ad380f 2019-12-25 15:38:41.916 I/Tinker.UpgradePatchRetry: onPatchResetMaxCheck, reset max check to 1 2019-12-25 15:38:41.918 I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.test.demo/tinker, code: 0, cost: 46ms 2019-12-25 15:38:41.923 W/Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.test.demo count:0 2019-12-25 15:38:41.970 D/ServerProvider: [onCreate] App = com.test.demo.app.XLTinkerApplication@868dcbd

--------- beginning of crash

2019-12-25 15:38:42.015 I/Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations. 2019-12-25 15:38:42.015 D/Tinker.DefaultAppLike: onCreate 2019-12-25 15:38:42.257 W/System.err: at com.tencent.tinker.loader.app.TinkerApplication.invokeAppLikeOnCreate(TinkerApplication.java:3) 2019-12-25 15:38:42.257 W/System.err: at com.tencent.tinker.loader.app.TinkerApplication.onCreate(TinkerApplication.java:4) 2019-12-25 15:38:42.307 D/BuglyTinkerManager: 配置Bugly Tinker 2019-12-25 15:38:43.176 W/Tinker.UpgradePatchRetry: onPatchRetryLoad patch file: /data/user/0/com.test.demo/tinker_temp/temp.apk is not exist, just return 2019-12-25 15:38:48.228 D/hdz-login: Tinker.with(this).isTinkerLoaded();=true 2019-12-25 15:38:58.293 D/Tinker.TinkerInternals: getCurrentInstructionSet:arm 2019-12-25 15:38:58.294 W/Tinker.TinkerLoader: tryLoadPatchFiles:isEnabledForResource:true 2019-12-25 15:38:58.295 D/Tinker.TinkerInternals: same fingerprint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys 2019-12-25 15:38:58.308 W/Tinker.TinkerInternals: getSafeModeCount: preferName:tinker_own_config_com.test.demo:channel count:0 2019-12-25 15:38:58.316 W/Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.test.demo:channel count:1 2019-12-25 15:38:58.317 I/Tinker.TinkerDexLoader: classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/base.apk", dex file "/data/data/com.test.demo/.jiagu/tmp.dex"],nativeLibraryDirectories=[/data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/lib/arm, /data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/base.apk!/lib/armeabi-v7a, /system/lib]]] 2019-12-25 15:38:58.317 I/Tinker.TinkerDexLoader: verify dex file:/data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/tinker_classN.apk md5, use time: 0 2019-12-25 15:38:58.319 I/Tinker.ClassLoaderAdder: installDexes dexOptDir: /data/user/0/com.test.demo/tinker/patch-4f4f911a/odex, dex size:1 2019-12-25 15:38:58.328 I/Tinker.ClassLoaderAdder: after loaded classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/com.test.demo/tinker/patch-4f4f911a/dex/tinker_classN.apk", zip file "/system/framework/android.test.mock.jar", zip file "/system/framework/android.test.runner.jar", zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/base.apk", dex file "/data/data/com.test.demo/.jiagu/tmp.dex"],nativeLibraryDirectories=[/data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/lib/arm, /data/app/com.test.demo-FuUlGsVNk9hKQhcC-7D12A==/base.apk!/lib/armeabi-v7a, /system/lib]]], dex size:1 2019-12-25 15:38:58.329 W/Tinker.ClassLoaderAdder: checkDexInstall result:true 2019-12-25 15:38:58.333 I/Tinker.IncrementCompMgr: package has no incremental component meta, skip init. 2019-12-25 15:38:58.334 I/Tinker.TinkerLoader: tryLoadPatchFiles: load end, ok! 2019-12-25 15:38:58.337 D/Tinker.DefaultAppLike: onBaseContextAttached: 2019-12-25 15:38:58.419 I/Tinker.TinkerPatchListener: application maxMemory:256 2019-12-25 15:38:58.422 W/Tinker.Tinker: tinker patch directory: /data/user/0/com.test.demo/tinker 2019-12-25 15:38:58.424 I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.13.2 2019-12-25 15:38:58.425 I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:0, process name:com.test.demo:channel, main process:false, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.4.0.PFGCNXM:user/release-keys, oatDir:odex, useInterpretMode:false 2019-12-25 15:38:58.425 I/Tinker.TinkerLoadResult: parseTinkerResult oldVersion:4f4f911aca58ab3691e2f6af56ad380f, newVersion:4f4f911aca58ab3691e2f6af56ad380f, current:4f4f911aca58ab3691e2f6af56ad380f 2019-12-25 15:38:58.425 I/Tinker.TinkerLoadResult: oh yeah, tinker load all success 2019-12-25 15:38:58.425 I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.test.demo/tinker, code: 0, cost: 103ms 2019-12-25 15:38:58.431 W/Tinker.TinkerInternals: setSafeModeCount: preferName:tinker_own_config_com.test.demo:channel count:0 2019-12-25 15:38:58.439 I/Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations. 2019-12-25 15:38:58.439 D/Tinker.DefaultAppLike: onCreate 2019-12-25 15:38:58.666 W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return 2019-12-25 15:39:04.782 W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/user/0/com.baidu.input_mi/tinker 2019-12-25 15:39:04.782 D/Tinker.DefaultAppLike: onBaseContextAttached: 2019-12-25 15:39:04.807 I/Tinker.ComponentHotplug: method install() is not invoked, ignore ensuring operations. 2019-12-25 15:39:04.807 D/Tinker.DefaultAppLike: onCreate