1. Problem description
There is no route matched when ARouter implements communication between components
My code design is as follows:
Defined in submodule:
interface InitApi : IProvider
Defined in the main module:
@Route(path = "/child/init/net")
class NetworkInitializer : InitApi {
override fun init(context: Context?) {
}
}
Then read in the submodule:
ARouter.getInstance().build(route).navigation() as InitApi
2. Solution
Uninstalling and reinstalling the app, it runs normally.
Read More:
- [Solved] flitter Name Route Error: Could not find a generator for route RouteSettings(“XXX”, null) in the _WidgetsAppState
- Centos7 hive started to report an error. There is no route to the host. The firewall has been closed
- How to Solve Android Arouter Frame Autowired Error
- TensorFlow-gpu Error: failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
- [Solved] There is no getter for property named ‘distinct’ in…
- Maven package error: [WARNING] The POM for xxx is missing, no dependency inform
- [Solved] Mac starts redis error: there is no specified conf file
- [Solved] No corresponding flash error is found during MDK download
- Vscode pylint reported an error of “no member”, but it is running normally
- [Solved] MSYS2+ fatal error: zlib.h: There is no such file or directory
- [Solved] App.vue{ parser: “babylon“ } is deprecated; we no 95% emitting
- [Solved] ROS fatal error: alsa/asoundlib. h: There is no such directory or file
- [Solved] Error in inherits(x, “theme”): argument “e2” is missing, with no default
- Xcode debugging for the real iPhone Error: code signature version is no longer supported
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future rel
- [Solved] Error: The superclass, ‘Animal‘, has no unnamed constructor that takes no arguments.
- Cuda Runtime error (38) : no CUDA-capable device is detected
- [Solved] Vue.js error: Module build failed: Error: No parser and no file path given, couldn’t infer a parser.
- There is no error when compiling and packaging the IDEA code, but the code displays an error