Home > Enterprise >  Could not find androidx.navigation:navigation-compose:
Could not find androidx.navigation:navigation-compose:

Time:12-19

I copied the dependencies mentioned in the website here: enter image description here

Screenshot with $nav_version: enter image description here

CodePudding user response:

Navigation Compose was introduced after Navigation 2.3 - you need to use Navigation 2.4 (latest at this time is 2.4.0-rc01):

implementation "androidx.navigation:navigation-compose:2.4.0-rc01"
  • Related