The import android.support.v7.app.ActionBarDrawerToggle cannot be resolved -
i trying use actionbardrawertoggle
, getting error:
the import android.support.v7.app.actionbardrawertoggle cannot resolved
it got no problem importing v4 type understand, deprecated , doesn't function want to. further more, got no issue importing other v7 classes actionbar
or actionbaractivity
, happens actionbardrawertoggle only.
how can issue (and type) resolved?
some simple steps need follow:
- go project in navigator, right click on properties.
- go java build path tab on left.
- go libraries tab on top.
- click add external jars.
- go adt bundle folder, go sdk/extras/android/support/v7/appcompat/libs.
- select file android-support-v7-appcompat.jar
- go order , export , check box next new jar.
- click ok.
Comments
Post a Comment