Issue
Anytime I run my emulator for my AVD it says the emulator process for AVD pixel 2 has been killed.
I have tried several means online but I have been unable to get it fixed. I just installed android studio on my laptop and I have tried installing and reinstalling it again but isn't still working.
Solution
Android Emulator version 30.7.5 has bugs which causes this. Try to downgrade to 30.7.4 by
- download 30.7.4 from https://dl.google.com/android/repository/emulator-windows_x64-7453540.zip
- Locate emulator folder in SDK. And rename it to something like
emulator-to-delete
. For my case my SDK path isC:\Users\Nux\AppData\Local\Android\Sdk
- Extract the contents of zip folder you downloaded to folder named emulator.
- Then copy
package
file from old emulator folder and paste it in emulator folder. Without this step Android Studio won't recognize emulator. - Now you can safely delete the other emulator folder.
- Restart Android Studio and you are done.
Answered By - Nux
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.