Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Nuclide Devices tab in Atom stuck showing that an Emulator is running #1580

Closed
csellis opened this issue Jul 25, 2018 · 3 comments
Closed

Nuclide Devices tab in Atom stuck showing that an Emulator is running #1580

csellis opened this issue Jul 25, 2018 · 3 comments

Comments

@csellis
Copy link

csellis commented Jul 25, 2018

Issue and Steps to Reproduce

On the right hand side you see that the Android Emulator is still running. I had to cold boot of my computer while it was running an emulator. The emulator is no longer running but Nuclide thinks it is.
screenshot from 2018-07-25 07-05-31

Expected Behavior

I expect it to check whether Android Emulator is actually running.

Actual Behavior

Nuclide is not checking to see if Android Emulator is running and does not allow me to start it.

Versions

  • Atom: 1.24.0
  • Electron: 1.6.16
  • Chrome: 56.0.2924.87
  • Node: 7.4.0
  • Nuclide: 0.288.0
  • Client OS: Ubuntu 16.04.4 LTS
@pelmers
Copy link
Contributor

pelmers commented Jul 25, 2018

This nuclide version is quite old, are you running it as a workaround for #1576?
Otherwise I suggest updating Nuclide/atom and see if it still reproduces.

@aadsm
Copy link
Contributor

aadsm commented Jul 25, 2018

I've familiar with this issue and it hasn't been fixed.
The problem here is that the devices panel checks for the lock file for each emulator and if it exists it assumes it's running. This is not a reliable assumption because the lock file will not be removed when the emulator is forced killed.
@csellis a quick workaround is to remove the lock file from ~/.android/avd/$DEVICE.avd/hardware-qemu.ini.lock.

@csellis
Copy link
Author

csellis commented Jul 26, 2018 via email

@pelmers pelmers closed this as completed Jul 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants