(#) androidx.navigation:navigation-runtime Name : Navigation Runtime Description : Android Navigation-Runtime License : [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) Vendor : Android Open Source Project Identifier : androidx.navigation.runtime Feedback : https://issuetracker.google.com/issues/new?component=409828 Min : Lint 8.0 and 8.1 Compiled : Lint 8.7+ Artifact : androidx.navigation:navigation-runtime:2.9.0-rc01 (##) Included Issues |Issue Id |Issue Description | |------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |[DeepLinkInActivityDestination](DeepLinkInActivityDestination.md.html) |A should not be attached to an destination | |[WrongStartDestinationType](WrongStartDestinationType-3.md.html) |If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.| |[WrongNavigateRouteType](WrongNavigateRouteType.md.html) |Navigation route should be an object literal or a destination class instance with arguments | |[MissingKeepAnnotation](MissingKeepAnnotation-3.md.html) |In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep | |[MissingSerializableAnnotation](MissingSerializableAnnotation-3.md.html)|Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable | (##) Including !!! This is not a built-in check. To include it, add the below dependency to your project. ``` // build.gradle.kts implementation("androidx.navigation:navigation-runtime:2.9.0-rc01") // build.gradle implementation 'androidx.navigation:navigation-runtime:2.9.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] navigation-runtime = "2.9.0-rc01" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single # line (see https://github.com/toml-lang/toml/issues/516) so adjust # when pasting into libs.versions.toml: navigation-runtime = { module = "androidx.navigation:navigation-runtime", version.ref = "navigation-runtime" } ``` 2.9.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes * 2.5.0: First version includes DeepLinkInActivityDestination. * 2.8.0: Adds WrongNavigateRouteType, WrongStartDestinationType. * 2.8.3: Adds MissingKeepAnnotation, MissingSerializableAnnotation. (##) Version Compatibility There are multiple older versions available of this library: | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| | 2.9.0-rc01|2025/04/23| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-beta01|2025/04/09| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha09|2025/03/26| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha08|2025/03/12| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha07|2025/02/26| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha06|2025/02/12| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha05|2025/01/29| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha04|2024/12/11| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha03|2024/11/13| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha02|2024/10/30| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/10/16| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.5|2024/12/11| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.4|2024/11/13| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/10/16| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/10/02| 3| No[^1]| 8.0 and 8.1|8.0 and 8.1| | 2.8.1|2024/09/18| 3| No[^1]| 8.0 and 8.1|8.0 and 8.1| | 2.8.0|2024/09/04| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.7|2024/02/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.6|2023/12/13| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.5|2023/11/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.4|2023/10/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.3|2023/09/20| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.2|2023/09/06| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.1|2023/08/23| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.7.0|2023/08/09| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.6.0|2023/06/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.5.3|2022/10/24| 1| Yes| 7.3 and 7.4| 7.0| | 2.5.2|2022/09/07| 1| Yes| 7.3 and 7.4| 7.0| | 2.5.1|2022/07/27| 1| Yes| 7.3 and 7.4| 7.0| | 2.5.0|2022/06/29| 1| Yes| 7.3 and 7.4| 7.0| Compatibility Problems: [^1]: com.android.tools.lint.checks.infrastructure.LintDetectorTest#kotlin(java.lang.String): com.android.tools.lint.checks.infrastructure.TestFile is not available