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.
2
Answers
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.
Android Studio, at least in my experience, has been extremely buggy. Try the following steps:
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