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

请问支持多dex吗 #189

Closed lcn1988 closed 7 years ago

lcn1988 commented 7 years ago

由于项目方法数超出限制,现在使用了MultiDex解决此问题,请问这个影响热修复吗?

hedex commented 7 years ago

完美支持multidex

lcn1988 commented 7 years ago

@hedex 支持修复aar里面的java代码吗

hedex commented 7 years ago

@lcn1988 支持修复aar里面的java代码

lcn1988 commented 7 years ago

@hedex 在未开启混淆的状态下 patchLog 配置false, minifyEnabled false,robust(版本0.4.7) 没有添加混淆文件,热修复成功,Modify生效,但是Modify里面的add方法没有生效。环境: compileSdkVersion 25 buildToolsVersion "25.0.3" classpath 'com.android.tools.build:gradle:2.3.3' gradle-3.3-all

hedex commented 7 years ago

modify里面还有add注解的方法?能截图看看吗?

2017年8月28日 14:17,"lcn1988" notifications@github.com写道:

@hedex https://github.com/hedex 在未开启混淆的状态下 false, minifyEnabled false,robust 没有添加混淆文件,热修复成功,Modify生效,但是Modify里面的add方法没有生效。环境: compileSdkVersion 25 buildToolsVersion "25.0.3" classpath 'com.android.tools.build:gradle:2.3.3' gradle-3.3-all

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Meituan-Dianping/Robust/issues/189#issuecomment-325269182, or mute the thread https://github.com/notifications/unsubscribe-auth/AHgyAWbIbjgMnqBlyy-LY-coPF3Lkhzlks5scluDgaJpZM4O81jp .

lcn1988 commented 7 years ago

@hedex
image

lcn1988 commented 7 years ago

@hedex 还有一个问题RobustCallBack接口里面的方法都是什么意思,麻烦您详细说明一下呀

hedex commented 7 years ago

这里的log函数没有调用到是吗?

hedex commented 7 years ago

callBack里面是热补丁执行过程中的一些状态回调

lcn1988 commented 7 years ago

@hedex 对的log没有调用,前一个句修复了

lcn1988 commented 7 years ago

@hedex 这个方法状态都是什么意思呢

hedex commented 7 years ago

表示执行补丁的过程到哪里了,比如补丁应用结束了会调用onPatchApplied这个方法

hedex commented 7 years ago

可以看看你的补丁文件吗?

lcn1988 commented 7 years ago

patch.zip @hedex

hedex commented 7 years ago

感谢反馈,这个问题我们新版本已经修复了,请使用新版本试试哈,有任何问题请给提issue或者给我发邮件都可以~

lcn1988 commented 7 years ago

@hedex 新版是指哪个版本呢,我现在用的是0.4.7有这个问题

hedex commented 7 years ago

抱歉看你一直没有回复就关闭了issue 0.4.7的版本的问题:还是新增的log()方法不能识别?加我qq吧 514019824