Skip to content
New issue

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

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

Already on GitHub? # to your account

Xiaomi 2S Hook: java.lang.UnsupportedOperationException: This device not be supported #10

Open
zlp1992 opened this issue Dec 7, 2016 · 0 comments

Comments

@zlp1992
Copy link

zlp1992 commented Dec 7, 2016

在小米2s真机(MIUI8 6.11.10开发版)上测试时,报如下错误:
12-07 16:42:17.534 8205-8205/com.cloudpush.baidu.test I/BroadcastHook﹕ 开始Hook sendBroadcast() 方法 12-07 16:42:17.544 8205-8205/com.cloudpush.baidu.test D/AndroidRuntime﹕ Shutting down VM 12-07 16:42:17.554 8205-8205/com.cloudpush.baidu.test E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.cloudpush.baidu.test, PID: 8205 java.lang.UnsupportedOperationException: This device not be supported at com.morgoo.hook.zhook.ZHook.checkSupported(ZHook.java:71) at com.morgoo.hook.zhook.ZHook.hookAllMethods(ZHook.java:272) at com.baidu.push.example.BroadcastHook.hookSendBroadcast(BroadcastHook.java:20) at com.baidu.push.example.PushDemoActivity.onClick(PushDemoActivity.java:191) at android.view.View.performClick(View.java:4760) at android.view.View$PerformClick.run(View.java:19779) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5248) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:909) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:704)

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

No branches or pull requests

1 participant