Android Emulator Issues in New Versions - the Emulator Process Has Terminated

Android Emulator issues in new versions - The emulator process has terminated

It's an issue of latest Emulator.

I upgraded to v30.6.4 last night and got the same issue.

Please use Genymotion instead before Android Studio Emulator issuing its next update.

It's free for personal use.

https://www.genymotion.com/download/

Sample Image

Android AVD - The emulator process for AVD emulator_name has terminated

I made it work...

Apparently, the Android Emulator updated to the latest version was the problem. Apparently many conflicts with vulkan.dll and other emulation process stopped working with this new version (at least for me in my computer).

I downloaded an old version of the android emulator based on this answer and then it started working again...

Android Emulator issues in new versions - The emulator process has terminated

It's an issue of latest Emulator.

I upgraded to v30.6.4 last night and got the same issue.

Please use Genymotion instead before Android Studio Emulator issuing its next update.

It's free for personal use.

https://www.genymotion.com/download/

Sample Image

The emulator process for avd has terminated

You may turn off vulkan by adding this file to your User(your user).android

(if not exist), till google solve the bug about Vulkan.

the file: advancedFeatures.ini

Contents:

    BluetoothEmulation = on
GrallocSync = on
GLDMA = on
LogcatPipe = on
GLAsyncSwap = on
GLESDynamicVersion = on
EncryptUserData = on
VirtioWifi = on
HostComposition = on
RefCountPipe = on
VirtioInput = on
HardwareDecoder = on
DynamicPartition = on
ModemSimulator= on
MultiDisplay = on
YUVCache = on
GLDirectMem = on
Vulkan = off
VulkanNullOptionalStrings = on
VulkanIgnoredHandles = on
Mac80211hwsimUserspaceManaged = on
VirtconsoleLogcat = on
VirtioVsockPipe = on
AndroidbootProps2 = on
DeviceSkinOverlay = on
VulkanQueueSubmitWithCommands = on
VulkanBatchedDescriptorSetUpdate = on
DeviceStateOnBoot = on

AVD Manager: The emulator process for AVD has terminated | Android Studio Arctic Fox 2020.3.1 | MacOS 12 M1 chip

I was able to find solution after searching for a while on the internet and posting the answer here so that anyone else facing the same issue could find it easily.

Apple M1 chip has a 64 bit ARM architecture also known as AArch64, so it requires the emulator setup in the following way

When you create a new virtual device select the options shown in the screenshot

Creating new AVD on Apple-M1

Remember to select the Other images tab and under that verify the ABI is arm64-v8a, then only the emulator will get started.

Here is the screenshot of working emulator
Working AVD Emulator

Android Studio: The emulator process for AVD Pixel_2_API_30 has terminated. on MacBook Pro M1 (Apple Silicon)

It would seem due to the fact you are using a beta version of android studio the message "The emulator process for AVD Pixel_2_API_30 was killed." has been changed to "The emulator process for AVD Pixel_2_API_30 has terminated." but fundamentally they should still have the same solutions the most common solution being:

"All of the answers are too confusing to follow. Replace SDK or
upgrade OS. The quickest way I found is to:

Tools > SDK Manager > SDK Tools

De-select Android Emulator, then click Apply. - The Android Emulator
will be deleted.

Now, by default the Emulator version shown will be 30.6.5. Select the
checkbox and click apply. This version of emulator will be installed.

That is it, just 2 minutes of you time.

Update: 1 Jul 2021 Issue solved with latest Emulator version 30.7.5"

Credits to: Karan Sharma in the post found here

If this does not fix the error then there are a multitude of different solutions that can be found by googling "Android studio MacBook emulator process for AVD was killed." or simply downgrading/upgrading your emulator works too, because it is a common issue with the v30.6.x emulator versions.

Android Emulator The emulator process for AVD was killed. Windows Intel

One of the solution is:

Select "Tools" -> "SDK Manager" -> "SDK Tools" tab -> and update to latest Android Emulator version.

Sample Image



Related Topics



Leave a reply



Submit