DrawerLayout and ActionBarDrawerToggle cannot be resolved to a type

前端 未结 2 1399
忘了有多久
忘了有多久 2021-01-28 00:44

I am getting a DrawerLayout and ActionBarDrawerToggle cannot be resolved to a type compile error.I am added an import to my project.But I am getting an error again

2条回答
  •  心在旅途
    2021-01-28 01:36

    Check if you have imported the DrawerLayout class properly.Check your import statement.It should be something like this.

    import android.support.v4.app.ActionBarDrawerToggle;
    import android.support.v4.widget.DrawerLayout;
    

    what about Order and Export tab

    did all options checked?

提交回复
热议问题