04-12 05:40:55.577:I / Choreographer(639):跳过50帧!应用程序可能在其主线程上做了太多工作 .
每当我在Android模拟器上运行我的应用程序时它显示繁忙(我的意思是它旋转)并且它确实需要花费很多时间而且有时候它会很忙
亲切的,有人可以帮助我吗?
并且有任何版本的Android模拟器运行快速我的很慢?
几乎在所有情况下,仿真器都很慢 . 当您使用真实设备时,它可能不再出现警告 . 无论如何,那个发生在 you use the UI thread too much 时 . 可能的原因是:
在UI线程上加载数据库信息 . 使用Loader
在UI线程上运行长进程 . 使用AsyncTaskLoader
The emulator is just slow, as you don't overload the UI thread. Try your code on a real device or follow the guidelines here and here
还有很多工作要做 onCreate :用configChanges设置活动
onCreate
1 回答
几乎在所有情况下,仿真器都很慢 . 当您使用真实设备时,它可能不再出现警告 . 无论如何,那个发生在 you use the UI thread too much 时 . 可能的原因是:
在UI线程上加载数据库信息 . 使用Loader
在UI线程上运行长进程 . 使用AsyncTaskLoader
The emulator is just slow, as you don't overload the UI thread. Try your code on a real device or follow the guidelines here and here
还有很多工作要做
onCreate
:用configChanges设置活动