FlyJingFish

Results 12 comments of FlyJingFish

[AndroidAOP可直接解决AGP8.0以上的问题](https://github.com/FlyJingFish/AndroidAOP/wiki/%E5%88%87%E9%9D%A2%E5%90%AF%E7%A4%BA#5%E4%B8%89%E6%96%B9%E8%B7%AF%E7%94%B1%E5%BA%93%E6%B2%A1%E6%9C%89%E9%80%82%E9%85%8D-agp8-%E4%B8%8B%E9%9D%A2%E4%BB%A5-arouter-%E4%B8%BA%E4%BE%8B%E6%95%99%E4%BD%A0%E5%A6%82%E4%BD%95%E5%88%A9%E7%94%A8-androidaop-%E8%A7%A3%E5%86%B3%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98)

本人开发了一个不用AspectJ的aop框架,当然也同样支持AGP8[AndroidAOP](https://github.com/FlyJingFish/AndroidAOP),一般来说相对 Android 的使用还是不错的,相对 AspectJ 更轻量

> > 本人开发了一个不用AspectJ的aop框架,当然也同样支持AGP8 [AndroidAOP](https://github.com/FlyJingFish/AndroidAOP),一般来说相对Android的使用还是不错的,相对AspectJ更轻量 > > @FlyJingFish大概看一下这篇文章,你的文章应该是用了 apt 的方式。apt 不一定适用于大多数人的场景,因为要使用 aop 就是很多时候想织入的代码是字节码文件,而 apt 是编译期的方案,修改不了第三方代码。 你看错了,就是基于修改字节码实现的,apt只是自定义Aop会用到,已有的Aop包括自定义Aop最后都会通过修改字节码文件织入代码

1. First, you should experiment with the class in your package. If it works, then try to set the class in android.jar in this way. 2. The class you set...

> how to test or check if the arouter-register is still working after implement your solution? When you delete `classpath "com.alibaba:arouter-register:?"` and still see the following log: (当你删除 `classpath "com.alibaba:arouter-register:?"`...

> 但是我试了直接去掉 arouter的插件依赖,项目运行也没问题,各种跳转也不受影响,不知道为啥 额……你还没懂Arouter的原理。不谈原理直接简单粗暴一点解释就是,使用插件就是把相关的路径信息类找出来并写入安装包内,不使用插件就是在运行时动态的寻找这些类。使用插件的好处就是运行时不用寻找这些类了。ARouter用不用插件都可以跑起来,就看你如何选择了

> > log > > i don't get this console log, but already implemented the class ARouterMatch in my project, should I call it anywhere on my project? First, if...

> > > > log > > > > > > > > > i don't get this console log, but already implemented the class ARouterMatch in my project, should...

[AndroidAOP is a better AOP framework](https://github.com/FlyJingFish/AndroidAOP)