Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtimefix在android7.0上不工作 #110

Open
cloud20161002 opened this issue Nov 25, 2016 · 0 comments
Open

runtimefix在android7.0上不工作 #110

cloud20161002 opened this issue Nov 25, 2016 · 0 comments

Comments

@cloud20161002
Copy link

如题,log:12-06 11:24:14.920 26109-26109/com.dodola.rocoosample.runtimefix E/Rocoo: replaceMethod
java.lang.IllegalStateException: Cannot create backup method from :: public java.lang.String com.dodola.rocoosample.HelloHack.showHello()
at com.lody.legend.art.ArtMethod.backup(ArtMethod.java:133)
at com.lody.legend.HookManager.hookMethodArt(HookManager.java:197)
at com.lody.legend.HookManager.hookMethod(HookManager.java:135)
at com.dodola.rocoofix.RocooFix.replaceMethod(RocooFix.java:626)
at com.dodola.rocoofix.RocooFix.fixClass(RocooFix.java:589)
at com.dodola.rocoofix.RocooFix.applyPatchRuntime(RocooFix.java:565)
at com.dodola.rocoofix.RocooFix.initPathFromAssetsRuntime(RocooFix.java:513)
at com.dodola.rocoosample.runtimefix.MainActivity$1.onClick(MainActivity.java:24)
at android.view.View.performClick(View.java:5609)
at android.view.View$PerformClick.run(View.java:22262)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant