控制台consol输出错误信息:Error: No resource found that matches the given name (at 'id' with value '@id+/tabhost')
解决办法:改为android:id="@android:id/tabhost"
在MainActivity.java里的引用:tabHost=(TabHost)findViewById(android.R.id.tabhost);
控制台consol输出错误信息:Error: No resource found that matches the given name (at 'id' with value '@id+/tabhost')
解决办法:改为android:id="@android:id/tabhost"
在MainActivity.java里的引用:tabHost=(TabHost)findViewById(android.R.id.tabhost);