Tencent / tinker

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

最新版1.9.14.27 Tinker patch合成慢,修改一行代码合成时间时间基本在100秒左右 #1753

Open fortune1992 opened 1 month ago

fortune1992 commented 1 month ago

Issue/提问须知


异常类型:使用tinker最新版本1.9.14.27,patch合成很慢,修改一行代码合成时间时间基本在100秒左右。基准包大小是27M左右。麻烦大佬帮忙看下哪里出了问题,帮看下有没有解决思路。

手机型号:一加6T

手机系统版本:Android 10.0

tinker版本:1.9.14.27

gradle版本:4.1.1

是否使用热更新SDK: 是

系统:Mac

基准包大小:27M左右

堆栈/日志:
2024-08-30 14:19:14.106 26723-26723 Tinker.Sam...chListener com.current.nice.ccyfl               V  receive a patch file: /storage/emulated/0/patch.apk, file size:29889
2024-08-30 14:19:14.116 26723-26723 Tinker.PatchInfo        com.current.nice.ccyfl               W  read property failed, e:java.io.FileNotFoundException: /data/user/0/com.current.nice.ccyfl/tinker/patch_meta.info: open failed: ENOENT (No such file or directory)
2024-08-30 14:19:14.116 26723-26723 Tinker.PatchInfo        com.current.nice.ccyfl               W  read property failed, e:java.io.FileNotFoundException: /data/user/0/com.current.nice.ccyfl/tinker/patch_meta.info: open failed: ENOENT (No such file or directory)
2024-08-30 14:19:14.117 26723-26723 Tinker.Upg...PatchRetry com.current.nice.ccyfl               W  onPatchListenerCheck retry file is not exist, just return
2024-08-30 14:19:14.122 26723-26723 Tinker.Sam...chListener com.current.nice.ccyfl               V  get platform:all
2024-08-30 14:19:14.132 26723-26723 Tinker.Tin...tchService com.current.nice.ccyfl               I  run patch service...
2024-08-30 14:19:14.178  1277-1389  ActivityManager         system_server                        I  Start proc 27187:com.current.nice.ccyfl:patch/u0a1540 for service {com.current.nice.ccyfl/com.tencent.tinker.lib.service.TinkerPatchForeService}
2024-08-30 14:19:14.328 27187-27187 Tinker.TinkerLoader     com.current.nice.ccyfl               D  tryLoad test test
2024-08-30 14:19:14.329 27187-27187 Tinker.TinkerLoader     com.current.nice.ccyfl               W  tryLoadPatchFiles: we don't load patch with :patch process itself, just return
2024-08-30 14:19:14.330 27187-27187 Tinker.DefaultAppLike   com.current.nice.ccyfl               D  onBaseContextAttached:
2024-08-30 14:19:14.335 27187-27187 Tinker.Sam...chListener com.current.nice.ccyfl               V  application maxMemory:256
2024-08-30 14:19:14.338 27187-27187 Tinker.Tinker           com.current.nice.ccyfl               W  tinker patch directory: /data/user/0/com.current.nice.ccyfl/tinker
2024-08-30 14:19:14.340 27187-27187 Tinker.Tinker           com.current.nice.ccyfl               I  try to install tinker, isEnable: true, version: 1.9.14.27
2024-08-30 14:19:14.340 27187-27187 Tinker.TinkerLoadResult com.current.nice.ccyfl               I  parseTinkerResult loadCode:-1, process name:com.current.nice.ccyfl:patch, main process:false, systemOTA:false, fingerPrint:OnePlus/OnePlus6T/OnePlus6T:10/QKQ1.190716.003/2107162031:user/release-keys, oatDir:null, useInterpretMode:false
2024-08-30 14:19:14.340 27187-27187 Tinker.TinkerLoadResult com.current.nice.ccyfl               W  tinker is disable, just return
2024-08-30 14:19:14.341 27187-27187 Tinker.Def...adReporter com.current.nice.ccyfl               I  patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.current.nice.ccyfl/tinker, code: -1, cost: 1ms
2024-08-30 14:19:14.341 27187-27187 Tinker.Tinker           com.current.nice.ccyfl               W  tinker load fail!
2024-08-30 14:19:14.343 27187-27187 Tinker.DefaultAppLike   com.current.nice.ccyfl               D  onCreate
2024-08-30 14:19:14.352 27187-27220 Tinker.Tin...tchService com.current.nice.ccyfl               I  for system version >= Android O, we just ignore increasingPriority job to avoid crash or toasts.
2024-08-30 14:19:14.353 27187-27187 Tinker.TinkerLoader     com.current.nice.ccyfl               D  [PendingLog @ 2024-08-30 14:19:14.328] tryLoad test test
2024-08-30 14:19:14.353 27187-27187 Tinker.TinkerLoader     com.current.nice.ccyfl               W  [PendingLog @ 2024-08-30 14:19:14.329] tryLoadPatchFiles: we don't load patch with :patch process itself, just return
2024-08-30 14:19:14.354 27187-27187 Tinker.DefaultAppLike   com.current.nice.ccyfl               D  [PendingLog @ 2024-08-30 14:19:14.330] onBaseContextAttached:
2024-08-30 14:19:14.354 27187-27220 Tinker.Def...chReporter com.current.nice.ccyfl               I  patchReporter onPatchServiceStart: patch service start
2024-08-30 14:19:14.354 27187-27187 Tinker.Upg...PatchRetry com.current.nice.ccyfl               W  onPatchRetryLoad retry is not main process, just return
2024-08-30 14:19:14.357 27187-27220 Tinker.Upg...PatchRetry com.current.nice.ccyfl               W  try copy file: /storage/emulated/0/patch.apk to /data/user/0/com.current.nice.ccyfl/tinker_temp/temp.apk
2024-08-30 14:19:14.412 27187-27220 Tinker.UpgradePatch     com.current.nice.ccyfl               I  UpgradePatch tryPatch:patchMd5:74e2aa29fb11ed8e6346416a2dcb1501
2024-08-30 14:19:14.412 27187-27220 Tinker.PatchInfo        com.current.nice.ccyfl               W  read property failed, e:java.io.FileNotFoundException: /data/user/0/com.current.nice.ccyfl/tinker/patch_meta.info: open failed: ENOENT (No such file or directory)
2024-08-30 14:19:14.413 27187-27220 Tinker.PatchInfo        com.current.nice.ccyfl               W  read property failed, e:java.io.FileNotFoundException: /data/user/0/com.current.nice.ccyfl/tinker/patch_meta.info: open failed: ENOENT (No such file or directory)
2024-08-30 14:19:14.413 27187-27220 Tinker.UpgradePatch     com.current.nice.ccyfl               I  UpgradePatch tryPatch:patchVersionDirectory:/data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29
2024-08-30 14:19:14.414 27187-27220 Tinker.UpgradePatch     com.current.nice.ccyfl               W  UpgradePatch copy patch file, src file: /storage/emulated/0/patch.apk size: 29889, dest file: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/patch-74e2aa29.apk size:29889
2024-08-30 14:19:16.351 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               W  success recover dex file: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/classes3.dex.jar, size: 1365485, use time: 1936
2024-08-30 14:19:19.807 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               W  success recover dex file: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/classes2.dex.jar, size: 3742251, use time: 3456
2024-08-30 14:19:21.682 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               W  success recover dex file: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/classes.dex.jar, size: 3904080, use time: 1874
2024-08-30 14:19:21.682 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  try Extracting /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/test.dex.jar
2024-08-30 14:19:21.684 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  isExtractionSuccessful: true
2024-08-30 14:19:22.030 27187-27220 Tinker.PatchFileUtil    com.current.nice.ccyfl               I  safeDeleteFile, try to delete path: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/test.dex.jar
2024-08-30 14:19:22.031 27187-27220 Tinker.PatchFileUtil    com.current.nice.ccyfl               I  safeDeleteFile, try to delete path: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/classes2.dex.jar
2024-08-30 14:19:22.033 27187-27220 Tinker.PatchFileUtil    com.current.nice.ccyfl               I  safeDeleteFile, try to delete path: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/classes3.dex.jar
2024-08-30 14:19:22.033 27187-27220 Tinker.PatchFileUtil    com.current.nice.ccyfl               I  safeDeleteFile, try to delete path: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/classes.dex.jar
2024-08-30 14:19:22.035 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  merge classN dex file /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/tinker_classN.apk, result: true, size: 23133061, use: 351ms
2024-08-30 14:19:22.035 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  legal files to do dexopt: [/data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/tinker_classN.apk]
2024-08-30 14:19:22.036 27187-27220 Tinker.TinkerInternals  com.current.nice.ccyfl               D  getCurrentInstructionSet:arm64
2024-08-30 14:19:22.036 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  patch recover, try to optimize dex file count:1, optimizeDexDirectory:/data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/odex/
2024-08-30 14:19:22.037 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  start to parallel optimize dex /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/tinker_classN.apk, size: 23133061
2024-08-30 14:19:22.037 27187-27220 Tinker.TinkerInternals  com.current.nice.ccyfl               I  class not found exception
2024-08-30 14:19:22.037 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  Creating fake odex path structure.
2024-08-30 14:19:22.374 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Hit target device, do dexopt logic now.
2024-08-30 14:19:22.374 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:22.377 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:22.378 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:22.378 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:22.378 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:25.382 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:25.382 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:25.383 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:25.385 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:25.385 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:25.387 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:25.387 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:28.391 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:28.392 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:28.392 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:28.394 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:28.395 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:28.397 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:28.398 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:31.401 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:31.403 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:31.404 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:31.407 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:31.408 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:31.410 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:31.410 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:34.415 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:34.418 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:34.420 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:34.425 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:34.427 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:34.431 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:34.433 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:37.438 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:37.441 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:37.442 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:37.447 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:37.449 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:37.452 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:37.454 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:40.460 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:40.463 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:40.464 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:40.469 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:40.471 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:40.474 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:40.476 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:43.481 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:43.484 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:43.486 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:43.491 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:43.493 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:43.496 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:43.498 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:46.503 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:46.506 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:46.508 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:46.512 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:46.514 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:46.518 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:46.520 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:49.525 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:49.529 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:49.530 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [compile, -f, --secondary-dex, -m, speed-profile, com.current.nice.ccyfl]
2024-08-30 14:19:49.534 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:49.537 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd, args: [bg-dexopt-job, com.current.nice.ccyfl]
2024-08-30 14:19:49.540 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] Execute shell cmd done.
2024-08-30 14:19:49.542 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               I  [+] performDexOptSecondaryByTransactionCode, code: 120
2024-08-30 14:19:52.547 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:52.550 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex does not exist after waiting for 1 times.
2024-08-30 14:19:52.560 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  Fail to call triggerPMDexOptAsyncOnDemand.  java.lang.IllegalStateException: No odex file was generated after calling performDexOptSecondary
                                                                                                        at com.tencent.tinker.loader.TinkerDexOptimizer.triggerPMDexOptOnDemand(SourceFile:297)
                                                                                                        at com.tencent.tinker.loader.TinkerDexOptimizer.access$400(SourceFile:68)
                                                                                                        at com.tencent.tinker.loader.TinkerDexOptimizer$OptimizeWorker$1.run(SourceFile:186)
                                                                                                        at com.tencent.tinker.loader.TinkerDexOptimizer$OptimizeWorker.run(SourceFile:202)
                                                                                                        at com.tencent.tinker.loader.TinkerDexOptimizer.optimizeAll(SourceFile:109)
                                                                                                        at com.tencent.tinker.loader.TinkerDexOptimizer.optimizeAll(SourceFile:84)
                                                                                                        at com.tencent.tinker.lib.patch.DexDiffPatchInternal.dexOptimizeDexFiles(SourceFile:394)
                                                                                                        at com.tencent.tinker.lib.patch.DexDiffPatchInternal.patchDexExtractViaDexDiff(SourceFile:201)
                                                                                                        at com.tencent.tinker.lib.patch.DexDiffPatchInternal.tryRecoverDexFiles(SourceFile:88)
                                                                                                        at com.tencent.tinker.lib.patch.UpgradePatch.tryPatch(SourceFile:178)
                                                                                                        at com.tencent.tinker.lib.service.TinkerPatchService.doApplyPatch(SourceFile:238)
                                                                                                        at com.tencent.tinker.lib.service.TinkerPatchService.onHandleIntent(SourceFile:114)
                                                                                                        at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78)
                                                                                                        at android.os.Handler.dispatchMessage(Handler.java:107)
                                                                                                        at android.os.Looper.loop(Looper.java:214)
                                                                                                        at android.os.HandlerThread.run(HandlerThread.java:67)
2024-08-30 14:19:53.564 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.vdex does not exist after waiting 1 time(s), wait again.
2024-08-30 14:19:55.569 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.vdex does not exist after waiting 2 time(s), wait again.
2024-08-30 14:19:59.571 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.vdex does not exist after waiting 3 time(s), wait again.
2024-08-30 14:20:07.575 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.vdex does not exist after waiting 4 time(s), wait again.
2024-08-30 14:20:10.004 26723-26723 Tinker.DefaultAppLike   com.current.nice.ccyfl               D  onTrimMemory level:20
2024-08-30 14:20:23.580 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.vdex does not exist after waiting 5 time(s), wait again.
2024-08-30 14:20:55.584 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               W  [!] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.vdex does not exist after waiting 6 time(s), wait again.
2024-08-30 14:20:55.587 27187-27220 Tinker.ParallelDex      com.current.nice.ccyfl               E  [-] File /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.vdex does not exist after waiting for 6 times.
2024-08-30 14:20:55.590 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  success to parallel optimize dex /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/tinker_classN.apk, opt file:/data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex, opt file size: 0, use time 93551
2024-08-30 14:20:55.591 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  recover dex result:true, cost:101176
2024-08-30 14:20:55.592 27187-27220 Tinker.BsD...chInternal com.current.nice.ccyfl               W  patch recover, library is not contained
2024-08-30 14:20:55.593 27187-27220 Tinker.Res...chInternal com.current.nice.ccyfl               W  patch recover, resource is not contained
2024-08-30 14:20:55.594 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  raw dex count: 4, dex opt dex count: 1, final wait times: 120
2024-08-30 14:20:55.636 27187-27220 Tinker.Dex...chInternal com.current.nice.ccyfl               I  check dex optimizer file exist: /data/user/0/com.current.nice.ccyfl/tinker/patch-74e2aa29/dex/oat/arm64/tinker_classN.odex, size 0
2024-08-30 14:20:55.640 27187-27220 Tinker.PatchInfo        com.current.nice.ccyfl               I  rewritePatchInfoFile file path:/data/user/0/com.current.nice.ccyfl/tinker/patch_meta.info , oldVer:, newVer:74e2aa29fb11ed8e6346416a2dcb1501, isProtectedApp:0, versionToRemove:, fingerprint:OnePlus/OnePlus6T/OnePlus6T:10/QKQ1.190716.003/2107162031:user/release-keys, oatDir:odex, isRemoveInterpretOATDir:0, stack: java.lang.Throwable
                                                                                                        at com.tencent.tinker.loader.shareutil.SharePatchInfo.rewritePatchInfoFile(SourceFile:203)
                                                                                                        at com.tencent.tinker.loader.shareutil.SharePatchInfo.rewritePatchInfoFileWithLock(SourceFile:106)
                                                                                                        at com.tencent.tinker.lib.patch.UpgradePatch.tryPatch(SourceFile:206)
                                                                                                        at com.tencent.tinker.lib.service.TinkerPatchService.doApplyPatch(SourceFile:238)
                                                                                                        at com.tencent.tinker.lib.service.TinkerPatchService.onHandleIntent(SourceFile:114)
                                                                                                        at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78)
                                                                                                        at android.os.Handler.dispatchMessage(Handler.java:107)
                                                                                                        at android.os.Looper.loop(Looper.java:214)
                                                                                                        at android.os.HandlerThread.run(HandlerThread.java:67)
2024-08-30 14:20:55.645 27187-27220 Tinker.Upg...PatchRetry com.current.nice.ccyfl               I  onPatchResetMaxCheck, reset max check to 1
2024-08-30 14:20:55.648 27187-27220 Tinker.UpgradePatch     com.current.nice.ccyfl               W  UpgradePatch tryPatch: done, it is ok
2024-08-30 14:20:55.648 27187-27220 Tinker.Def...chReporter com.current.nice.ccyfl               I  patchReporter onPatchResult: patch all result path: /storage/emulated/0/patch.apk, success: true, cost: 101272
2024-08-30 14:20:55.648 27187-27220 Tinker.PatchFileUtil    com.current.nice.ccyfl               I  safeDeleteFile, try to delete path: /data/user/0/com.current.nice.ccyfl/tinker_temp/temp.apk
2024-08-30 14:20:55.667 26723-27337 Tinker.Sam...ultService com.current.nice.ccyfl               V  SampleResultService receive result: 
                                                                                                    PatchResult: 
                                                                                                    isSuccess:true
                                                                                                    rawPatchFilePath:/storage/emulated/0/patch.apk
                                                                                                    useEmergencyMode:false
                                                                                                    costTime:101272
                                                                                                    dexoptTriggerTime:1724998762036
                                                                                                    isOatGenerated:true
                                                                                                    patchVersion:74e2aa29fb11ed8e6346416a2dcb1501
2024-08-30 14:20:55.673 26723-27337 Tinker.Def...ultService com.current.nice.ccyfl               W  deleteRawPatchFile rawFile path: /storage/emulated/0/patch.apk
2024-08-30 14:20:55.674 26723-27337 Tinker.PatchFileUtil    com.current.nice.ccyfl               I  safeDeleteFile, try to delete path: /storage/emulated/0/patch.apk
2024-08-30 14:20:55.675 26723-27337 Tinker.Sam...ultService com.current.nice.ccyfl               V  tinker wait screen to restart process
liangdong9676 commented 1 month ago

1.9.14.26最完美版本

fortune1992 commented 1 month ago

1.9.14.26最完美版本 我这个一加6T测试1.9.14.26还是耗时久,醉了。。。