09-20 17:55:38.457: E/AndroidRuntime(14963): FATAL EXCEPTION: main 09-20 17:55:38.457: E/AndroidRuntime(14963): Process: com.clockrock.freeshare, PID: 14963 09-20 17:55:38.457: E/AndroidRuntime(14963): java.lang.NoSuchMethodError: com.clockrock.tieba.WritePostActivity.getDrawable 09-20 17:55:38.457: E/AndroidRuntime(14963): at com.clockrock.tieba.WritePostActivity.onCreate(WritePostActivity.java:236) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.Activity.performCreate(Activity.java:5451) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.os.Handler.dispatchMessage(Handler.java:110) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.os.Looper.loop(Looper.java:193) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-20 17:55:38.457: E/AndroidRuntime(14963): at java.lang.reflect.Method.invokeNative(Native Method) 09-20 17:55:38.457: E/AndroidRuntime(14963): at java.lang.reflect.Method.invoke(Method.java:515) 09-20 17:55:38.457: E/AndroidRuntime(14963): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-20 17:55:38.457: E/AndroidRuntime(14963): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-20 17:55:38.457: E/AndroidRuntime(14963): at dalvik.system.NativeStart.main(Native Method) 错误原因:actionbar导致的问题,theme用了自定义的方法, 09-21 20:47:27.169: V/ActivityThread(12551): Finishing stop of ActivityRecord{4255e6c0 token=android.os.BinderProxy@4255dd38 {com.example.nongmin/com.jarvis.mytaobao.home.Main_FA}}: show=false win=com.android.internal.policy.impl.PhoneWindow@426115e0 09-21 20:47:27.169: V/PhoneWindow(12551): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{42560738 com.example.nongmin/com.jarvis.mytaobao.home.Main_FA,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{42612570 I.E..... R....... 0,0-1080,1920} 09-21 20:48:28.084: V/ActivityThread(12551): Finishing stop of ActivityRecord{4255e6c0 token=android.os.BinderProxy@4255dd38 {com.example.nongmin/com.jarvis.mytaobao.home.Main_FA}}: show=false win=com.android.internal.policy.impl.PhoneWindow@426115e0 09-21 20:48:28.084: V/PhoneWindow(12551): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{42560738 com.example.nongmin/com.jarvis.mytaobao.home.Main_FA,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{42612570 I.E..... R....... 0,0-1080,1920} 09-21 20:48:28.084: D/ActivityThread(12551): ACT-STOP_ACTIVITY_HIDE handled : 0 / android.os.BinderProxy@4255dd38 09-21 21:50:03.947: V/ActivityThread(13204): Finishing stop of ActivityRecord{425581b8 token=android.os.BinderProxy@42557830 {com.example.nongmin/com.jarvis.mytaobao.home.Main_FA}}: show=false win=com.android.internal.policy.impl.PhoneWindow@4260c090 09-21 21:50:03.948: V/PhoneWindow(13204): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{4255a230 com.example.nongmin/com.jarvis.mytaobao.home.Main_FA,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{4260d020 I.E..... R......D 0,0-1080,1920} 09-21 21:57:12.848: V/ActivityThread(13486): Finishing stop of ActivityRecord{4255a348 token=android.os.BinderProxy@425599c0 {com.example.nongmin/com.jarvis.mytaobao.home.Main_FA}}: show=false win=com.android.internal.policy.impl.PhoneWindow@4260e420 09-21 21:57:12.848: V/PhoneWindow(13486): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{4255d470 com.example.nongmin/com.jarvis.mytaobao.home.Main_FA,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{4260f250 I.E..... R....... 0,0-1080,1920} 错误原因:到目前为止还不知道 09-22 11:46:26.129: E/AndroidRuntime(22180): FATAL EXCEPTION: main 09-22 11:46:26.129: E/AndroidRuntime(22180): Process: com.example.nongmin, PID: 22180 09-22 11:46:26.129: E/AndroidRuntime(22180): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoActivity}: java.lang.NullPointerException 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.os.Looper.loop(Looper.java:193) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 11:46:26.129: E/AndroidRuntime(22180): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 11:46:26.129: E/AndroidRuntime(22180): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 11:46:26.129: E/AndroidRuntime(22180): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 11:46:26.129: E/AndroidRuntime(22180): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 11:46:26.129: E/AndroidRuntime(22180): at dalvik.system.NativeStart.main(Native Method) 09-22 11:46:26.129: E/AndroidRuntime(22180): Caused by: java.lang.NullPointerException 09-22 11:46:26.129: E/AndroidRuntime(22180): at com.jarvis.movies.VideoGridAdapter.getCount(VideoGridAdapter.java:42) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.widget.GridView.setAdapter(GridView.java:191) 09-22 11:46:26.129: E/AndroidRuntime(22180): at com.jarvis.movies.VideoActivity.onCreate(VideoActivity.java:165) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.Activity.performCreate(Activity.java:5451) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 11:46:26.129: E/AndroidRuntime(22180): ... 11 more 错误原因:自定义adapter重载函数getView出错了,无法获取data.getCount,其实最后发现是生成adapter的时候传递过去的数据集类型为空,导致的,然后在onCreate函数里面异步数据还没有请求就把listView加载出来了,导致出错 09-22 15:13:50.032: W/dalvikvm(23021): threadid=1: thread exiting with uncaught exception (group=0x41cdace0) 09-22 15:13:50.032: W/dalvikvm(23021): threadid=1: uncaught exception occurred 09-22 15:13:50.032: W/System.err(23021): java.lang.NumberFormatException: Invalid long: "2015-09-21000" 09-22 15:13:50.035: W/System.err(23021): at java.lang.Long.invalidLong(Long.java:124) 09-22 15:13:50.035: W/System.err(23021): at java.lang.Long.parse(Long.java:361) 09-22 15:13:50.035: W/System.err(23021): at java.lang.Long.parseLong(Long.java:352) 09-22 15:13:50.035: W/System.err(23021): at java.lang.Long.parseLong(Long.java:318) 09-22 15:13:50.036: W/System.err(23021): at com.clockrock.tools.TimeHandler.handle(TimeHandler.java:18) 09-22 15:13:50.036: W/System.err(23021): at com.clockrock.tieba.adapter.TiebaListAdapter.getView(TiebaListAdapter.java:91) 09-22 15:13:50.036: W/System.err(23021): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 15:13:50.036: W/System.err(23021): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 15:13:50.036: W/System.err(23021): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 15:13:50.036: W/System.err(23021): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.036: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.036: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1189) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:603) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.036: W/System.err(23021): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1456) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.036: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:921) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:818) 09-22 15:13:50.037: W/System.err(23021): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:495) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.038: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.038: W/System.err(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.038: W/System.err(23021): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 15:13:50.038: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1444) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1885) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6935) 09-22 15:13:50.038: W/System.err(23021): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788) 09-22 15:13:50.038: W/System.err(23021): at android.view.Choreographer.doCallbacks(Choreographer.java:591) 09-22 15:13:50.038: W/System.err(23021): at android.view.Choreographer.doFrame(Choreographer.java:560) 09-22 15:13:50.038: W/System.err(23021): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774) 09-22 15:13:50.038: W/System.err(23021): at android.os.Handler.handleCallback(Handler.java:808) 09-22 15:13:50.038: W/System.err(23021): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 15:13:50.038: W/System.err(23021): at android.os.Looper.loop(Looper.java:193) 09-22 15:13:50.038: W/System.err(23021): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 15:13:50.038: W/System.err(23021): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 15:13:50.038: W/System.err(23021): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 15:13:50.038: W/System.err(23021): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 15:13:50.038: W/System.err(23021): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 15:13:50.038: W/System.err(23021): at dalvik.system.NativeStart.main(Native Method) 09-22 15:13:50.038: W/dalvikvm(23021): threadid=1: calling UncaughtExceptionHandler 09-22 15:13:50.038: I/dalvikvm(23021): calling Ljava/lang/ThreadGroup;.uncaughtException 09-22 15:13:50.044: E/AndroidRuntime(23021): FATAL EXCEPTION: main 09-22 15:13:50.044: E/AndroidRuntime(23021): Process: com.clockrock.freeshare, PID: 23021 09-22 15:13:50.044: E/AndroidRuntime(23021): java.lang.NumberFormatException: Invalid long: "2015-09-21000" 09-22 15:13:50.044: E/AndroidRuntime(23021): at java.lang.Long.invalidLong(Long.java:124) 09-22 15:13:50.044: E/AndroidRuntime(23021): at java.lang.Long.parse(Long.java:361) 09-22 15:13:50.044: E/AndroidRuntime(23021): at java.lang.Long.parseLong(Long.java:352) 09-22 15:13:50.044: E/AndroidRuntime(23021): at java.lang.Long.parseLong(Long.java:318) 09-22 15:13:50.044: E/AndroidRuntime(23021): at com.clockrock.tools.TimeHandler.handle(TimeHandler.java:18) 09-22 15:13:50.044: E/AndroidRuntime(23021): at com.clockrock.tieba.adapter.TiebaListAdapter.getView(TiebaListAdapter.java:91) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1189) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:603) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1456) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:921) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:818) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:495) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.044: E/AndroidRuntime(23021): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1444) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewR 错误原因:后台传回的时间撮是错误的, 09-22 15:19:01.818: E/AndroidRuntime(23079): FATAL EXCEPTION: main 09-22 15:19:01.818: E/AndroidRuntime(23079): Process: com.clockrock.freeshare, PID: 23079 09-22 15:19:01.818: E/AndroidRuntime(23079): java.lang.IllegalStateException: ImageLoader must be init with configuration before using 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:568) 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:208) 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:303) 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.clockrock.tieba.adapter.TiebaListAdapter.getView(TiebaListAdapter.java:139) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1189) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:603) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1456) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:921) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:818) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:495) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewRootIm 错误原因:使用的第三方图片异步加载的插件没有在application中初始化 09-22 15:26:31.181: W/dalvikvm(23197): threadid=1: calling UncaughtExceptionHandler 09-22 15:26:31.181: I/dalvikvm(23197): calling Ljava/lang/ThreadGroup;.uncaughtException 09-22 15:26:31.185: E/AndroidRuntime(23197): FATAL EXCEPTION: main 09-22 15:26:31.185: E/AndroidRuntime(23197): Process: com.clockrock.freeshare, PID: 23197 09-22 15:26:31.185: E/AndroidRuntime(23197): java.lang.IllegalStateException: ImageLoader must be init with configuration before using 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:568) 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:208) 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:303) 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.clockrock.tieba.adapter.TiebaListAdapter.getView(TiebaListAdapter.java:139) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1189) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:603) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1456) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:921) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:818) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:495) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewRootIm 错误原因:使用的第三方图片异步加载的插件没有在application中初始化 09-22 16:35:06.955: V/InputMethodManager(24405): onWindowFocus: android.support.v7.internal.widget.TintEditText{429bf688 VFED..CL .F....I. 282,0-780,135 #7f09007a app:id/comment_content} softInputMode=288 first=true flags=#1810100 09-22 16:35:06.956: V/InputMethodManager(24405): START INPUT: android.support.v7.internal.widget.TintEditText{429bf688 VFED..CL .F....I. 282,0-780,135 #7f09007a app:id/comment_content} ic=com.android.internal.widget.EditableInputConnection@425e3d98 tba=android.view.inputmethod.EditorInfo@425e3c88 controlFlags=#107 09-22 16:35:07.222: V/ActivityThread(24405): Finishing stop of ActivityRecord{42563a80 token=android.os.BinderProxy@42563098 {com.clockrock.freeshare/com.clockrock.freeshare.StartActivity}}: show=false win=com.android.internal.policy.impl.PhoneWindow@42633348 09-22 16:35:07.223: V/PhoneWindow(24405): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{428af538 com.clockrock.freeshare/com.clockrock.freeshare.StartActivity,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{42638a98 I.E..... R....... 0,0-1080,1920} 错误原因:到目前为止还不知道 我觉得问题的真正原因在于 填充视图的数据没有成功解析,导致一直空的,视图加载不出来 09-22 17:20:33.656: E/AndroidRuntime(24710): FATAL EXCEPTION: main 09-22 17:20:33.656: E/AndroidRuntime(24710): Process: com.example.nongmin, PID: 24710 09-22 17:20:33.656: E/AndroidRuntime(24710): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.nongmin/com.jarvis.movies.VideoStartActivity}; have you declared this activity in your AndroidManifest.xml? 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Instrumentation$Injector.handleActivityNotFoundInGuestMode(Instrumentation.java:1930) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1694) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1471) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Activity.startActivityForResult(Activity.java:3553) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Activity.startActivityForResult(Activity.java:3505) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:829) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.support.v4.app.Fragment.startActivity(Fragment.java:897) 09-22 17:20:33.656: E/AndroidRuntime(24710): at com.jarvis.mytaobao.home.Home_F$3.onItemClick(Home_F.java:123) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AdapterView.performItemClick(AdapterView.java:299) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView.performItemClick(AbsListView.java:1805) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView$PerformClick.run(AbsListView.java:3972) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView.touchModeResetForMeiZu(AbsListView.java:10624) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView.access$1400(AbsListView.java:122) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView$3.run(AbsListView.java:4978) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.os.Handler.handleCallback(Handler.java:808) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.os.Looper.loop(Looper.java:193) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:20:33.656: E/AndroidRuntime(24710): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:20:33.656: E/AndroidRuntime(24710): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:20:33.656: E/AndroidRuntime(24710): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:20:33.656: E/AndroidRuntime(24710): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:20:33.656: E/AndroidRuntime(24710): at dalvik.system.NativeStart.main(Native Method) 错误原因:清单文件没有申明 09-22 17:22:07.218: E/AndroidRuntime(24813): FATAL EXCEPTION: main 09-22 17:22:07.218: E/AndroidRuntime(24813): Process: com.example.nongmin, PID: 24813 09-22 17:22:07.218: E/AndroidRuntime(24813): java.lang.IllegalStateException: ImageLoader must be init with configuration before using 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:568) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:208) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:303) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.movies.VideoGridViewAdapter.getView(VideoGridViewAdapter.java:69) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.obtainView(ExtendableListView.java:1572) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.makeAndAddView(ExtendableListView.java:1396) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.fillDown(ExtendableListView.java:1282) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.fillFromTop(ExtendableListView.java:1330) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.layoutChildren(ExtendableListView.java:581) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.StaggeredGridView.layoutChildren(StaggeredGridView.java:305) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.onLayout(ExtendableListView.java:507) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:500) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.FrameLayout.onLayout(FrameLayout.java:435) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:500) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.FrameLayout.onLayout(FrameLayout.java:435) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2859) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2518) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6935) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.Choreographer.doCallbacks(Choreographer.java:591) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.Choreographer.doFrame(Choreographer.java:560) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.os.Handler.handleCallback(Handler.java:808) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.os.Looper.loop(Looper.java:193) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:22:07.218: E/AndroidRuntime(24813): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:22:07.218: E/AndroidRuntime(24813): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:22:07.218: E/AndroidRuntime(24813): at dalvik.system.NativeStart.main(Native Method) 错误原因:使用的第三方图片异步加载的插件没有在application中初始化 09-22 17:29:44.379: E/AndroidRuntime(24966): FATAL EXCEPTION: main 09-22 17:29:44.379: E/AndroidRuntime(24966): Process: com.example.nongmin, PID: 24966 09-22 17:29:44.379: E/AndroidRuntime(24966): java.lang.IllegalStateException: ImageLoader must be init with configuration before using 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:568) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:208) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:303) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.movies.VideoGridViewAdapter.getView(VideoGridViewAdapter.java:69) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.obtainView(ExtendableListView.java:1572) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.makeAndAddView(ExtendableListView.java:1396) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.fillDown(ExtendableListView.java:1282) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.fillFromTop(ExtendableListView.java:1330) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.layoutChildren(ExtendableListView.java:581) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.StaggeredGridView.layoutChildren(StaggeredGridView.java:305) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.onLayout(ExtendableListView.java:507) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:500) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.FrameLayout.onLayout(FrameLayout.java:435) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:500) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.FrameLayout.onLayout(FrameLayout.java:435) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2859) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2518) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6935) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.Choreographer.doCallbacks(Choreographer.java:591) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.Choreographer.doFrame(Choreographer.java:560) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.os.Handler.handleCallback(Handler.java:808) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.os.Looper.loop(Looper.java:193) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:29:44.379: E/AndroidRuntime(24966): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:29:44.379: E/AndroidRuntime(24966): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:29:44.379: E/AndroidRuntime(24966): at dalvik.system.NativeStart.main(Native Method) 错误原因:使用的第三方图片异步加载的插件没有在application中初始化 09-22 17:42:43.656: E/libEGL(25391): call to OpenGL ES API with no current context (logged once per thread) 09-22 17:42:44.865: E/AndroidRuntime(25391): FATAL EXCEPTION: main 09-22 17:42:44.865: E/AndroidRuntime(25391): Process: com.example.nongmin, PID: 25391 09-22 17:42:44.865: E/AndroidRuntime(25391): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.app.ContextImpl.startActivity(ContextImpl.java:1218) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.app.ContextImpl.startActivity(ContextImpl.java:1205) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.content.ContextWrapper.startActivity(ContextWrapper.java:311) 09-22 17:42:44.865: E/AndroidRuntime(25391): at com.jarvis.movies.VideoGridViewAdapter$1.onClick(VideoGridViewAdapter.java:85) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.view.View.performClick(View.java:4632) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.view.View$PerformClick.run(View.java:19385) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.os.Handler.handleCallback(Handler.java:808) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.os.Looper.loop(Looper.java:193) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:42:44.865: E/AndroidRuntime(25391): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:42:44.865: E/AndroidRuntime(25391): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:42:44.865: E/AndroidRuntime(25391): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:42:44.865: E/AndroidRuntime(25391): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:42:44.865: E/AndroidRuntime(25391): at dalvik.system.NativeStart.main(Native Method) 错误原因:上下文的问题 09-22 17:48:54.629: E/libEGL(25604): call to OpenGL ES API with no current context (logged once per thread) 09-22 17:48:55.777: E/AndroidRuntime(25604): FATAL EXCEPTION: main 09-22 17:48:55.777: E/AndroidRuntime(25604): Process: com.example.nongmin, PID: 25604 09-22 17:48:55.777: E/AndroidRuntime(25604): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoNewsDetailActivity}: java.lang.NullPointerException 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.os.Looper.loop(Looper.java:193) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:48:55.777: E/AndroidRuntime(25604): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:48:55.777: E/AndroidRuntime(25604): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:48:55.777: E/AndroidRuntime(25604): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:48:55.777: E/AndroidRuntime(25604): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:48:55.777: E/AndroidRuntime(25604): at dalvik.system.NativeStart.main(Native Method) 09-22 17:48:55.777: E/AndroidRuntime(25604): Caused by: java.lang.NullPointerException 09-22 17:48:55.777: E/AndroidRuntime(25604): at com.jarvis.movies.VideoNewsDetailActivity.onCreate(VideoNewsDetailActivity.java:52) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.Activity.performCreate(Activity.java:5451) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 17:48:55.777: E/AndroidRuntime(25604): ... 11 more 错误原因:加入actionBar的时候用了自己定义的theme 09-22 17:52:11.744: E/libEGL(25781): call to OpenGL ES API with no current context (logged once per thread) 09-22 17:52:12.724: E/AndroidRuntime(25781): FATAL EXCEPTION: main 09-22 17:52:12.724: E/AndroidRuntime(25781): Process: com.example.nongmin, PID: 25781 09-22 17:52:12.724: E/AndroidRuntime(25781): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoNewsDetailActivity}: java.lang.NullPointerException 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.os.Looper.loop(Looper.java:193) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:52:12.724: E/AndroidRuntime(25781): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:52:12.724: E/AndroidRuntime(25781): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:52:12.724: E/AndroidRuntime(25781): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:52:12.724: E/AndroidRuntime(25781): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:52:12.724: E/AndroidRuntime(25781): at dalvik.system.NativeStart.main(Native Method) 09-22 17:52:12.724: E/AndroidRuntime(25781): Caused by: java.lang.NullPointerException 09-22 17:52:12.724: E/AndroidRuntime(25781): at com.jarvis.movies.VideoNewsDetailActivity.onCreate(VideoNewsDetailActivity.java:52) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.Activity.performCreate(Activity.java:5451) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 17:52:12.724: E/AndroidRuntime(25781): ... 11 more 错误原因:加入actionBar的时候用了自己定义的theme 09-22 17:54:59.343: E/libEGL(26085): call to OpenGL ES API with no current context (logged once per thread) 09-22 17:55:00.362: E/AndroidRuntime(26085): FATAL EXCEPTION: main 09-22 17:55:00.362: E/AndroidRuntime(26085): Process: com.example.nongmin, PID: 26085 09-22 17:55:00.362: E/AndroidRuntime(26085): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoNewsDetailActivity}: java.lang.NullPointerException 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.os.Looper.loop(Looper.java:193) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:55:00.362: E/AndroidRuntime(26085): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:55:00.362: E/AndroidRuntime(26085): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:55:00.362: E/AndroidRuntime(26085): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:55:00.362: E/AndroidRuntime(26085): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:55:00.362: E/AndroidRuntime(26085): at dalvik.system.NativeStart.main(Native Method) 09-22 17:55:00.362: E/AndroidRuntime(26085): Caused by: java.lang.NullPointerException 09-22 17:55:00.362: E/AndroidRuntime(26085): at com.jarvis.movies.VideoNewsDetailActivity.onCreate(VideoNewsDetailActivity.java:51) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.Activity.performCreate(Activity.java:5451) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 17:55:00.362: E/AndroidRuntime(26085): ... 11 more 错误原因:加入actionBar的时候用了自己定义的theme 09-22 18:04:51.870: E/libEGL(26436): call to OpenGL ES API with no current context (logged once per thread) 09-22 18:04:52.790: E/AndroidRuntime(26436): FATAL EXCEPTION: main 09-22 18:04:52.790: E/AndroidRuntime(26436): Process: com.example.nongmin, PID: 26436 09-22 18:04:52.790: E/AndroidRuntime(26436): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoNewsDetailActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.os.Looper.loop(Looper.java:193) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 18:04:52.790: E/AndroidRuntime(26436): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 18:04:52.790: E/AndroidRuntime(26436): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 18:04:52.790: E/AndroidRuntime(26436): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 18:04:52.790: E/AndroidRuntime(26436): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 18:04:52.790: E/AndroidRuntime(26436): at dalvik.system.NativeStart.main(Native Method) 09-22 18:04:52.790: E/AndroidRuntime(26436): Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:152) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.support.v7.app.ActionBarActivityDelegateBase.onCreate(ActionBarActivityDelegateBase.java:149) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:123) 09-22 18:04:52.790: E/AndroidRuntime(26436): at com.jarvis.movies.VideoNewsDetailActivity.onCreate(VideoNewsDetailActivity.java:47) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.Activity.performCreate(Activity.java:5451) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 18:04:52.790: E/AndroidRuntime(26436): ... 11 more 错误原因:加入actionBar的时候用了自己定义的theme 09-22 20:44:13.077: E/AndroidRuntime(30048): FATAL EXCEPTION: main 09-22 20:44:13.077: E/AndroidRuntime(30048): Process: com.clockrock.freeshare, PID: 30048 09-22 20:44:13.077: E/AndroidRuntime(30048): java.lang.NumberFormatException: Invalid long: "2015-09-10000" 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.Long.invalidLong(Long.java:124) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.Long.parse(Long.java:361) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.Long.parseLong(Long.java:352) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.Long.parseLong(Long.java:318) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.clockrock.tools.TimeHandler.handle(TimeHandler.java:18) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.clockrock.tieba.TieziDetailActivity.initTop(TieziDetailActivity.java:512) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.clockrock.tieba.TieziDetailActivity.access$4(TieziDetailActivity.java:509) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.clockrock.tieba.TieziDetailActivity$1.handleMessage(TieziDetailActivity.java:176) 09-22 20:44:13.077: E/AndroidRuntime(30048): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 20:44:13.077: E/AndroidRuntime(30048): at android.os.Looper.loop(Looper.java:193) 09-22 20:44:13.077: E/AndroidRuntime(30048): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 20:44:13.077: E/AndroidRuntime(30048): at dalvik.system.NativeStart.main(Native Method) 错误原因:后台传回的时间撮是错误的, 09-22 20:48:29.273: E/AndroidRuntime(30140): FATAL EXCEPTION: main 09-22 20:48:29.273: E/AndroidRuntime(30140): Process: com.clockrock.freeshare, PID: 30140 09-22 20:48:29.273: E/AndroidRuntime(30140): java.lang.NumberFormatException: Invalid long: "2015-09-22000" 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.Long.invalidLong(Long.java:124) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.Long.parse(Long.java:361) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.Long.parseLong(Long.java:352) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.Long.parseLong(Long.java:318) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.clockrock.tools.TimeHandler.handle(TimeHandler.java:18) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.clockrock.tieba.TieziDetailActivity$CommentListAdapter.getView(TieziDetailActivity.java:845) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.support.v7.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:453) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1444) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1885) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6935) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.Choreographer.doCallbacks(Choreographer.java:591) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.Choreographer.doFrame(Choreographer.java:560) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.os.Handler.handleCallback(Handler.java:808) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.os.Looper.loop(Looper.java:193) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 20:48:29.273: E/AndroidRuntime(30140): at dalvik.system.NativeStart.main(Native Method) 错误原因:后台传回的时间撮是错误的,
Android调试的各种bug
2019-07-08 15:35:49
浏览数 (1)