ARouter错误Failed resolution of ARouter$$Group

错误日志

1
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/alibaba/android/arouter/routes/ARouter$$Group$$order_service;

路由无法跳转或者外部无法调用子模块向外部暴露的服务,出现这种情况很可能是path路径分组重复,比如有A、B两个模块,则不能分别在A、B中这样定义

1
2
@Route(path = "/module/a")
@Route(path = "/module/b")

因为不同的module应该属于不同的分组

1
2
@Route(path = "/module1/a")
@Route(path = "/module2/b")

Powered by AppBlog.CN     浙ICP备14037229号

Copyright © 2012 - 2020 APP开发技术博客 All Rights Reserved.

访客数 : | 访问量 :