三种错误都加上这个就可以了
Android】Error: Expected resource of type styleable [ResourceType] ],
Error: Expected resource of type id [ResourceTyp
Error: Expected resource of type raw [ResourceType
只有在打包的时候会出现,运行是没问题的
C:\wark\ksbniu\src\com\kanjian\stock\maintabs\MainTabActivity.java:264: Error: Expected resource of type raw [ResourceType]
InputStream is = getResources().openRawResource(R.drawable.app_icon);
这样错误只需要加上
@SuppressWarnings("ResourceType")就可以了 在编译下就可以了