Stack Trace:
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
at android.os.Handler.(Handler.java:197)
at android.os.Handler.(Handler.java:111)
at android.app.Dialog.(Dialog.java:107)
at android.app.AlertDialog.(AlertDialog.java:114)
at android.app.AlertDialog$Builder.create(AlertDialog.java:931)
at activities.AnnoyingPopup.notice(AnnoyingPopup.java:52)
at viewcontrol.BattleSurfaceView.monsterTurn(BattleSurfaceView.java:176)
at viewcontrol.BattleSurfaceView.update(BattleSurfaceView.java:145)
at viewcontrol.ViewThread.run(ViewThread.java:57)
Stack Trace: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.(Handler.java:197)
at android.os.Handler.(Handler.java:111)
at android.app.Dialog.(Dialog.java:107)
at android.app.AlertDialog.(AlertDialog.java:114)
at android.app.AlertDialog$Builder.create(AlertDialog.java:931)
at activities.AnnoyingPopup.notice(AnnoyingPopup.java:52)
at viewcontrol.BattleSurfaceView.monsterTurn(BattleSurfaceView.java:176)
at viewcontrol.BattleSurfaceView.update(BattleSurfaceView.java:145)
at viewcontrol.ViewThread.run(ViewThread.java:57)