ARouter helps Android teams navigate between modules and pages while decoupling components. It supports URL-based jumps, interceptors, and dependency injection across multi-module projects.
Overview
ARouter is a routing framework aimed at Android apps that split features into modules. It parses standard URL-style routes, injects parameters into destinations, and coordinates navigation without tight compile-time coupling between components.
Typical capabilities include multi-module registration, interceptors for login or analytics, IoC-style service exposure and discovery, fragment routes, transition animations, Kotlin support, and optional Gradle and IDE plugins to register routes and jump to destination classes from navigation code.
Apps initialize the SDK, annotate routes, and navigate through the router API. External URL schemes can forward into internal screens. You can define global or per-route downgrade strategies when targets are missing, register services for cross-module calls, and add routes at runtime for plugin-style architectures.
The runtime targets AndroidX on current lines, with a published minimum SDK on the library side. Optional tooling generates route documentation and can auto-load routing tables instead of scanning DEX at startup when the registration plugin is enabled.
Key features
- URL parsing and parameterized navigation
- Multi-module route tables
- Navigation interceptors
- Dependency injection for services
- Fragment and activity routes
- Dynamic route registration
- Gradle auto-registration plugin
- IDE helper for route navigation
Use cases
- Modular Android app architecture
- Deep links into internal screens
- Login gates on navigation
- Cross-module component communication
- Plugin apps with runtime routes