java.lang.RuntimeException

Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs'

Solutions on the web16211

  • Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs'
  • via Stack Overflow by Nahid
    , 9 months ago
    Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs'
  • Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs'
  • Stack trace

    • java.lang.RuntimeException: Your TabHost must have a TabWidget whose id attribute is 'android.R.id.tabs' at android.widget.TabHost.setup(TabHost.java:132) at com.nahid.com.gsdambassadorpractice.fragment.Test.onCreateView(Test.java:85) at android.support.v4.app.Fragment.performCreateView(Fragment.java:1974) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.