Installing Android Emulator In Android Studio with zip files

前端 未结 7 1931
一生所求
一生所求 2021-02-01 07:19

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 i

7条回答
  •  别那么骄傲
    2021-02-01 08:15

    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

提交回复
热议问题