gpt4 book ai didi

android - 扩展ActionBarActivity时类型activity的层级不一致

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:20:23 24 4
gpt4 key购买 nike

您好,我有新的 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com