Android error: cannot resolve symbol NavigationView

Solution: Introduce the following dependencies
  in build.gradle(app) 带有App后缀的
: pay attention to the version numbercompileSdkVersion 一致

Insert picture description here

Guess you like

Origin blog.csdn.net/m0_46267375/article/details/109228782