ARouter错误debug模式下错误

release正常,debug页面无法跳转,报这个提示"W/ARouter::: ARouter::There is no route match the path [/xxx/xxx], in group [xxx][ ]",求大佬指点迷津1

一般Release没问题,debug就不会有问题,建议你查看一下path路径是不是没有对应上,然后打印Arouter的调试日志,看各个步骤的初始化有没有完成

InstantRun关闭即可

Settings → Build, Execution, Deployment → Instant Run and uncheck Enable Instant Run.