Comments (13)
请补充完整的加载日志,使用"Tinker."过滤。请提交符合规范的issue
from tinker.
receive a patch file: /storage/emulated/0/patch_signed_7zip.apk, isUpgrade:true, file size:1999
get platform:all
SampleResultService receive result:
PatchResult:
isUpgradePatch:true
isSuccess:false
rawPatchFilePath:/storage/emulated/0/patch_signed_7zip.apk
costTime:126
patchVersion:null
patchTinkerID:null
baseTinkerID:null
Throwable: null
from tinker.
这里是合成失败,需要把合成过程的日志也补上
from tinker.
/tinker.sample.android W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/data/tinker.sample.android/tinker
/tinker.sample.android D/Tinker.DefaultAppLike: onBaseContextAttached:
/tinker.sample.android I/Tinker.SamplePatchListener: application maxMemory:256
/tinker.sample.android W/Tinker.Tinker: tinker patch directory: /data/data/tinker.sample.android/tinker
/tinker.sample.android I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2
/tinker.sample.android W/Tinker.TinkerLoadResult: can't find patch file, is ok, just return
/tinker.sample.android I/Tinker.DefaultLoadReporter: patch load result, path:/data/data/tinker.sample.android/tinker, code:-2, cost:3
/tinker.sample.android W/Tinker.Tinker: tinker load fail!
/tinker.sample.android D/Tinker.DefaultAppLike: onCreate
/tinker.sample.android D/Tinker.DefaultAppLike: onTrimMemory level:15
/tinker.sample.android E/Tinker.MainActivity: i am on onCreate classloader:dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/tinker.sample.android-1/base.apk
/tinker.sample.android E/Tinker.MainActivity: i am on onCreate string:I am in the base apk
/tinker.sample.android E/Tinker.MainActivity: i am on onResume
/tinker.sample.android W/Tinker.UpgradePatchRetry: onPatchRetryLoad retry info not exist, just return
/tinker.sample.android I/Tinker.SamplePatchListener: receive a patch file: /storage/emulated/0/patch_signed_7zip.apk, isUpgrade:true, file size:1999
/tinker.sample.android I/Tinker.SamplePatchListener: get platform:all
from tinker.
receive a patch file: /storage/emulated/0/patch_signed_7zip.apk, isUpgrade:true, file size:4221
get platform:all
SampleResultService receive result:
PatchResult:
isUpgradePatch:true
isSuccess:false
rawPatchFilePath:/storage/emulated/0/patch_signed_7zip.apk
costTime:38
patchVersion:null
patchTinkerID:null
baseTinkerID:null
Throwable: null
from tinker.
patch.info没有生成
tryLoadPatchFiles:patch info not exist:/data/data/tinker.sample.android/tinker/patch.info
patchVersion:null
patchTinkerID:null
baseTinkerID:null
Throwable: null
这几个空的 是什么情况?
from tinker.
是在合成的时候错误了,你要看合成过程的日志
'''java
isSuccess:false
'''
from tinker.
我用的Github的sample 代码没动 就动了 gradle参数oldAPk 和TinkerId
然后跑起来就这样了
from tinker.
把Tinker.跟右边only show都去掉看看
from tinker.
如果把Tinker.去掉后 会很多log刷屏
from tinker.
错误码出来了,-7,TINKER_ID不一致。你的tinkerId是不是类似1.0这样短的字符串?现在会有问题,你把他改成长一点的。用到的apk-parser库有问题
from tinker.
怎么还是一个啊
from tinker.
:patch 进程并不会在打完补丁后再次启动 只有在接收到补丁文件的时候(TinkerInstaller.onReceiveUpgradePatch或者TinkerInstaller.onReceiveRepairPatch)才会启动:patch进程对补丁进行处理
from tinker.
Related Issues (20)
- gradle7.3.3,AGP7.2.0,编译报错如下,如何解决 HOT 1
- tinker 接入 patch load成功,重启加载失败。patch包中的text.dex 的TinkerTestDexLoad isPatch值是true。但是重启加载检查checkDexInstall 中反射获取isPAatch一直是false。 HOT 2
- Output dir not contains path apk file HOT 2
- 和华为性能分析sdk同时集成出现冲突 HOT 2
- 项目加入sentry之后编译补丁包异常
- tinker的开源版本和内部使用版本是一个版本吗 HOT 1
- gradle 升级到4.2.2 编译错误 HOT 1
- patch 升级耗时太久!The patch upgrade takes too long ! HOT 1
- Android13-debug环境补丁加载正常,release加载成功,但重启app会连续崩溃3次并自动清理补丁 HOT 3
- 华为鸿蒙系统HarmonyOS 4.0.0版本补丁成功,版本号(BuildConfig.APP_VERSION)无变化 HOT 5
- 1.9.14.26 合成很慢
- tinkerPatch命令执行成功,但是没有生成补丁apk文件 HOT 2
- 补丁包生成失败,Method xxx in loader class xxx,refers to method xxx,which is not in loader class, this may cause crash when patch is loaded. HOT 1
- drawable下新增图片不使用newApk选项编译出来的补丁包无效,使用newApk有效 HOT 2
- Android 14 dex2oat不生效
- 1.9.14.18之后删除无用theme异常 & 启动崩溃
- 1.9.14.26.3在华为老款手机补丁合并异常
- 用tinker demo升minsdk=24打补丁包报错Unexpected magic: [100, 101, 120, 10, 48, 51, 57, 0]
- tinker patch exception java.lang.NoSuchMethodError: No direct method <init>(Ljava/lang/String;Ljava/lang/String;ZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V in class HOT 2
- tinker patch meta entry not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinker.