close

[Solved] Just updated to Android Studio 4.2.1 on Mac and now emulator no longer works

Hello Guys, How are you all? Hope You all Are Fine. Today I have a received notification to update android studio to the latest version As I updated my Android studio My emulator not working now in AVD Manager shows me this error The emulator process for AVD Pixel_C_API_30 was killed In macOS. Just updated to Android Studio 4.2.1 on Mac and now emulator no longer works. So Here I am Explain to you all the possible solutions here.

Without Wasting your time, Lets start This Article to Solve This Error.

How Just updated to Android Studio 4.2.1 on Mac and now emulator no longer works Occurs ?

I am Using flutter with android studio in my macOS catalina. Today I have received notification to update android studio to theirs latest version 4.2.1. So I Just Updated my android studio. But emulator stopped working. Every Time as I launch my emulator it crashes and AVD Manager shows me this error.

"The emulator process for AVD Pixel_C_API_30 was killed"

How To Solve Just updated to Android Studio 4.2.1 on Mac and now emulator no longer works?

Question: How To Solve Just updated to Android Studio 4.2.1 on Mac and now emulator no longer works?
Answer: To Solve Just updated to Android Studio 4.2.1 on Mac and now emulator no longer works Solution 1 Is if you can update your macOS to the latest version of Big Sur then Your error will be solved. I think this problem occurs only for Catalina users. The second possible solution is you have to downgrade the emulator for Catalina. To downgrade the emulator just follow the below steps. And the third one is Just to download the emulator and place it into the SDK folder.

Solution 1 : Update to Big Sur

Yes, Most of macOS users face this issue now, You can track the issue here.

Solution 1 Is if you can Update your macOS to latest version of Big Sur then Your error will be solve. I think this problem occurs only for catalina users.

Solution 2 : Downgrade emulator for Catalina

Second possible solution is you have to downgrade emulator for Catalina. To downgrade emulator just follow below steps.

  1. Just Download emulator 30.7.3 From Here.
  2. Now Unzip This file that you have downloaded emulator-darwin_x64-7425822.zip
  3. Run command xattr -rc * to remove all extended attributes.
  4. Now just find your emulator folder.
  5. Might be yuor emulator folder can be found In this path /Users/xxx/Library/Android/sdk
  6. Just replace that folder with unzipped folder.
  7. modify packages.xml to <revision><major>30</major><minor>7</minor><micro>3</micro></revision>
  8. Thats all.

Solution 3 : Download Emulator

Just download the emulator and palce it into SDK folder.

32-bit

MacOS – https://dl.google.com/android/repository/emulator-darwin-6855416.zip

64-bit

MacOS – https://dl.google.com/android/repository/emulator-darwin-6885378.zip

Solution 4: Create the file ~/.android/advancedFeatures.ini

Believe me you are not gonna trust me. I am just faced this issue in my windows machine. Nothing was worked. I am wasted my two days to solve this error but no result. Then I just try this solution And boom It worked.

You just need to Create the file ~/.android/advancedFeatures.ini (for Windows users path should be C:\Users\Dane\.android\advancedFeatures.ini) with the following content:

# Here's how to disable Vulkan apps to talk to the emulator.

# Add the following lines to ~/.android/advancedFeatures.ini (create this file if it doesn't exist already):

Vulkan = off
GLDirectMem = on

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment