Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Android Emulator In Android Studio with zip files

I wasn't able to install an emulator to my android studio installation. So, I copied this link from the studio and downloaded the zip file. Now I need help on how to manually install it using the zip files I downloaded.

https://dl.google.com/android/repository/sys-img/android/x86_64-25_r03.zip

like image 513
Faizaan Gagan Avatar asked Dec 24 '16 07:12

Faizaan Gagan


2 Answers

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

like image 68
Faizaan Gagan Avatar answered Sep 19 '22 12:09

Faizaan Gagan


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

like image 32
kodliber Avatar answered Sep 19 '22 12:09

kodliber