Installing Android Emulator In Android Studio with zip files

I had a problem downloading the Emulator(Image files) from the android studio. So when you try to run your app witout an emulator. It asks for an option to create a new emulator wherin it'll download the required files. It use to download 60-70% and give error. So I used the link in the download dialogbox, and manually downloaded the zip file. Now that zip file needs to be extracted and has to be pasted in the sdk folder.

sdk/system-images/android-(api level)/(extracted folder)

Note:This is my first thread so You might suggest some improvements


When I launch the avd, I got the following error:

Emulator: Could not launch '/Users/gongzelong/Downloads/sdk/emulator/qemu/darwin-x86_64/qemu-system-i386': No such file or directory

I entered SDK-> Android Emulator in Android studio, and try to download Android Emulator.

But I got the following error when downloading it.

To install: - Android Emulator (emulator) Preparing "Install Android Emulator (revision: 27.3.9)". Downloading https://dl.google.com/android/repository/emulator-darwin-4899998.zip An error occurred while preparing SDK package Android Emulator: Cannot download 'https://dl.google.com/android/repository/emulator-darwin-4899998.zip': /var/folders/gf/hgd91n6x5v73ct9dvhr379500000gn/T/PackageOperation02/emulator-darwin-4899998.zip (No such file or directory) , response: 200 OK. "Install Android Emulator (revision: 27.3.9)" failed. Failed packages: - Android Emulator (emulator)

Here is how I solve the problem.

I downloaded the file https://dl.google.com/android/repository/emulator-darwin-4899998.zip from Chrome and unzip the zip and got the directory 'emulator'

zip and extracted directory emulater

Then I copy the emulator under sdk

location in location

And then launch the AVD in Android studio, and everything works well.


I think francis-bacon solution is right (I don't see why you would install the emulator in a system image folder as faizann-gagan wrote) but it is partial: you may have noticed that many components of the SDK has a package.xml file. Platforms, docs, tools... Without this file, the SDK manager will show the component as missing as long as it is not present.

Problem is, when you unzip the emulator package, you won't find a package.xml. (I guess it is added by the SDK manager upon installation completion)

I could get a copy of this file from a backup and modified the version number to match the one in source.properties (at the time of writing, 29.0.11) An old package.xml can be found at https://chromium.googlesource.com/android_tools/+/refs/heads/master/sdk/emulator/package.xml also.

Confirmed working on Mac OS High Sierra and Windows 8.1