Andy Zhang

Results 20 comments of Andy Zhang

不过我感觉不着急完全适配,等Oreo完全发布后再适配靠谱些。

这个确实是个问题,Binder传输数据不能太大,我得想办法处理下。

通过native的iohook可以解决。

可否给我一个例子让我调试一下呢? Andy Zhang Senior Engineer for Android (Beijing.China) Website: http://coopao.com E-mail/Gtalk/QQ/MSN: [email protected] [email protected] 在 2015年3月3日 下午3:29,kastland [email protected]写道: > hi,你好。最近在用你的zhooklib的时候遇到一个问题,我的项目在Application onCreate的时候开始hook > 系统Handler的dispatchMessage方法,普通的message都可以hook成功,但是在执行一个wifiManager的serviceHandler的dispatchmessage的时候,虽然执行了beforeHookedMethod,但是之后并没有执行原来的dispatchmessage,导致主线程一直在wait产生ANR。简单debug了一下,发现beforeHookMethod并没有抛出异常,不同的是这个handler是执行的远程服务的回调消息,不知道会不会跟这个有关,因为看不到so的代码所以也不好猜测只好来询问一下。谢谢! > > — > Reply to this email...

防止多线程的情况下,导致数据冲突。 Andy Zhang Senior Engineer for Android (Beijing.China) Website: http://coopao.com E-mail/Gtalk/QQ/MSN: [email protected] [email protected] 在 2015年3月3日 下午6:07,kastland [email protected]写道: > 原因找到了,应该不是特殊message的问题(之前以为是wifimanager那个message是跨进程的,可能有些不一样)。用jd看了下你的代码,发现Nativehelper里的hookMethod等方法是锁了的,所以原因可能是dispatchmessage多线程调用导致死锁了。所以这里还要问一下,这些方法加锁的原因是什么呢? > > — > Reply to this email directly or view...

都是些什么问题呢? 发自我的 iPhone > 在 2014年12月17日,15:50,Charlie [email protected] 写道: > > 之前也拷了xposed hook部分源码,做了个类似的工具,用作服务器动态下发代码. > 不过只能在anrdoid15下编译.android8下有各种编译问题,一直没有搞定 > > — > Reply to this email directly or view it on GitHub.

> familiar here is the documents https://developer.android.com/build/dependencies#using-native-dependencies If we enable prefab in AAR, that means we don't need copy the header and libs , and more easy to use. and...

> @cmzy I gave this PR a quick try. It seems like the generated `hermesConfig.cmake` tries to reference `liblibhermes.so`, which doesn't exist, rather than the `libhermes.so` packaged in the AAR....