Home > OS >  Android Navigation Drawer framework issue | Kotlin | 2022
Android Navigation Drawer framework issue | Kotlin | 2022

Time:08-01

I am trying to implement a navigation drawer in an existing android app using Kotlin. I have created 2 activities. Now I want to implement a Navigation Drawer in each of these activities. The implementation is quite easy. I am facing issues when I want to add a navigation drawer activity to my application. The code is never compiled. I tried many things. But nothing is working.

The version of my android studio. Android Studio version

List of dependencies Dependecies

My navigation drawer activity. My Navigation Drawer Activity

The monster error. Here is the monster error

Please suggest what I am missing.

CodePudding user response:

Remove the dependencies androidx.navigation without ktx at the end and update the Kotlin version in the project to at least 1.6.0.

  • Related