任何人都知道这是什么错误意味着Android的标签? [英] Anyone know what this error mean for android tabs?

查看:113
本文介绍了任何人都知道这是什么错误意味着Android的标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试一下网上的教程,并希望把该标签的布局XML。我已经改变从活动延伸到TabActivity。在布局XML的设计视图中,我有以下。

I am trying to try out the tutorial online and wanted to put the tab to the layout xml. I have change the extends from Activity to TabActivity. In the design view of the layout xml, I have the below.

在后期的通胀过程中的错误: TabHost需要与ID的TabWidget机器人:ID /标签。 查看id为标签中是com.android.layoutlib.bridge.MockView 以下类不能被找到:

Error during post inflation process: TabHost requires a TabWidget with id "android:id/tabs". View found with id 'tabs' is 'com.android.layoutlib.bridge.MockView' The following classes could not be found:

我一直在寻求解决方案,但他们没有固定的,除了我发现一个不同的语言。我试着用在谷歌的翻译,但不是这样的帮助。

I have looked for solution but none of them fixed except I found one in different language. I tried using the translator on google but not so helpful.

有谁设法得到了标签功能。

Does anyone manage to get the tabs function.

我使用的是Android 2.2阿比与Eclipse IDE的开发

I am using Android 2.2 Api and develop with an eclipse IDE

推荐答案

已知错误的 HTTP://$c$c.google.com/p/android/issues/detail ID = 13092

一个用户建议构建目标切换为1.6和问题消失。显然,一个临时的解决办法。

A user suggested to switch build target to 1.6 and the issue goes away. Obviously a temporary fix.

这篇关于任何人都知道这是什么错误意味着Android的标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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