Tencent / tinker

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

华为P30 Android10 上合并补丁包失败 #1386

Closed taofaqi closed 4 years ago

taofaqi commented 4 years ago

tinker版本:1.9.9 TinkerPatch SDK gradle版本:gradle-4.10.1-all 手机:华为P30 Android10 版本号10.0.195 使用了AndResGuard混淆资源。 问题:补丁包生成了,在华为Nova android9上补丁包合并成功,但是在华为P30 android10上合并失败。以下是出错Log: 2020-04-27 13:51:18.462 13643-13681/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.ttpc.bidding_hall/tinker/patch-3ae08ae7/res/res_temp/r/o/il.png 2020-04-27 13:51:18.462 13643-13681/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.ttpc.bidding_hall/tinker/patch-3ae08ae7/res/res_temp/r/o/im.png 2020-04-27 13:51:18.462 13643-13681/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.ttpc.bidding_hall/tinker/patch-3ae08ae7/res/res_temp/r/o 2020-04-27 13:51:18.462 13643-13681/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.ttpc.bidding_hall/tinker/patch-3ae08ae7/res/res_temp/r 2020-04-27 13:51:18.462 13643-13681/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.ttpc.bidding_hall/tinker/patch-3ae08ae7/res/res_temp/resources.arsc 2020-04-27 13:51:18.462 13643-13681/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.ttpc.bidding_hall/tinker/patch-3ae08ae7/res/res_temp 2020-04-27 13:51:18.465 13643-13681/? I/Tinker.ResDiffPatchInternal: final new resource file:/data/user/0/com.ttpc.bidding_hall/tinker/patch-3ae08ae7/res/resources.apk, entry count:2109, size:7637847 2020-04-27 13:51:18.465 13643-13681/? I/Tinker.ResDiffPatchInternal: recover resource result:true, cost:1236 2020-04-27 13:51:18.465 13643-13681/? I/Tinker.DexDiffPatchInternal: raw dex count: 4, dex opt dex count: 1, final wait times: 120 2020-04-27 13:51:18.465 13643-13681/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 1 times 2020-04-27 13:51:28.507 13643-13681/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 2 times 2020-04-27 13:51:38.548 13643-13681/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 3 times 2020-04-27 13:51:48.588 13643-13681/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 4 times 2020-04-27 13:51:58.628 13643-13681/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 5 times 2020-04-27 13:52:08.659 13643-13681/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 6 times 2020-04-27 13:52:18.700 13643-13681/? E/Tinker.DexDiffPatchInternal: parallel dex optimizer file tinker_classN.odex is not exist, just wait 7 times

xiaopanwei commented 4 years ago

我也遇到了这个问题,使用vivo手机就没有问题,这是为什么呢?

chrisLeeCreate commented 4 years ago

我的android 10 也都合成成功,但是没有生效。 android 8,android 9 都可以