Skip to content Skip to sidebar Skip to footer

Android Error Cancelling Event Due To No Window Focus

I am learning Android, and trying to make multi screen app to get better at it. I have 3 activities. 1) Main 2) Game 3) GameOver Main has game button, when pressed starts intent

Solution 1:

Remove finish() from MainActivity. (If you have one at the intent where you call for Game Activity.)

Solution 2:

Sometimes it's about requestPermissions handling. When you will sending many requestPermissions together.

Post a Comment for "Android Error Cancelling Event Due To No Window Focus"