Meituan-Dianping / Robust

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.
Apache License 2.0
4.42k stars 807 forks source link

something wrong !! can not find:ChangeQuickRedirect inxxx.robust.xxPatchControl #197

Closed DesignPCode closed 6 years ago

DesignPCode commented 7 years ago

在提交issue之前,我们应该先查询是否已经有相关的issue和ReadMe中的注意事项,比如说Robust在0.3.3版本才支持windows开发。提交issue时,我们需要写明issue的原因,最好可以携带编译或运行过程的日志或者截图。issue最好以下面的格式提出:

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

手机型号:如:Nexus 5(如是编译异常,则可以不填)

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

Robust版本:如:0.4.5

Gradle版本:如:2.10

系统:如:Mac

堆栈/日志:

如是编译异常,请在执行gradle命令时,加上--stacktrace,并把结果重定向,例如在demo中重定向命令如下:./gradlew clean assembleRelease --stacktrace --no-daemon >log.txt ,结果重定向到当前的目录下的log.txt文件; 日志中我们需要过滤"robust"关键字,可以初步查找问题的大概原因; Robust提供了sample样例与我们的源码,大家在使用前可以先将样例跑通,如遇任何疑问也欢迎大家提出,更鼓励大家给我们提pr,谢谢大家的支持.

hedex commented 7 years ago

可以看看全部的log吗?

2017年9月18日 16:33,"N.Sun" notifications@github.com写道:

在提交issue之前,我们应该先查询是否已经有相关的issue和ReadMe中的注意事项,比如说Robust在0.3. 3版本才支持windows开发。提交issue时,我们需要写明issue的原因,最好可以携带编译或运行过程的日志或者截图。 issue最好以下面的格式提出:

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

手机型号:如:Nexus 5(如是编译异常,则可以不填)

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

Robust版本:如:0.4.5

Gradle版本:如:2.10

系统:如:Mac

堆栈/日志:

如是编译异常,请在执行gradle命令时,加上--stacktrace,并把结果重定向,例如在demo中重定向命令如下:./gradlew clean assembleRelease --stacktrace --no-daemon >log.txt ,结果重定向到当前的目录下的log.txt文件; 日志中我们需要过滤"robust"关键字,可以初步查找问题的大概原因; Robust提供了sample样例与我们的源码,大家在使用前可以先将样例跑通,如遇任何疑问也欢迎大家提出,更鼓励大家给我们提pr,谢谢大家的支持.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Meituan-Dianping/Robust/issues/197, or mute the thread https://github.com/notifications/unsubscribe-auth/AHgyAUFHLMZuG8YfrQp_GGRTS8d4jnnSks5sjirpgaJpZM4Pak9f .

hedex commented 6 years ago

@DesignPCode 可以看看你的这个补丁吗?

xiaoqi123456 commented 6 years ago

11-28 16:45:26.343 9901-14889/com.meituan.robust.sample D/RobustCallBack: logNotify log: changeQuickRedirectField is null, patch info:id = 123,md5 = null 11-28 16:45:26.343 9901-14889/com.meituan.robust.sample D/RobustCallBack: logNotify where: class:PatchExecutor method:patch line:147 11-28 16:45:26.343 9901-14889/com.meituan.robust.sample D/RobustCallBack: onPatchApplied result: true 11-28 16:45:26.343 9901-14889/com.meituan.robust.sample D/RobustCallBack: onPatchApplied patch: 123 出现了这个问题 补丁成功了 但是加载补丁无法使用

YinHAHA commented 6 years ago

我也出现这种情况,补丁成功了,但是加载补丁无法使用,请问找到问题所在了吗?怎样解决呀?

haoma2012 commented 6 years ago

@YinHAHA 问题解决了么?

haoma2012 commented 6 years ago

@hedex 你好,我这里升级到82打出来补丁后也出现加载补丁找不到插庄can not find:ChangeQuickRedirect问题; gradle 3.0.1 4.1gradle.zip

haoma2012 commented 6 years ago

这是补丁文件: robust.zip

报错日志: D/robust: patchManipulate list size is 1 D/robust: PatchsInfoImpl name:com.meituan.robust.patch.PatchesInfoImpl PatchsInfoImpl ok D/robust: current path:com.meiyou.ecomain.ui.detail.EcoNewRecommendDetailFragment D/robust: oldClass :class com.meiyou.ecomain.ui.detail.EcoNewRecommendDetailFragment fields 77 D/RobustCallBack: logNotify log: changeQuickRedirectField is null, patch info:id = 123,md5 = null logNotify where: class:PatchExecutor method:patch line:147 D/robust: current path:com.meiyou.ecomain.ui.detail.EcoNewRecommendDetailFragment something wrong !! can not find:ChangeQuickRedirect incom.meituan.robust.patch.EcoNewRecommendDetailFragmentPatchControl D/robust: patch finished D/RobustCallBack: onPatchApplied result: true patch: 123 D/robust: patch LocalPath:/storage/emulated/0/robust/patch.jar,apply result true

usherdl commented 4 years ago

所以这个问题关掉了,没有说明, 是打包问题么 。我遇到同样问题了 ,可以提供解决办法么 ,谢谢 @hedex