# Android Studio Must Be Closed

**URL:** <https://forum.xojo.com/t/android-studio-must-be-closed/87563>\
**Category:** Android\
**Created:** [January 26, 2026, 12:05am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563 "2026-01-26T00:05:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Dotson](https://forum.xojo.com/user_avatar/forum.xojo.com/james_dotson/32/14811_2.png) [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Post date:** [January 26, 2026, 12:05am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/1 "2026-01-26T00:05:44Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Martin\_T](https://forum.xojo.com/letter_avatar_proxy/v4/letter/m/a88e57/32.png) [@Martin\_T](https://forum.xojo.com/u/Martin_T)\
**Post date:** [January 26, 2026, 12:08am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/2 "2026-01-26T00:08:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![James\_Dotson](https://forum.xojo.com/user_avatar/forum.xojo.com/james_dotson/32/14811_2.png) [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Post date:** [January 26, 2026, 2:54am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/3 "2026-01-26T02:54:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Rob\_Valk](https://forum.xojo.com/user_avatar/forum.xojo.com/rob_valk/32/2810_2.png) [@Rob\_Valk](https://forum.xojo.com/u/Rob_Valk)\
**Post date:** [January 26, 2026, 9:28am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/4 "2026-01-26T09:28:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Arnaud\_N](https://forum.xojo.com/user_avatar/forum.xojo.com/arnaud_n/32/21824_2.png) [@Arnaud\_N](https://forum.xojo.com/u/Arnaud_N)\
**Post date:** [January 26, 2026, 9:58am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/5 "2026-01-26T09:58:12Z")

</div>

> [@Martin\_T](#):
>
> Could you please give the exact steps you did?

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.

> [@Martin\_T](#):
>
> 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.

That’s actually great to know, thank you!

---

<div class="post-metadata">

**Author:** ![James\_Dotson](https://forum.xojo.com/user_avatar/forum.xojo.com/james_dotson/32/14811_2.png) [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Post date:** [January 29, 2026, 2:10am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/6 "2026-01-29T02:10:51Z")

</div>

I don’t know how to check that on Mac. I completely restarted the computer hoping that would close any that might be hiding.

---

<div class="post-metadata">

**Author:** ![Rob\_Valk](https://forum.xojo.com/user_avatar/forum.xojo.com/rob_valk/32/2810_2.png) [@Rob\_Valk](https://forum.xojo.com/u/Rob_Valk)\
**Post date:** [January 30, 2026, 7:17am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/7 "2026-01-30T07:17:12Z")

</div>

There is not such a thing like a terminal window? I am not familiair with Mac, but I thought the OS was BSD-unix based or maybe now linux. If there is a terminal window then try:

ps -ef | grep -i android

that should show instances of Android.

---

<div class="post-metadata">

**Author:** ![James\_Dotson](https://forum.xojo.com/user_avatar/forum.xojo.com/james_dotson/32/14811_2.png) [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Post date:** [January 31, 2026, 10:41pm UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/8 "2026-01-31T22:41:42Z")

</div>

Thanks. I’ll give that a try.

---

<div class="post-metadata">

**Author:** ![James\_Dotson](https://forum.xojo.com/user_avatar/forum.xojo.com/james_dotson/32/14811_2.png) [@James\_Dotson](https://forum.xojo.com/u/James_Dotson)\
**Post date:** [February 2, 2026, 12:01am UTC](https://forum.xojo.com/t/android-studio-must-be-closed/87563/10 "2026-02-02T00:01:36Z")

</div>

Thanks for the advice. I don’t know why but I suddenly stoped getting that message.
