Android Studio – How to get rid of `Unresolved reference: NavController` error in Android-Kotlin?
Other than the NavController, I am getting the same error for AppCompatActivity(), layoutInflater, and a few more in the below mentioned code. Error: Unresolved reference: NavController and so on... MY Code: package com.example.wordsapp import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.NavController import…