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

时间:2014-02-27 18:03:31   收藏:0   阅读:1191

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.,布布扣,bubuko.com

原文:http://blog.csdn.net/miluowan/article/details/19993631

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!