Cannot resolve symbol DrawerLayout

前端 未结 3 2279
梦如初夏
梦如初夏 2021-02-19 16:55

I\'m trying to implement the Navigation Drawer as shown here: http://developer.android.com/training/implementing-navigation/nav-drawer.html#top

My code seems to be ok,

3条回答
  •  一生所求
    2021-02-19 17:13

    You need to reference the support library in your project dependencies. Import the jar package into your java build path using the Project/Properties/Java Build Path/Libraries tab and use the button 'Add External JARs....'

    Now compile the project.

提交回复
热议问题