Page 2 of 2

Re: Low Health Crash

Posted: Thu Feb 09, 2017 8:47 pm
by rijackson741
I haven't tried eclipse, but the Android Studio installer installs everything you need. Other than the AT sources, of course. You need a copy of those on your PC, then when you install AS you can import them as a new project. Then you create the emulator, and off you go! I can walk someone through this if necessary.

Re: Low Health Crash

Posted: Fri Feb 10, 2017 7:25 pm
by Nick
02-10 12:24:44.225 2585-2585/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.gpl.rpg.AndorsTrail, PID: 2585
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:831)
at com.gpl.rpg.AndorsTrail.controller.MonsterMovementController.moveMonsters(MonsterMovementController.java:31)
at com.gpl.rpg.AndorsTrail.controller.GameRoundController.onNewTick(GameRoundController.java:98)
at com.gpl.rpg.AndorsTrail.controller.GameRoundController.onTick(GameRoundController.java:30)
at com.gpl.rpg.AndorsTrail.util.TimedMessageTask.tick(TimedMessageTask.java:31)
at com.gpl.rpg.AndorsTrail.util.TimedMessageTask.handleMessage(TimedMessageTask.java:26)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

well.... at least it's not an NPE :D

Re: Low Health Crash

Posted: Fri Feb 10, 2017 7:27 pm
by Nick
I just got the logs off android studio since that's what I'm use to. perhaps I'll see if I can pull the code down and fix this error if no one else gets to it first. I wont be looking at it till at least next week I think.

Re: Low Health Crash

Posted: Fri Feb 10, 2017 8:05 pm
by Zukero
NPEs are easier to solve. I'll look into it.