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

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

上一篇:cocos2dx 监听Android返回键、菜单键等


下一篇:Android菜鸟的成长笔记(26)——普通广播与有序广播