tinker icon indicating copy to clipboard operation
tinker copied to clipboard

小米10热更新无法生效

Open jupitar opened this issue 4 years ago • 0 comments

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

手机型号:如:小米10

手机系统版本:如:Android11.0

tinker版本:如: classpath "com.tencent.bugly:tinker-support:1.1.5" compile 'com.tencent.tinker:tinker-android-lib:1.9.9'

gradle版本:如:4.10.2

是否使用热更新SDK:这个不知道怎么描述,就用代码描述了( classpath "com.tencent.bugly:tinker-support:1.1.5" compile 'com.tencent.bugly:crashreport_upgrade:1.3.6' // 指定tinker依赖版本(注:应用升级1.3.5版本起,不再内置tinker) compile 'com.tencent.tinker:tinker-android-lib:1.9.9' compile 'com.tencent.bugly:nativecrashreport:latest.release' //其中latest.release指代最新版本号,也可以指定明确的版本号,例如2.2.0)

系统:如:win10

堆栈/日志: 2021-12-02 10:47:44.034 30771-30799/com.sunny.yjjh_management.debug W/CrashReport: task start com.tencent.bugly.proguard.t 2021-12-02 10:47:44.070 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [Upload] Bugly version from headers is: bugly/1.0 2021-12-02 10:47:44.071 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [Upload] Status from server is 0 (pid=30771 | tid=30801). 2021-12-02 10:47:44.071 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [Upload] Received 129 bytes 2021-12-02 10:47:44.074 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [Util] Unzip 113 bytes data with type Gzip 2021-12-02 10:47:44.075 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [Upload] Response cmd is: 0, length of sBuffer is: 0 2021-12-02 10:47:44.075 30771-30801/com.sunny.yjjh_management.debug I/CrashReport: [Upload] Success: 803 2021-12-02 10:47:44.077 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [UploadManager] Local network consume: 13 KB 2021-12-02 10:47:44.081 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [Database] deleted t_lr data 1 2021-12-02 10:47:44.082 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [Database] insert t_lr success. 2021-12-02 10:47:44.082 30771-30801/com.sunny.yjjh_management.debug D/CrashReport: [UploadManager] Network total consume: 14 KB 2021-12-02 10:47:44.082 30771-30801/com.sunny.yjjh_management.debug I/CrashReport: upload succ:[803] [sended 818] [recevied 129] 2021-12-02 10:47:44.916 30771-31002/com.sunny.yjjh_management.debug D/CrashReport: [Database] insert dl_1002 success. 2021-12-02 10:47:44.930 30771-31002/com.sunny.yjjh_management.debug D/CrashReport: [Database] insert dl_1002 success. 2021-12-02 10:47:44.930 30771-30771/com.sunny.yjjh_management.debug I/CrashReport: patch download success !!! 2021-12-02 10:47:44.932 30771-30771/com.sunny.yjjh_management.debug D/CrashReport: copy /data/user/0/com.sunny.yjjh_management.debug/app_tmpPatch/13617d51-1ec2-4375-a792-9c96d137491c_cbf1774802d9f56cd00e569d1e122040.zip to /data/user/0/com.sunny.yjjh_management.debug/app_tmpPatch/tmpPatch.apk success! 2021-12-02 10:47:44.932 30771-30771/com.sunny.yjjh_management.debug D/CrashReport: delete temp file 2021-12-02 10:47:45.993 30771-30771/com.sunny.yjjh_management.debug I/CrashReport: Tinker patch failure, result: PatchResult: isSuccess:false rawPatchFilePath:/data/user/0/com.sunny.yjjh_management.debug/tinker_temp/temp.apk costTime:2 在安卓10上也是同样的问题,能下载补丁包,但是无法生效。日志同上。麻烦帮忙看下。

jupitar avatar Dec 02 '21 02:12 jupitar