Comments (4)
如果要织入静态方法,hook方法的签名要加上static
from lancet.
另外 Log 类只能用 @Proxy 来 hook,因为这个类是内置在 Android 设备里的,不在 Apk 中
from lancet.
wiki 中的示例少了 static,是有问题的,我来修改一下,多谢提醒
from lancet.
没其他问题就关了,若有问题重开
from lancet.
Related Issues (20)
- Execution failed for task ':app:transformClassesWithLancetForDebug'. > java.lang.RuntimeException: java.lang.UnsupportedOperationException: This feature requires ASM6 HOT 2
- Execution failed for task ':app:transformClassesWithLancetForDebug'. > java.lang.RuntimeException: java.lang.UnsupportedOperationException: This feature requires ASM6
- 哪位大佬有私有maven仓库? HOT 1
- 升级了下ASM6 有需要的自取 HOT 13
- 增量编译导致严重的问题
- proxy MessageQueue的enqueueMessage方法无效
- 不知是否有大佬实现一下lambda Interface
- lancet支持在应用中hook ActivityManagerService中的方法吗
- Lancet如何织入@hide的类 HOT 1
- 基于 字节跳动的ByteX 重写了一个版本,修复了部分BUG,加快插件编译速度,有需要的可以参考使用 HOT 2
- hook的成功标志是什么? HOT 1
- Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, HOT 2
- gradle 7.2.1 引入lancet插件报错 HOT 1
- NestHost requires ASM7
- Caused by: java.lang.UnsupportedOperationException: This feature requires ASM6 HOT 3
- 如何织入Onclick类型的接口回调方法
- 升级ASM9.1 , 适配Gradle7.5.1 AGP7.3.0 ,调整支持Java11 HOT 5
- 特意试过了,java项目可以跑起来,kotlin项目报需要asm6错误 HOT 4
- 打包失败谁遇到过?能否上架googleplay
- 使用@ClassOf 时报错:@ClassOf 's origin type should be parent in value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lancet.