How to fix "java.lang.IllegalStateException: Already executed." PID: 7664?


This is my issue when I try to Login on Emulator!
enter image description here
enter image description here

How do I resolve this?


Android Studio, at least in my experience, has been extremely buggy. Try the following steps:

  • Restart the emulator
  • Wipe data from the device (using device manager)
  • Use another emulator (create another device using device manager)
  • Restart Android Studio
  • Restart your PC

If none of the above work, create a new project and copy paste your code onto that project. I know it seems silly but it has actually worked for me!

Hope this helps.

Answered By – CIE Pro Suhas

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published