Home > Software design >  How to fix "java.lang.IllegalStateException: Already executed." PID: 7664?
How to fix "java.lang.IllegalStateException: Already executed." PID: 7664?

Time:11-11

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

pls help me: How to resolve this . . . ? thanks all !

CodePudding user response:

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. -Suhas

CodePudding user response:

I remember having to deal with this error when I was working with Java web services, my problem was I didn't stop the service completely when I needed to reload it and when I tried to start a new instance it couldn't (giving me this error) because I had it already running. My "fix", for what I remember, was just going in the processes and stopping it manually. Hope this helps a bit.

(edit: I noticed they are downvoting your question, please don't and just help him, we all been there, I upvoted it just to keep it afloat - I know you guys are now going to downvote my answer too, do your worst if you will)

  • Related