Wednesday, July 13, 2011

Graphical Layout can't found TabWidget

When useing a TabWidget with TabHost you can get this error:

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:


Try to change the default Android version to 1.5 or 1.6, you should now be able to see the correct graphic layout.

No comments:

Post a Comment