解决:ARouter 报错 There is no route matched
一、问题说明
ARouter 实现组件间通信时报错:There is no route matched
我的代码设计如下:
子模块中定义:
interface InitApi : IProvider
主模块中定义:
@Route(path = "/child/init/net")
class NetworkInitializer : InitApi {override fun init(context: Context?) {}
}
然后在子模块中读取:
ARouter.getInstance().build(route).navigation() as InitApi
二、解决方案
从头看了各种配置、各种参数,查了很多文章... 都不行。
最后将 App 卸载重装后运行正常了,感觉比较奇怪,在此记录一下!
解决:ARouter 报错 There is no route matched相关推荐
- git:Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists)....
Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists). 解决办法一:保 ...
- 解决Redis报错:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
解决Redis报错:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on ...
- 解决Python报错UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 658: illegal multibyte
解决Python报错–UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 658: illegal multibyte ...
- 解决gcc报错:error: implicit declaration of function ‘inet_addr’ [-Werror=implicit-function-declaration]
此文首发于我的个人博客:解决gcc报错 error implicit declaration of function 'inet_addr' [-Werror=implicit-function-de ...
- 解决WAS报错SRVE0207E: servlet 创建了未捕获到的初始化异常
解决WAS报错SRVE0207E: servlet 创建了未捕获到的初始化异常 参考文章: (1)解决WAS报错SRVE0207E: servlet 创建了未捕获到的初始化异常 (2)https:// ...
- vue解决启动报错cjs loader.js Error: Cannot find module ‘../config‘问题
vue解决启动报错cjs loader.js Error: Cannot find module '../config'问题 参考文章: (1)vue解决启动报错cjs loader.js Error ...
- 解决tensorflow报错:AttributeError: module ‘tensorflow.keras.backend‘ has no attribute ‘get_session‘ 问题
欢迎大家关注笔者,你的关注是我持续更博的最大动力 原创文章,转载告知,盗版必究 解决tensorflow报错:AttributeError: module 'tensorflow.keras.back ...
- 解决MySQL报错ERROR 2002 (HY000)【转】
今天在为新的业务线搭架数据库后,在启动的时候报错 root@qsbilldatahis-db01:/usr/local/mysql/bin# ./mysql ERROR 2002 (HY000): C ...
- path manipulation怎么解决_PyCharm报错与解决方法一览
报错: IndentationError:expected an indented block 分析: 缩进错误! 解决: 你只要在出现错误的那一行,按空格或Tab(但不能混用)键缩进就行.往往有的人 ...
- python怎么写中文至excel_[ Python爬虫实战 ] python 操作excel以及解决中文报错 - pytorch中文网...
有时候我们可以把一些简单的数据存储进Excel文件中,比如我们的我们爬取了某网站的用户ID,昵称,我们可以存储进Excel中. 环境安装 xlwt,xlrd是python读写操作excel的模块,你可 ...
最新文章
- centos7 minimal运行vue项目npm run serve时报错:Error: spawn xdg-open ENOENT --解决办法:yum install xdg-utils
- 关于PHP程序员解决问题的能力
- js jQuery取消添加超链接的方法小结
- Cell发文!施一公科研团队取得重大突破
- Java 9:ServiceLoader
- Windows系统USB转CDC串口驱动限制说明
- 个人博客四|注册登录退出功能后台开发
- 《Python编程从入门到实践》记录之字典嵌套
- mysql禁止远程连接
- linux 下查看硬件信息
- 网络安全技术之虚拟专用网络
- latex 数学符号
- abb机器人searchl报错_ABB机器人常用指令介绍——ABB机器人
- MySQL数据库知识的总结
- ROC曲线面积AUC详解
- 线代9讲 第八讲 相似理论
- GM(1,1)灰色预测模型
- 2021年电工(初级)考试内容及电工(初级)考试总结
- win2003 启用了Internet Explorer增强的安全配置
- 老闪创业那些事儿(外传)——流程下的工具人