任何人都知道这是什么错误意味着Android的标签?错误、标签、这是什么、Android

2023-09-06 22:18:15 作者:但饮一杯无妨

我想尝试一下网上的教程,并希望把该标签的布局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.