🔥🔥🔥AGP8.0以上直接适配,无需修改原来写的代码
how to test or check if the arouter-register is still working after implement your solution?
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:?" 还能看到如下日志的时候)
Load router map by arouter-auto-register plugin.
但是我试了直接去掉 arouter的插件依赖,项目运行也没问题,各种跳转也不受影响,不知道为啥
但是我试了直接去掉 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?
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 you want to see Arouter's log, make sure you have turned on the switch for Arouter's related logs. Secondly, make sure you have read my adaptation guide in detail and tested it. This guide is a complete adaptation, and no other steps are required. In addition, I hope you can at least give a star after benefiting from it, thank you!
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 you want to see Arouter's log, make sure you have turned on the switch for Arouter's related logs. Secondly, make sure you have read my adaptation guide in detail and tested it. This guide is a complete adaptation, and no other steps are required. In addition, I hope you can at least give a star after benefiting from it, thank you!
I've already replicate your solution, and seems like the code is not call when I run my app
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 you want to see Arouter's log, make sure you have turned on the switch for Arouter's related logs. Secondly, make sure you have read my adaptation guide in detail and tested it. This guide is a complete adaptation, and no other steps are required. In addition, I hope you can at least give a star after benefiting from it, thank you!
I've already replicate your solution, and seems like the code is not call when I run my app
I have described in detail the various possible problems and their principles in the guide, and I published the guide after testing it. If you still cannot succeed, please check whether you have configured the AndroidAOP library correctly according to the access steps. It is not enough to just copy the classes in the guide.