Android Studio Must Be Closed

Finally decided to dive into Android and it’s the most frustrating experience since I first learned Xojo 25 years ago, but I’ll start with this one.

I built a simple app and tried to run it in Xojo. The emulator opens and I immediately get an error message, Android Studio Must be closed. It is closed. I even opened it and closed it again. I closed it and restarted to computer. Always the same error. I’m on a Mac. Have not tried it in Windows.

Any suggestions?

Could you please give the exact steps you did?

It’s true, Android Studio has to be closed, if you wanna run an Android App from Xojo with one exception: If you set Project > Breakpoint > Ignore all you could leave Android Studio open.

I made a screen with a few controls, clicked run and got the error. I will try your suggestion. I am also going to set it up on windows tomorrow.

Did you check if there is not any instance running of android studio in your taskmanager? Sometimes applications say they are quit, but leave an instance running. You can safely kill it

FWIW, I had that error the last time I tried to debug for Android on one of my computers. I have ceased to try since then.
What I mean is, it’s not an isolated issue.

That’s actually great to know, thank you!

1 Like