android:The application may be doing too much work on its main thread.

error log:

02-26 05:09:02.530: I/Choreographer(1434): Skipped 47 frames!  The application may be doing too much work on its main thread.
02-26 05:09:08.340: I/Choreographer(384): Skipped 47 frames!  The application may be doing too much work on its main thread.
02-26 05:09:08.790: I/Choreographer(384): Skipped 45 frames!  The application may be doing too much work on its main thread.
02-26 05:09:09.340: I/Choreographer(1434): Skipped 165 frames!  The application may be doing too much work on its main thread.
02-26 05:09:12.520: W/ActivityManager(384): Launch timeout has expired, giving up wake lock!

原因竟然是写成了这样。


public class ShouChe extends Activity{



public class MainActivity extends Activity implements OnScrollListener{

....

  }

}


本来是copy来MainActivity 换成ShouChe,结果嵌套了。。。。



android:The application may be doing too much work on its main thread.,,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。