为什么MainActivity2继承的不是FragmentActivity也可以正常运行??我自己测试就出错,不管静态加载的fragment有没有id标签,只要MainActivity2继承的是Activity类就报错,错误类型跟视频中的一样:Binary xml file line #7:Error inflating class fragment
2014-07-11
12 回答
请问错在哪里??谢谢大家
11-08 21:11:18.824: E/memtrack(1884): Couldn't load memtrack module (No such file or directory)
11-08 21:11:18.824: E/android.os.Debug(1884): failed to load memtrack module: -2
11-08 21:11:21.194: E/memtrack(1895): Couldn't load memtrack module (No such file or directory)
11-08 21:11:21.194: E/android.os.Debug(1895): failed to load memtrack module: -2
11-08 21:11:21.724: E/libEGL(49): called unimplemented OpenGL ES API
11-08 21:11:21.724: E/libEGL(49): called unimplemented OpenGL ES API
11-08 21:11:21.724: E/libEGL(49): called unimplemented OpenGL ES API
11-08 21:11:21.724: E/libEGL(49): called unimplemented OpenGL ES API
11-08 21:11:21.724: E/SurfaceFlinger(49): glCheckFramebufferStatusOES error 522290220
11-08 21:11:21.724: E/SurfaceFlinger(49): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
11-08 21:11:21.724: E/libEGL(49): called unimplemented OpenGL ES API
11-08 21:11:21.724: E/libEGL(49): called unimplemented OpenGL ES API
举报