java - 用xposed框架无法hook 类的问题
天蓬老师
天蓬老师 2017-04-17 17:51:03
0
2
559

在使用xposed时 hook 微信的扫描二维码的类,com.tencent.mm.plugin.scanner.ui.BaseScanUI ,提示无法找到ClassNotFoundExceptionClass,用adb shell 查看 这个类在微信运行下的/data/data/com.tencent.mm/app_dex/secondary-2.dex.jar文件里
这我就弄不懂啦!系统和微信的聊天的类是可以的,求助高手。

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(2)
伊谢尔伦

Pay attention to the package name of the following category and you will find that it is a plug-in. It is called through dynamic loading.
Maybe the time when you hook this class is when the main program starts. The plug-in has not been loaded yet.
At this time, you will see this error when executing the hook. The class cannot be found.
Change the hook time point to after loading the class.

PHPzhong

Owner, has this been solved? I also encountered this problem,

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!