ARouter踩坑之'ARouter::: ARouter::There is no route match the path [/MyRouter2/ARouter3Activity] '

组件化开发中,使用了ARouter作为路由组件,使用过程中出现了

'ARouter::: ARouter::There is no route match the path [/MyRouter2/ARouter3Activity] '

原因

使用了@Route注解的module

@Route(path = "/MyRouter2/ARouter3Activity")

都必须引用'annotationProcessor 'com.alibaba:arouter-compiler:1.2.2',否则编译过程中不会生成对应的文件。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章