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

重复打补丁问题 #185

Closed AndroidLing closed 7 years ago

AndroidLing commented 7 years ago

上线后发现一个方法有bug, 然后修改了这个方法, 打了个补丁成功修复了 , 但是过了一段时间又发现这个方法有其它bug, 然后想再次修改这个方法, 打一个新补丁 经过实测, 一个方法重复修改打补丁, 会在应用新的补丁时Crash, Crash后应用恢复到了没打任何补丁的状态, 这时打入新的补丁时可以生效的, 有没有办法在重复打补丁时不Crash啊

mivanzhang commented 7 years ago

we do not recommend you to patch a method twice, because we apply each patch in a thread, different patch are patching Concurrently,as for your problem ,can you show me your logs?