Unable to start emulator after updating Android Studio

android
androidstudio
emulator
(wdb) #1

I have been trying to run my little application in the emulator which comes with Android Studio or the Android SDK only for some reason it stopped working after I decided to run all the updates Android Studio suggested.

After a bit of research it looks like you need to run the emulator from a different directly tools/emulator vs emulator/emulator then it works for me:

/Users/x/Library/Android/sdk/emulator/emulator -avd Pixel_2_API_28 -verbose

emulator: Android emulator version 28.0.25.0 (build_id 5395263) (CL:77b96786ddf712e1477c6e05cddb09526043faef)
emulator: Found AVD name 'Pixel_2_API_28'
emulator: Found AVD target architecture: x86
emulator: argv[0]: '/Users/x/Library/Android/sdk/emulator/emulator'; program directory: '/Users/x/Library/Android/sdk/emulator'
emulator:  Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/

emulator: Probing for /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86//kernel-ranchu-64: file exists
emulator: Auto-config: -engine qemu2 (based on configuration)
emulator:  Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/

emulator: emuDirName: '/Users/x/Library/Android/sdk/emulator'
emulator:  Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/
etc..

while running the command like Fire does I am getting:

/Users/x/Library/Android/sdk/tools/emulator -avd Pixel_2_API_28 -verbose

results in:

emulator:Android emulator version 26.0.3.0 (build_id 3965150)
emulator:Found AVD name 'Pixel_2_API_28'
emulator:Found AVD target architecture: x86
emulator:argv[0]: '/Users/x/Library/Android/sdk/tools/emulator'; program directory: '/Users/x/Library/Android/sdk/tools'
emulator:  Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/

emulator:Probing for /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86//kernel-ranchu: file missing
emulator:Auto-config: -engine classic (based on configuration)
emulator:  Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/

emulator:try dir /Users/x/Library/Android/sdk/tools
emulator:Looking for emulator-x86 to emulate 'x86' CPU
emulator:Probing program: /Users/x/Library/Android/sdk/tools/emulator64-x86
emulator:Probing program: /Users/x/Library/Android/sdk/tools/emulator-x86
PANIC: Missing emulator engine program for 'x86' CPU.
0 Likes

(wdb) #2

Anyway I can make Fire execute the emulator from emulator/emulator?
Also see: https://www.stkent.com/2017/08/10/update-your-path-for-the-new-android-emulator-location.html

Maybe the SDK Manager in Android Studio is not installing all the right images? @mh have you seen this issue before?

0 Likes

(marc hoffman) #3

There’s already five other threads discussion this and related issues.

0 Likes

(wdb) #4

Hmm, I have searched for before posting but couldn’t find any hits on missing emulator engine ` etc

0 Likes

(marc hoffman) #5

Can you retry with .2395, jic?

0 Likes

(wdb) #6

I can confirm this is working now! Thanks Marc :slight_smile:

1 Like