組件化開發中,使用了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',否則編譯過程中不會生成對應的文件。