I was installing android studio and it required to setup sdk, download emulator and platform tools etc, while downloading emulator, android studio showed no progress and after 3-4 attempts at it failing, and wasting my network data for nothing.
I downloaded the emulator archive directly from the given link, but now the question was how do I get android studio to detect it, I tried extracting it to SDK folder but android studio would again try to download it, after searching a bit, I found out here, that I also need “package.xml” and need to change revision version in XML to the downloaded emulator version.
and that’s what I’ll be guiding you through today, although I don’t think it need detailed explanation, and you can read original answer here. ( The answer is to the point, and I don’t understand why it has negative vote).
- extract downloaded Zip archive to
“C:\Users\{UserName}\AppData\Local\Android\Sdk\emulator”
or “where your android sdk folder is”. - Download this package.xml file, and paste it into the “Sdk\emulator\” folder.
- Open Source.properties from “emulator” and note value of “Pkg.Revision“, ex:
Pkg.Revision=30.0.12 - In “package.xml“, you’ll find this line –
<revision><major>30</major><minor>0</minor><micro>12</micro></revision>
- Change the major,minor,micro values as per your Pkg.Revision, as seen in above example.
- And you’re done, fire up Android studio and it will detect the emulator.
