How to fix android emulator not showing in android studio

  • Post last modified:January 7, 2022
  • Post author:
  • Reading time:5 mins read
  • Post comments:1 Comment

If you are developing an android application and when you run the application and its shows your android app is installed is successful in a virtual device.

Boom but where is the emulator device, Pop-up show app is installed successfully.

When you check emulator is running or not? Then android studio screen will show the error “No emulators are currently running. To launch an emulator, use the AVD Manager or run your app while targeting a virtual device.” despite the android emulator is running.

No emulator is currently running
No emulator is currently running

This error sometimes occurs when the emulator is not closed forcefully. To avoid this please power off the emulator properly.

You can fix this issue with the below guide and it will work on the Linux platform only.

How to fix the issue?

We will guide you step by step just you need to follow.

Step 1. First, go to the Tool Menu, In the tool, menu select AVD Manager.

 fix android emulator: Tool menu click on AVD Manger
Tool menu click on AVD Manger

Step 2. Android Virtual Manager screen will be the next in this screen click on play button start buttonwhich will be below Actions tab.

Step .3 Once you click on the play button a pop-up will show up and it will show you to delete all the lock files in the specified directory.

A lock file is used to prevent applications to crash from concurrent usage.

Android Virtual Device Manager
Android Virtual Device Manager

Step 4. Open the terminal and pass the command emulator device name will be different on your system just check once before executing.

$ rm -rf /home/shen/.android/avd/Pixel_2_API_29.avd/*.lock

Or else you can follow the directory name from the pop-up dialog.

Step 5. Now try to install and run the application this time emulator will show up.

 fix android emulator: Emulator run after deleting *.lock
Emulator run after deleting *.lock

This was the simple step that you can follow to fix the android emulator issue in Linux based system.

Read this: How to show emulator inside the android studio?

This Post Has One Comment

  1. Solar Steinn

    My Android Emulator was not showing when running because its window was reduced down to the size of a dot on the Virtual Device Manager window. I happened to notice it and enlarged it by dragging on it. This was likely due to just shutting down android studio without shutting down the emulator first

Leave a Reply