Tencent / tinker

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

[runtime exception]patch onLoadPatchListenerReceiveFail #1454

Closed shileicts closed 4 years ago

shileicts commented 4 years ago

异常类型:app运行时异常

手机系统版本:Android Q

tinker版本:1.9.14.5

gradle版本:6.1.1

堆栈/日志: 08-24 22:30:59.442 1791 1791 I Tinker.SamplePatchListener: receive a patch file: /storage/emulated/0/patch_signed_7zip.apk, file size:4728 08-24 22:30:59.448 1791 1791 I Tinker.DefaultLoadReporter: patch loadReporter onLoadPatchListenerReceiveFail: patch receive fail: /storage/emulated/0/patch_signed_7zip.apk, code: -2

shileicts commented 4 years ago

maybe,the patch md5sum is null cause exception.