Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android emulator is missing from the applications list #444

Closed
Stokestack opened this issue Jul 20, 2020 · 5 comments
Closed

Android emulator is missing from the applications list #444

Stokestack opened this issue Jul 20, 2020 · 5 comments
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue

Comments

@Stokestack
Copy link

Stokestack commented Jul 20, 2020

Describe the bug
I'm programming in Android Studio and running my app in the emulator. Although the emulator is its own application and shows up in Apple's Command-Tab list, it doesn't show up in Alt-Tab.

Screenshots / video
AndroidEmulator

Steps to reproduce the bug

  1. Download and install Android Studio:
  2. Install Java 8 runtime (I think; just going from memory here): https://www.java.com/en/download/
  3. Download a sample project from their training course:
  4. Build and run the project in the emulator. I think the emulator is automatically installed.
  5. Try to Alt-Tab between Android Studio & the emulator

There is something funky about the emulator. It frequently doesn't quit when told to, and it often prevents shutdowns.

@Stokestack Stokestack added the bug Something isn't working label Jul 20, 2020
@lwouis lwouis added the unreproducible Need help from the author to reproduce the issue label Jul 20, 2020
@lwouis
Copy link
Owner

lwouis commented Jul 20, 2020

Hi @Stokestack! Thanks for sharing this issue!

I already worked on this issue in the past in #376. I encourage you to check my comments there. I explain how the Android Emulator is a very unique app on the mac. It has no bundleIdentifier for example. It is a very weird app. If you want to keep it in your Dock for example, you will see a messy behavior with the icon changing when you close it.

I thought my workaround was working since the user confirmed it does. I guess you may be running a different version or some other variation that breaks my workaround.

Could you please run this command in your Terminal, and share the result?

ps -ef | grep qemu

Also could you please share which version of Android Studio, and which version of the emulator you're running?

@SoPat712
Copy link

This looks like a difficult issue to address. I have no idea how MacOS themselves addresses this issue haha.

@Stokestack
Copy link
Author

Thanks for the reply. Here you go:
119:28.85 /Users/gavin/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64 -netdelay none -netspeed full -avd Pixel_2_API_28_Android_9

Android Studio 4.0. It's not a huge deal; as we've both noted, there's plenty funky about this app and even the OS can't manage it normally. It's probably not worth further effort, when we have that all-important "windowless apps" problem to solve! 🙂

@lwouis
Copy link
Owner

lwouis commented Jul 20, 2020

I could reproduce locally, and found the root cause 🎉

This is a regression introduced by the new blacklist feature a few days ago. I'll release a fix very soon.

@lwouis lwouis closed this as completed in 60bf384 Jul 20, 2020
lwouis pushed a commit that referenced this issue Jul 20, 2020
# [4.7.0](v4.6.0...v4.7.0) (2020-07-20)

### Bug Fixes

* android emulator not showing because of blacklist (closes [#444](#444)) ([60bf384](60bf384))

### Features

* add second shortcut to active the app (closes [#237](#237)) ([a6285ba](a6285ba))
* default layout based on screen aspect ratio (closes [#436](#436)) ([11fb95d](11fb95d))
* easier back-cycling shortcut ([#420](#420)) ([a31544d](a31544d))
* updated german and hungarian localizations ([7a23046](7a23046))
@Stokestack
Copy link
Author

Hey thanks for taking the time! This will make debugging easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unreproducible Need help from the author to reproduce the issue
Projects
None yet
Development

No branches or pull requests

3 participants