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

要修复的方法为空的时候没有插入PatchProxy代码,导致无法打出patch,报java.lang.reflect.UndeclaredThrowableException #236

Open xh2009cn opened 6 years ago

xh2009cn commented 6 years ago

public void onBackPressed() { }

hedex commented 6 years ago

是由于针对空方法,没有插桩,因此无法修复; 你可以在这个方法上打一些无用的log; 就会插桩了,插桩了的方法就能修复