我正在制作一个RPG,我开始制作战斗系统,然后我决定让世界成为一个单独的活动,所以我复制了游戏循环类并制作了一个副本,当我切换到战斗模式类时,没有一个按钮响应,然后出现此错误
我认为这可能与他们都有自己的线程但事情不对的事实有关 - 有人可以帮助我吗?
09-15 19:27:20.178: ERROR/ActivityManager(60): ANR in com.this.game (com.this.game/.MyGame)
09-15 19:27:20.178: ERROR/ActivityManager(60): Reason: keyDispatchingTimedOut**
09-15 19:27:20.178: ERROR/ActivityManager(60): Load: 2.16 / 1.44 / 0.87
09-15 19:27:20.178: ERROR/ActivityManager(60): CPU usage from 109904ms to 64ms ago:
09-15 19:27:20.178: ERROR/ActivityManager(60): mediaserver: 43% = 41% user + 2% kernel / faults: 7794 minor
09-15 19:27:20.178: ERROR/ActivityManager(60): system_server: 18% = 15% user + 2% kernel / faults: 2642 minor 51 major
09-15 19:27:20.178: ERROR/ActivityManager(60): logcat: 1% = 0% user + 0% kernel / faults: 32 minor
09-15 19:27:20.178: ERROR/ActivityManager(60): adbd: 1% = 0% user + 1% kernel / faults: 43 minor
09-15 19:27:20.178: ERROR/ActivityManager(60): ndroid.launcher: 0% = 0% user + 0% kernel / faults: 744 minor 4 major
09-15 19:27:20.178: ERROR/ActivityManager(60): m.android.phone: 0% = 0% user + 0% kernel / faults: 280 minor
09-15 19:27:20.178: ERROR/ActivityManager(60): events/0: 0% = 0% user + 0% kernel
09-15 19:27:20.178: ERROR/ActivityManager(60): ronsoft.openwnn: 0% = 0% user + 0% kernel / faults: 214 minor 1 major
09-15 19:27:20.178: ERROR/ActivityManager(60): zygote: 0% = 0% user + 0% kernel / faults: 132 minor 1 major
09-15 19:27:20.178: ERROR/ActivityManager(60): com.svox.pico: 0% = 0% user + 0% kernel / faults: 135 minor
09-15 19:27:20.178: ERROR/ActivityManager(60): kswapd0: 0% = 0% user + 0% kernel
09-15 19:27:20.178: ERROR/ActivityManager(60): rild: 0% = 0% user + 0% kernel / faults: 50 minor 1 major
09-15 19:27:20.178: ERROR/ActivityManager(60): id.defcontainer: 0% = 0% user + 0% kernel / faults: 121 minor
09-15 19:27:20.178: ERROR/ActivityManager(60): +ev.bushido.coda: 0% = 0% user + 0% kernel
09-15 19:27:20.178: ERROR/ActivityManager(60): +ev.bushido.coda: 0% = 0% user + 0% kernel
09-15 19:27:20.178: ERROR/ActivityManager(60): TOTAL: 89% = 77% user + 11% kernel + 0% irq + 0% softirq