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

Tinker.DefaultLoadReporter: patch loadReporter onLoadException: tinker dex check fail:Tinker Exception:checkDexInstall failed #1559

Open ruimingde opened 3 years ago

ruimingde commented 3 years ago

Issue/提问须知

在提交issue之前,我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式:


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

手机型号:Redmi Note 7

手机系统版本:Android 9.0

tinker版本:1.9.14.10

gradle版本:3.4.2

是否使用热更新SDK: Bugly SDK

堆栈/日志:
2021-05-19 16:11:19.601 6648-6648/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:11:22.439 11690-11690/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:11:22.440 11690-11690/? W/Tinker.TinkerLoader: tryLoadPatchFiles:patch info not exist:/data/user/0/com.nd.bugly/tinker/patch.info
2021-05-19 16:11:22.440 11690-11690/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:11:22.444 11690-11690/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:11:22.445 11690-11690/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:11:22.446 11690-11690/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:11:22.446 11690-11690/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-3, process name:com.nd.bugly, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false
2021-05-19 16:11:22.446 11690-11690/? W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
2021-05-19 16:11:22.446 11690-11690/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -3, cost: 1ms
2021-05-19 16:11:22.446 11690-11690/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:11:22.453 11690-11690/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:11:22.461 11690-11690/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@99c5bfc
2021-05-19 16:11:22.476 11690-11690/? W/CrashReport: [patch] tinker new id is null ,so patch version is invalid
2021-05-19 16:11:22.477 11690-11690/? I/CrashReport: TINKER_ID:v1.0.3-base
2021-05-19 16:11:22.477 11690-11690/? I/CrashReport: NEW_TINKER_ID:
2021-05-19 16:11:22.665 11690-11690/? D/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:11:22.439] tryLoad test test
2021-05-19 16:11:22.665 11690-11690/? W/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:11:22.440] tryLoadPatchFiles:patch info not exist:/data/user/0/com.nd.bugly/tinker/patch.info
2021-05-19 16:11:22.665 11690-11690/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:11:22.440] onBaseContextAttached:
2021-05-19 16:11:22.776 11690-11690/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad patch file: /data/user/0/com.nd.bugly/tinker_temp/temp.apk is not exist, just return
2021-05-19 16:11:25.534 11690-11710/? D/CrashReport: app version is: [1.0.1.101], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.3-base], patch tinkerId:[], patch version:[], strategyType:[0]
2021-05-19 16:14:11.895 11690-11690/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:14:28.158 11814-11814/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:14:28.160 11814-11814/? W/Tinker.TinkerLoader: tryLoadPatchFiles:patch info not exist:/data/user/0/com.nd.bugly/tinker/patch.info
2021-05-19 16:14:28.160 11814-11814/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:14:28.162 11814-11814/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:14:28.163 11814-11814/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:14:28.163 11814-11814/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:14:28.164 11814-11814/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-3, process name:com.nd.bugly, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false
2021-05-19 16:14:28.164 11814-11814/? W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
2021-05-19 16:14:28.164 11814-11814/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -3, cost: 2ms
2021-05-19 16:14:28.164 11814-11814/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:14:28.170 11814-11814/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:14:28.178 11814-11814/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@99c5bfc
2021-05-19 16:14:28.194 11814-11814/? W/CrashReport: [patch] tinker new id is null ,so patch version is invalid
2021-05-19 16:14:28.195 11814-11814/? I/CrashReport: TINKER_ID:v1.0.3-base
2021-05-19 16:14:28.195 11814-11814/? I/CrashReport: NEW_TINKER_ID:
2021-05-19 16:14:28.338 11814-11814/? D/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:14:28.158] tryLoad test test
2021-05-19 16:14:28.338 11814-11814/? W/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:14:28.160] tryLoadPatchFiles:patch info not exist:/data/user/0/com.nd.bugly/tinker/patch.info
2021-05-19 16:14:28.339 11814-11814/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:14:28.160] onBaseContextAttached:
2021-05-19 16:14:28.449 11814-11814/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad patch file: /data/user/0/com.nd.bugly/tinker_temp/temp.apk is not exist, just return
2021-05-19 16:14:31.231 11814-11836/? D/CrashReport: app version is: [1.0.1.101], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.3-base], patch tinkerId:[], patch version:[], strategyType:[0]
2021-05-19 16:14:40.377 11814-11814/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:14:49.612 11814-11814/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:14:53.184 12004-12004/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:14:53.186 12004-12004/? W/Tinker.TinkerLoader: tryLoadPatchFiles:patch info not exist:/data/user/0/com.nd.bugly/tinker/patch.info
2021-05-19 16:14:53.186 12004-12004/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:14:53.188 12004-12004/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:14:53.189 12004-12004/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:14:53.189 12004-12004/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:14:53.189 12004-12004/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-3, process name:com.nd.bugly, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false
2021-05-19 16:14:53.189 12004-12004/? W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
2021-05-19 16:14:53.190 12004-12004/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -3, cost: 2ms
2021-05-19 16:14:53.190 12004-12004/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:14:53.196 12004-12004/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:14:53.204 12004-12004/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@99c5bfc
2021-05-19 16:14:53.225 12004-12004/? W/CrashReport: [patch] tinker new id is null ,so patch version is invalid
2021-05-19 16:14:53.227 12004-12004/? I/CrashReport: TINKER_ID:v1.0.3-base
2021-05-19 16:14:53.227 12004-12004/? I/CrashReport: NEW_TINKER_ID:
2021-05-19 16:14:53.378 12004-12004/? D/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:14:53.184] tryLoad test test
2021-05-19 16:14:53.378 12004-12004/? W/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:14:53.186] tryLoadPatchFiles:patch info not exist:/data/user/0/com.nd.bugly/tinker/patch.info
2021-05-19 16:14:53.378 12004-12004/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:14:53.186] onBaseContextAttached:
2021-05-19 16:14:53.392 12004-12004/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad patch file: /data/user/0/com.nd.bugly/tinker_temp/temp.apk is not exist, just return
2021-05-19 16:14:56.288 12004-12024/? D/CrashReport: app version is: [1.0.1.101], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.3-base], patch tinkerId:[], patch version:[], strategyType:[0]
2021-05-19 16:14:56.503 12004-12023/? V/Tinker.PatchRequestCallback: TinkerPatchRequestCallback: onPatchRollback, tinker is not loaded, just return
2021-05-19 16:20:22.538 12004-12004/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:20:36.497 4347-13205/? W/System.err: android.content.pm.PackageManager$NameNotFoundException: com.tinkerpatch.easy_sample
2021-05-19 16:20:36.502 4347-4574/? E/AppOpsAdapter:  doApplyAppPermissionConfig error 
    android.content.pm.PackageManager$NameNotFoundException: com.tinkerpatch.easy_sample
        at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:183)
        at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:153)
        at com.lbe.security.service.provider.internal.AppOpsAdapter$AppOpsAdapterHandler.doApplyAppPermissionConfig(Unknown Source:30)
        at com.lbe.security.service.provider.internal.AppOpsAdapter$AppOpsAdapterHandler.handleMessage(Unknown Source:112)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:201)
        at android.os.HandlerThread.run(HandlerThread.java:65)
2021-05-19 16:20:36.910 13233-13233/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:20:36.913 13233-13233/? W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/user/0/com.nd.bugly/tinker
2021-05-19 16:20:36.914 13233-13233/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:20:36.918 13233-13233/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:20:36.921 13233-13233/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:20:36.921 13233-13233/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:20:36.922 13233-13233/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2, process name:com.nd.bugly, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false
2021-05-19 16:20:36.922 13233-13233/? W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
2021-05-19 16:20:36.922 13233-13233/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -2, cost: 3ms
2021-05-19 16:20:36.922 13233-13233/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:20:36.932 13233-13233/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:20:36.944 13233-13233/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@99c5bfc
2021-05-19 16:20:36.972 13233-13233/? W/CrashReport: [patch] tinker new id is null ,so patch version is invalid
2021-05-19 16:20:36.973 13233-13233/? I/CrashReport: TINKER_ID:v1.0.5-base
2021-05-19 16:20:36.973 13233-13233/? I/CrashReport: NEW_TINKER_ID:
2021-05-19 16:20:37.165 13233-13233/? D/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:20:36.910] tryLoad test test
2021-05-19 16:20:37.165 13233-13233/? W/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:20:36.913] tryLoadPatchFiles:patch dir not exist:/data/user/0/com.nd.bugly/tinker
2021-05-19 16:20:37.165 13233-13233/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:20:36.914] onBaseContextAttached:
2021-05-19 16:20:37.228 13233-13233/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry info not exist, just return
2021-05-19 16:20:40.011 13233-13270/? D/CrashReport: app version is: [1.0.5.105], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.5-base], patch tinkerId:[], patch version:[], strategyType:[0]
2021-05-19 16:21:02.916 13233-13233/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:21:07.958 13515-13515/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:21:07.960 13515-13515/? W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/user/0/com.nd.bugly/tinker
2021-05-19 16:21:07.961 13515-13515/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:21:07.963 13515-13515/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:21:07.964 13515-13515/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:21:07.964 13515-13515/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:21:07.964 13515-13515/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2, process name:com.nd.bugly, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false
2021-05-19 16:21:07.965 13515-13515/? W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
2021-05-19 16:21:07.965 13515-13515/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -2, cost: 2ms
2021-05-19 16:21:07.965 13515-13515/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:21:07.971 13515-13515/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:21:07.979 13515-13515/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@1953dce
2021-05-19 16:21:08.002 13515-13515/? W/CrashReport: [patch] tinker new id is null ,so patch version is invalid
2021-05-19 16:21:08.003 13515-13515/? I/CrashReport: TINKER_ID:v1.0.5-base
2021-05-19 16:21:08.003 13515-13515/? I/CrashReport: NEW_TINKER_ID:
2021-05-19 16:21:08.149 13515-13515/? D/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:21:07.958] tryLoad test test
2021-05-19 16:21:08.149 13515-13515/? W/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:21:07.960] tryLoadPatchFiles:patch dir not exist:/data/user/0/com.nd.bugly/tinker
2021-05-19 16:21:08.149 13515-13515/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:21:07.961] onBaseContextAttached:
2021-05-19 16:21:08.257 13515-13515/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry info not exist, just return
2021-05-19 16:21:11.033 13515-13537/? D/CrashReport: app version is: [1.0.5.105], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.5-base], patch tinkerId:[], patch version:[], strategyType:[0]
2021-05-19 16:21:26.966 13515-13515/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:21:30.321 13588-13588/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:21:30.322 13588-13588/? W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/user/0/com.nd.bugly/tinker
2021-05-19 16:21:30.323 13588-13588/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:21:30.324 13588-13588/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:21:30.325 13588-13588/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:21:30.326 13588-13588/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:21:30.326 13588-13588/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2, process name:com.nd.bugly, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false
2021-05-19 16:21:30.326 13588-13588/? W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
2021-05-19 16:21:30.326 13588-13588/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -2, cost: 1ms
2021-05-19 16:21:30.326 13588-13588/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:21:30.332 13588-13588/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:21:30.340 13588-13588/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@99c5bfc
2021-05-19 16:21:30.357 13588-13588/? W/CrashReport: [patch] tinker new id is null ,so patch version is invalid
2021-05-19 16:21:30.357 13588-13588/? I/CrashReport: TINKER_ID:v1.0.5-base
2021-05-19 16:21:30.358 13588-13588/? I/CrashReport: NEW_TINKER_ID:
2021-05-19 16:21:30.518 13588-13588/? D/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:21:30.321] tryLoad test test
2021-05-19 16:21:30.518 13588-13588/? W/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:21:30.322] tryLoadPatchFiles:patch dir not exist:/data/user/0/com.nd.bugly/tinker
2021-05-19 16:21:30.518 13588-13588/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:21:30.322] onBaseContextAttached:
2021-05-19 16:21:30.614 13588-13588/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry info not exist, just return
2021-05-19 16:21:33.414 13588-13608/? D/CrashReport: app version is: [1.0.5.105], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.5-base], patch tinkerId:[], patch version:[], strategyType:[0]
2021-05-19 16:21:38.945 13588-13588/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:26:59.030 13858-13858/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:26:59.031 13858-13858/? W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/user/0/com.nd.bugly/tinker
2021-05-19 16:26:59.032 13858-13858/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:26:59.034 13858-13858/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:26:59.034 13858-13858/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:26:59.035 13858-13858/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:26:59.035 13858-13858/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2, process name:com.nd.bugly, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false
2021-05-19 16:26:59.035 13858-13858/? W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
2021-05-19 16:26:59.035 13858-13858/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -2, cost: 2ms
2021-05-19 16:26:59.035 13858-13858/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:26:59.042 13858-13858/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:26:59.050 13858-13858/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@99c5bfc
2021-05-19 16:26:59.064 13858-13858/? W/CrashReport: [patch] tinker new id is null ,so patch version is invalid
2021-05-19 16:26:59.065 13858-13858/? I/CrashReport: TINKER_ID:v1.0.5-base
2021-05-19 16:26:59.065 13858-13858/? I/CrashReport: NEW_TINKER_ID:
2021-05-19 16:26:59.188 13858-13858/? D/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:26:59.030] tryLoad test test
2021-05-19 16:26:59.188 13858-13858/? W/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:26:59.031] tryLoadPatchFiles:patch dir not exist:/data/user/0/com.nd.bugly/tinker
2021-05-19 16:26:59.189 13858-13858/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:26:59.032] onBaseContextAttached:
2021-05-19 16:26:59.261 13858-13858/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry info not exist, just return
2021-05-19 16:27:02.097 13858-13883/? D/CrashReport: app version is: [1.0.5.105], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.5-base], patch tinkerId:[], patch version:[], strategyType:[0]
2021-05-19 16:27:02.867 13858-13858/? V/Tinker.TinkerManager: onDownloadSuccess.
2021-05-19 16:27:02.872 13858-13858/? V/Tinker.TinkerManager: check if has new patch.
2021-05-19 16:27:02.882 13858-13858/? V/Tinker.TinkerManager: has new patch.
2021-05-19 16:27:02.883 13858-13858/? V/Tinker.TinkerManager: starting patch.
2021-05-19 16:27:02.885 13858-13858/? V/Tinker.TinkerPatchListener: receive a patch file: /data/user/0/com.nd.bugly/app_tmpPatch/tmpPatch.apk, file size:5067
2021-05-19 16:27:02.893 13858-13858/? W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.nd.bugly/tinker/patch.info (No such file or directory)
2021-05-19 16:27:02.893 13858-13858/? W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.nd.bugly/tinker/patch.info (No such file or directory)
2021-05-19 16:27:02.893 13858-13858/? W/Tinker.UpgradePatchRetry: onPatchListenerCheck retry file is not exist, just return
2021-05-19 16:27:02.895 13858-13858/? V/Tinker.TinkerPatchListener: get platform:null
2021-05-19 16:27:02.900 13858-13858/? I/Tinker.TinkerPatchService: run patch service...
2021-05-19 16:27:02.941 2260-2333/? D/Boost: hostingType=service, hostingName=com.nd.bugly/com.tencent.tinker.lib.service.TinkerPatchForeService, callerPackage=com.nd.bugly, isSystem=false, isBoostNeeded=false.
2021-05-19 16:27:02.944 2260-2333/? I/ActivityManager: Start proc 13912:com.nd.bugly:patch/u0a579 for service com.nd.bugly/com.tencent.tinker.lib.service.TinkerPatchForeService caller=com.nd.bugly
2021-05-19 16:27:03.103 13912-13912/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:27:03.105 13912-13912/? W/Tinker.TinkerLoader: tryLoadPatchFiles: we don't load patch with :patch process itself, just return
2021-05-19 16:27:03.106 13912-13912/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:27:03.111 13912-13912/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:27:03.113 13912-13912/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:27:03.115 13912-13912/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:27:03.115 13912-13912/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-1, process name:com.nd.bugly:patch, main process:false, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:null, useInterpretMode:false
2021-05-19 16:27:03.115 13912-13912/? W/Tinker.TinkerLoadResult: tinker is disable, just return
2021-05-19 16:27:03.115 13912-13912/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -1, cost: 3ms
2021-05-19 16:27:03.116 13912-13912/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:27:03.122 13912-13912/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:27:03.143 13912-13912/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@b93e2d0
2021-05-19 16:27:03.167 13912-13936/? I/Tinker.TinkerPatchService: for system version >= Android O, we just ignore increasingPriority job to avoid crash or toasts.
2021-05-19 16:27:03.168 13912-13936/? I/Tinker.DefaultPatchReporter: patchReporter onPatchServiceStart: patch service start
2021-05-19 16:27:03.170 13912-13936/? W/Tinker.UpgradePatchRetry: try copy file: /data/user/0/com.nd.bugly/app_tmpPatch/tmpPatch.apk to /data/user/0/com.nd.bugly/tinker_temp/temp.apk
2021-05-19 16:27:03.172 13912-13912/? D/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:27:03.103] tryLoad test test
2021-05-19 16:27:03.172 13912-13912/? W/Tinker.TinkerLoader: [PendingLog @ 2021-05-19 16:27:03.105] tryLoadPatchFiles: we don't load patch with :patch process itself, just return
2021-05-19 16:27:03.172 13912-13912/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:27:03.106] onBaseContextAttached:
2021-05-19 16:27:03.173 13912-13912/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry is not main process, just return
2021-05-19 16:27:03.209 13912-13936/? I/Tinker.UpgradePatch: UpgradePatch tryPatch:patchMd5:6883d7c9ffea855edd0a5e2d14ce206c
2021-05-19 16:27:03.211 13912-13936/? W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.nd.bugly/tinker/patch.info (No such file or directory)
2021-05-19 16:27:03.212 13912-13936/? W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/com.nd.bugly/tinker/patch.info (No such file or directory)
2021-05-19 16:27:03.212 13912-13936/? I/Tinker.UpgradePatch: UpgradePatch tryPatch:patchVersionDirectory:/data/user/0/com.nd.bugly/tinker/patch-6883d7c9
2021-05-19 16:27:03.218 13912-13936/? W/Tinker.UpgradePatch: UpgradePatch copy patch file, src file: /data/user/0/com.nd.bugly/app_tmpPatch/tmpPatch.apk size: 5067, dest file: /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/patch-6883d7c9.apk size:5067
2021-05-19 16:27:04.871 13912-13936/? W/Tinker.DexDiffPatchInternal: success recover dex file: /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/classes.dex.jar, size: 2028774, use time: 1650
2021-05-19 16:27:04.871 13912-13936/? I/Tinker.DexDiffPatchInternal: try Extracting /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/test.dex.jar
2021-05-19 16:27:04.873 13912-13936/? I/Tinker.DexDiffPatchInternal: isExtractionSuccessful: true
2021-05-19 16:27:04.964 13912-13936/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/test.dex.jar
2021-05-19 16:27:04.964 13912-13936/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/classes.dex.jar
2021-05-19 16:27:04.965 13912-13936/? I/Tinker.DexDiffPatchInternal: merge classN dex file /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk, result: true, size: 4833649, use: 92ms
2021-05-19 16:27:04.965 13912-13936/? I/Tinker.DexDiffPatchInternal: legal files to do dexopt: [/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk]
2021-05-19 16:27:04.966 13912-13936/? D/Tinker.TinkerInternals: getCurrentInstructionSet:arm
2021-05-19 16:27:04.967 13912-13936/? I/Tinker.DexDiffPatchInternal: patch recover, try to optimize dex file count:1, optimizeDexDirectory:/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/odex/
2021-05-19 16:27:04.967 13912-13936/? I/Tinker.DexDiffPatchInternal: start to parallel optimize dex /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk, size: 4833649
2021-05-19 16:27:04.967 13912-13936/? I/Tinker.TinkerInternals: class not found exception
2021-05-19 16:27:05.093 13948-13948/? I/dex2oat: /system/bin/dex2oat -j6 --dex-file=/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk --output-vdex-fd=59 --oat-fd=63 --oat-location=/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/oat/arm/tinker_classN.odex --compiler-filter=quicken --class-loader-context=&
2021-05-19 16:27:05.681 13912-13936/? W/Tinker.ParallelDex: [+] Not API 29 device, skip fixing.
2021-05-19 16:27:05.681 13912-13936/? I/Tinker.DexDiffPatchInternal: success to parallel optimize dex /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk, opt file:/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/oat/arm/tinker_classN.odex, opt file size: 90536, use time 714
2021-05-19 16:27:05.681 13912-13936/? I/Tinker.DexDiffPatchInternal: recover dex result:true, cost:2461
2021-05-19 16:27:05.681 13912-13936/? W/Tinker.BsDiffPatchInternal: patch recover, library is not contained
2021-05-19 16:27:05.682 13912-13936/? I/Tinker.ResDiffPatchInternal: res dir: /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/res/, meta: resArscMd5:50004b998cfeab86a7336398f7e40c8f
    arscBaseCrc:881376266
    pattern:resources\.arsc
    pattern:r/.*
    pattern:assets/.*
    pattern:res/.*
    addedSet:assets/only_use_to_test_tinker_resource.txt
    modifiedSet:res/layout/activity_main.xml
2021-05-19 16:27:05.682 13912-13936/? I/Tinker.ResDiffPatchInternal: no large modify or store resources, just return
2021-05-19 16:27:05.836 13912-13936/? I/Tinker.ResDiffPatchInternal: final new resource file:/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/res/resources.apk, entry count:677, size:945113
2021-05-19 16:27:05.836 13912-13936/? I/Tinker.ResDiffPatchInternal: recover resource result:true, cost:155
2021-05-19 16:27:05.836 13912-13936/? I/Tinker.DexDiffPatchInternal: raw dex count: 2, dex opt dex count: 1, final wait times: 60
2021-05-19 16:27:05.838 13912-13936/? I/Tinker.DexDiffPatchInternal: check dex optimizer file exist: /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/oat/arm/tinker_classN.odex, size 90536
2021-05-19 16:27:05.838 13912-13936/? I/Tinker.DexDiffPatchInternal: check dex optimizer file format: tinker_classN.odex, size 90536
2021-05-19 16:27:05.839 13912-13936/? I/Tinker.PatchInfo: rewritePatchInfoFile file path:/data/user/0/com.nd.bugly/tinker/patch.info , oldVer:, newVer:6883d7c9ffea855edd0a5e2d14ce206c, isProtectedApp:0, isRemoveNewVersion:0, fingerprint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:odex, isRemoveInterpretOATDir:0
2021-05-19 16:27:05.840 13912-13936/? I/Tinker.UpgradePatchRetry: onPatchResetMaxCheck, reset max check to 1
2021-05-19 16:27:05.840 13912-13936/? W/Tinker.UpgradePatch: UpgradePatch tryPatch: done, it is ok
2021-05-19 16:27:05.840 13912-13936/? I/Tinker.DefaultPatchReporter: patchReporter onPatchResult: patch all result path: /data/user/0/com.nd.bugly/app_tmpPatch/tmpPatch.apk, success: true, cost: 2655
2021-05-19 16:27:05.841 13912-13936/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.nd.bugly/tinker_temp/temp.apk
2021-05-19 16:27:05.848 13858-13960/? V/Tinker.TinkerResultService: TinkerResultService receive result: 
    PatchResult: 
    isSuccess:true
    rawPatchFilePath:/data/user/0/com.nd.bugly/app_tmpPatch/tmpPatch.apk
    costTime:2655
    dexoptTriggerTime:1621412824967
    isOatGenerated:true
    patchVersion:6883d7c9ffea855edd0a5e2d14ce206c
2021-05-19 16:27:05.853 13858-13960/? W/Tinker.DefaultTinkerResultService: deleteRawPatchFile rawFile path: /data/user/0/com.nd.bugly/app_tmpPatch/tmpPatch.apk
2021-05-19 16:27:05.853 13858-13858/? I/CrashReport: Tinker patch success, result: 
    PatchResult: 
    isSuccess:true
    rawPatchFilePath:/data/user/0/com.nd.bugly/app_tmpPatch/tmpPatch.apk
    costTime:2655
    dexoptTriggerTime:1621412824967
    isOatGenerated:true
    patchVersion:6883d7c9ffea855edd0a5e2d14ce206c
2021-05-19 16:27:05.856 13858-13960/? I/Tinker.PatchFileUtil: safeDeleteFile, try to delete path: /data/user/0/com.nd.bugly/app_tmpPatch/tmpPatch.apk
2021-05-19 16:27:05.857 13858-13960/? V/Tinker.TinkerResultService: tinker wait screen to restart process
2021-05-19 16:27:39.538 13979-13979/? D/Tinker.TinkerLoader: tryLoad test test
2021-05-19 16:27:39.551 13979-13979/? I/Tinker.TinkerInternals: class not found exception
2021-05-19 16:27:39.552 13979-13979/? D/Tinker.TinkerInternals: getCurrentInstructionSet:arm
2021-05-19 16:27:39.553 13979-13979/? W/Tinker.TinkerLoader: tryLoadPatchFiles:isEnabledForResource:true
2021-05-19 16:27:39.554 13979-13979/? D/Tinker.TinkerInternals: same fingerprint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys
2021-05-19 16:27:39.555 13979-13979/? W/Tinker.TinkerInternals: getSafeModeCount: recFileName:safemode_count_rec_com.nd.bugly failed, return 0 instead.
2021-05-19 16:27:39.556 13979-13979/? I/Tinker.TinkerInternals: setSafeModeCount: count: 1
2021-05-19 16:27:39.556 13979-13979/? I/Tinker.TinkerDexLoader: classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/base.apk"],nativeLibraryDirectories=[/data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/lib/arm, /data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/base.apk!/lib/armeabi-v7a, /system/lib]]]
2021-05-19 16:27:39.556 13979-13979/? I/Tinker.TinkerDexLoader: verify dex file:/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk md5, use time: 0
2021-05-19 16:27:39.556 13979-13979/? I/Tinker.ClassLoaderAdder: installDexes dexOptDir: /data/user/0/com.nd.bugly/tinker/patch-6883d7c9/odex, dex size:1
2021-05-19 16:27:39.560 13979-13979/? I/Tinker.ClassLoaderAdder: after loaded classloader: dalvik.system.DelegateLastClassLoader[DexPathList[[zip file "/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk"],nativeLibraryDirectories=[/data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/lib/arm, /data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/base.apk!/lib/armeabi-v7a, /system/lib]]], dex size:1
2021-05-19 16:27:39.560 13979-13979/? W/Tinker.ClassLoaderAdder: checkDexInstall result:false
2021-05-19 16:27:39.560 13979-13979/? E/Tinker.TinkerDexLoader: install dexes failed
2021-05-19 16:27:39.560 13979-13979/? W/Tinker.TinkerLoader: tryLoadPatchFiles:onPatchLoadDexesFail
2021-05-19 16:27:39.562 13979-13979/? D/Tinker.DefaultAppLike: onBaseContextAttached:
2021-05-19 16:27:39.565 13979-13979/? V/Tinker.TinkerPatchListener: application maxMemory:256
2021-05-19 16:27:39.568 13979-13979/? W/Tinker.Tinker: tinker patch directory: /data/user/0/com.nd.bugly/tinker
2021-05-19 16:27:39.568 13979-13979/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.10
2021-05-19 16:27:39.569 13979-13979/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-14, process name:com.nd.bugly, main process:true, systemOTA:false, fingerPrint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:odex, useInterpretMode:false
2021-05-19 16:27:39.569 13979-13979/? I/Tinker.TinkerLoadResult: parseTinkerResult oldVersion:, newVersion:6883d7c9ffea855edd0a5e2d14ce206c, current:6883d7c9ffea855edd0a5e2d14ce206c
2021-05-19 16:27:39.570 13979-13979/? I/Tinker.TinkerLoadResult: Tinker load have exception loadCode:-14
2021-05-19 16:27:39.570 13979-13979/? E/Tinker.DefaultLoadReporter: patch loadReporter onLoadException: tinker dex check fail:Tinker Exception:checkDexInstall failed
2021-05-19 16:27:39.575 13979-13979/? I/Tinker.DefaultLoadReporter: dex exception disable tinker forever with sp
2021-05-19 16:27:39.575 13979-13979/? E/Tinker.DefaultLoadReporter: tinker load exception, welcome to submit issue to us: https://github.com/Tencent/tinker/issues
2021-05-19 16:27:39.578 13979-13979/? E/Tinker.DefaultLoadReporter: tinker load exception  com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:checkDexInstall failed
        at com.tencent.tinker.loader.SystemClassLoaderAdder.installDexes(SystemClassLoaderAdder.java:73)
        at com.tencent.tinker.loader.TinkerDexLoader.loadTinkerJars(TinkerDexLoader.java:191)
        at com.tencent.tinker.loader.TinkerLoader.tryLoadPatchFilesInternal(TinkerLoader.java:309)
        at com.tencent.tinker.loader.TinkerLoader.tryLoad(TinkerLoader.java:57)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.tencent.tinker.loader.app.TinkerApplication.loadTinker(TinkerApplication.java:114)
        at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(TinkerApplication.java:152)
        at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(TinkerApplication.java:175)
        at android.app.Application.attach(Application.java:215)
        at android.app.Instrumentation.newApplication(Instrumentation.java:1122)
        at android.app.LoadedApk.makeApplication(LoadedApk.java:1065)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5920)
        at android.app.ActivityThread.access$1200(ActivityThread.java:200)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:201)
        at android.app.ActivityThread.main(ActivityThread.java:6810)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
2021-05-19 16:27:39.579 13979-13979/? I/Tinker.PatchInfo: rewritePatchInfoFile file path:/data/user/0/com.nd.bugly/tinker/patch.info , oldVer:, newVer:6883d7c9ffea855edd0a5e2d14ce206c, isProtectedApp:0, isRemoveNewVersion:1, fingerprint:xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.7.0.PFGCNXM:user/release-keys, oatDir:odex, isRemoveInterpretOATDir:0
2021-05-19 16:27:39.582 13979-13979/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/com.nd.bugly/tinker, code: -14, cost: 21ms
2021-05-19 16:27:39.582 13979-13979/? W/Tinker.Tinker: tinker load fail!
2021-05-19 16:27:39.582 13979-13979/? I/Tinker.TinkerInternals: setSafeModeCount: count: 0
2021-05-19 16:27:39.592 13979-13979/? D/Tinker.DefaultAppLike: onCreate
2021-05-19 16:27:39.602 13979-13979/? I/CrashReport: backup java handler: com.tencent.bugly.beta.tinker.TinkerUncaughtExceptionHandler@6e9b6f5
2021-05-19 16:27:39.603 13979-13979/? W/CrashReport: dalvik.system.DelegateLastClassLoader[DexPathList[[zip file "/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk"],nativeLibraryDirectories=[/data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/lib/arm, /data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/base.apk!/lib/armeabi-v7a, /system/lib]]] couldn't find "libBugly.so"
2021-05-19 16:27:39.635 13979-13979/? W/CrashReport: [patch] tinker new id is null ,so patch version is invalid
2021-05-19 16:27:39.636 13979-13979/? I/CrashReport: TINKER_ID:v1.0.5-base
2021-05-19 16:27:39.636 13979-13979/? I/CrashReport: NEW_TINKER_ID:
2021-05-19 16:27:39.641 13979-13999/? W/CrashReport: dalvik.system.DelegateLastClassLoader[DexPathList[[zip file "/data/user/0/com.nd.bugly/tinker/patch-6883d7c9/dex/tinker_classN.apk"],nativeLibraryDirectories=[/data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/lib/arm, /data/app/com.nd.bugly-5NahYeRMic73Lbjug6TeOA==/base.apk!/lib/armeabi-v7a, /system/lib]]] couldn't find "libBugly.so"
2021-05-19 16:27:39.777 13979-13979/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-05-19 16:27:39.561] onBaseContextAttached:
2021-05-19 16:27:39.841 13979-13979/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad patch file: /data/user/0/com.nd.bugly/tinker_temp/temp.apk is not exist, just return
2021-05-19 16:27:42.695 13979-14002/? D/CrashReport: app version is: [1.0.5.105], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.5-base], patch tinkerId:[], patch version:[], strategyType:[0]
2021-05-19 16:27:42.704 13979-14002/? D/CrashReport: app version is: [1.0.5.105], [deviceId:baf486714a972822], channel: [null], buildNo: [0], base tinkerId:[v1.0.5-base], patch tinkerId:[], patch version:[], strategyType:[-1]
2021-05-19 16:32:07.604 13979-13979/? D/Tinker.DefaultAppLike: onTrimMemory level:20
2021-05-19 16:32:09.232 13979-13979/? D/Tinker.DefaultAppLike: onTrimMemory level:20
ruimingde commented 3 years ago

1、补丁包提示合并成功,首次启动时java代码修改可以生效,但是layout里面修改的按钮文字没有生效 2、删掉app进程,再次启动后java层的修改也未生效

CoderNo89757 commented 3 years ago

checkDexInstall result:false 这个问题解决了吗???

CoderNo89757 commented 3 years ago

如果你使用的gradle plugin版本是3.4.x,那么可能的原因是agp3.4.x对应的R8版本问题,导致TinkerTestDexLoad这个类没有打到主dex中,在加载补丁包时获取TinkerTestDexLoad中的isPatch字段时直接返回了false抛出了异常,从而导致补丁加载失败,可以参考这篇文章https://fucknmb.com/2019/05/28/R8-%E8%B8%A9%E5%9D%91%E8%AE%B0/

AndroidFirstDeveloper commented 2 years ago

我遇到这个错误:tinker new id is null ,so patch version is invalid。我的基准包、补丁包生成都是成功的,后来我发现是发布补丁包-下发范围 选择的问题,我开始选择的是"开发设备",改成"全量设备"就没问题了。

Domlaa commented 2 years ago

如果你使用的gradle plugin版本是3.4.x,那么可能的原因是agp3.4.x对应的R8版本问题,导致TinkerTestDexLoad这个类没有打到主dex中,在加载补丁包时获取TinkerTestDexLoad中的isPatch字段时直接返回了false抛出了异常,从而导致补丁加载失败,可以参考这篇文章https://fucknmb.com/2019/05/28/R8-%E8%B8%A9%E5%9D%91%E8%AE%B0/

请问那该如何解决呢