Search code examples
androidandroid-support-libraryandroid-actionbar-compat

The hierarchy of the type activity is inconsistent when extending ActionBarActivity


Hi I've got new v7 support library with appcompat actionbar and when I want to extend from ActionBarActivity as documented here, eclipse show me this error

The hierarchy of the type testActivity is inconsistent

and when I move my courser on ActionBarActivity class it says

The type android.support.v4.app.TaskStackBuilder$SupportParentable cannot be resolved. It is indirectly referenced from required .class files

now how can I Solve this issue?


Solution

  • you should use new support v4 library that just has been released in sdk v18