android TabHost程序运行出错解决方法
2013-08-29 22:31
351 查看
1.your content must have a TabHost...
解决方法:把你的TabHost的id属性值改成如下
<TabHost id = "@android:id/tabhost>
2.your content must have a TabHost...
解决方法:把你的TabWidget的id属性值改成如下
<TabWidget id = "@android:id/tabs>
把你的FrameLayout的id属性值改成如下
<FrameLayout id = "@android:id/content>
重新发布,一切ok
解决方法:把你的TabHost的id属性值改成如下
<TabHost id = "@android:id/tabhost>
2.your content must have a TabHost...
解决方法:把你的TabWidget的id属性值改成如下
<TabWidget id = "@android:id/tabs>
把你的FrameLayout的id属性值改成如下
<FrameLayout id = "@android:id/content>
重新发布,一切ok
相关文章推荐
- 小米5手机Android运行程序闪退出错解决方法
- MPICH运行程序时出错之解决方法
- 关于androidstuio运行程序遇到 Error:(11, 8) 错误: 无法访问HttpEntity 找不到org.apache.http.HttpEntity的类文件解决方法
- vs2013的MFC中 添加Richedit2.0控件导致程序出错或无法运行的解决方法
- window 7 运行asp.net程序出错-IIS7.0 检测到在集成的托管管道模式下不适用的ASP.NET设置 的解决方法
- 【Arcgis for android】程序运行出错原因分析及解决(超详细)
- 编译Android驱动对应的C测试程序出错的解决方法以及正确流程
- BCB 程序运行时出错“stack overflow” 的解决方法
- Eclipse运行Android程序报Error generating final archive: Unable to get debug signature key错误解决方法
- 在Eclipse中运行Android程序报 Failed to write core dump. Minidumps are not enabled by default on client versions of Windows 解决方法
- Android JNI 编译正确 但是提示程序有错误无法运行 而且还看不到任何错误提示 的解决方法
- Android开发学习解决程序运行就出错的一个问题
- 〖Android〗从Android Studio转为Eclipse开发项目运行程序闪退的解决方法
- android2.x的桌面项目程序在android4.0上运行后出现 java.lang.NoClassDefFoundError错误 解决方法
- 【Arcgis for android】程序运行出错原因分析及解决(超详细)
- Android JNI 编译正确 但是提示程序有错误无法运行 而且还看不到任何错误提示 的解决方法
- MyEclipse运行web程序出错解决方法
- Eclipse上运行Android程序时,总出现emulator-5554 disconnected!的解决方法
- android工程下不能运行java main程序的解决方法
- android 程序运行出现 java.lang.NoClassDefFoundError的原因与解决方法之一