您好,我有新的 v7 支持库和 appcompat 操作栏,当我想从 ActionBarActivity 扩展时,如记录 here , eclipse 告诉我这个错误
The hierarchy of the type testActivity is inconsistent
当我将 courser 移动到 ActionBarActivity 类时,它说
The type android.support.v4.app.TaskStackBuilder$SupportParentable cannot be resolved. It is indirectly referenced from required .class files
现在我该如何解决这个问题?
最佳答案
你应该使用刚刚在 sdk v18 中发布的新支持 v4 库
关于android - 扩展ActionBarActivity时类型activity的层级不一致,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17851515/