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

tinkerId is not equal #1565

Closed srxffcc1 closed 3 years ago

srxffcc1 commented 3 years ago

异常类型:app运行时异常

手机型号:如:OnePlus

手机系统版本:如:Android 5.0 (如是编译异常,则可以不填)

tinker版本:如:1.9.14.16

gradle版本:如:3.6.1

是否使用热更新SDK: Bugly SDK

系统:如:Windows

堆栈/日志: 2021-05-22 11:40:55.800 1617-11935/? I/CrashReport: onUpgradeReceived: title: newFeature: 39003 publishTime: 0 publishType: 0 appBasicInfo: { appId: bfb74e8130 platformId: 1 versionCode: 0 versionName: null buildNo: 0 iconUrl: null apkId: 0 channelId: null md5: 8ad940a6d8827d6699cfe206917ebbcb840eb5f5 sdkVer: bundleId: null } apkBaseInfo: { apkMd5: 8ad940a6d8827d6699cfe206917ebbcb840eb5f5 apkUrl: https://outexp-beta.cdn.qq.com/outbeta/hotpatch/bfb74e8130/2021/05/843a0d37-5ee3-4e9e-af83-7d74e70c462f_5df921c41a94c44dfb2f60f63bfd86b9.zip manifestMd5: fileSize: 18641 signatureMd5: } updateStrategy: 0 popTimes: 0 popInterval: 0 diffApkInfo: { null} netType: null reserved: 1, { ( H2 3 ) } strategyId: 6ee24c15-d472-4ff9-9d3f-0b9f7d0bf911 status: 1 updateTime: 1621653449000 updateType: 3 [type: 3] 2021-05-22 11:40:55.801 1617-11935/? W/CrashReport: task start com.tencent.bugly.proguard.w 2021-05-22 11:40:55.802 1617-1617/? I/CrashReport: 补丁下载地址https://outexp-beta.cdn.qq.com/outbeta/hotpatch/bfb74e8130/2021/05/843a0d37-5ee3-4e9e-af83-7d74e70c462f_5df921c41a94c44dfb2f60f63bfd86b9.zip

2021-05-22 11:40:57.017 12203-12273/? E/Tinker.TinkerInternals: tinkerId is not equal, base is 3.9.0.0-base, but patch is 3.2.1.1-base

问题描述 确认下载的补丁是3.9.0.0-base 且APP也是3.9.0.0-base的 且清理过缓存 不存在多个补丁的干扰 但是无法应用成功

srxffcc1 commented 3 years ago

解压补丁文件 检查 YAPATCH 文件 和 assets下的 package_meta 文件里的版本号是不是一致 会存在缓存问题 我就先关闭了

AuroraGood666 commented 1 year ago

你好,这个问题解决了吗,我也遇到这样的问题