延伸ActionBarActivity当活动类型的层次结构是不一致 [英] The hierarchy of the type activity is inconsistent when extending ActionBarActivity

查看:161
本文介绍了延伸ActionBarActivity当活动类型的层次结构是不一致的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我已经有了新的V7支持库有appcompat动作条,当我想从ActionBarActivity扩展为记录<一个href="http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html">here, ECLIPSE告诉我这个错误

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

当我将我的骏马上ActionBarActivity类,它说

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?

推荐答案

你应该使用刚刚已经发布了SDK V18新的支持V4库

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

这篇关于延伸ActionBarActivity当活动类型的层次结构是不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆