简体   繁体   中英

How to change system image for particular AVD in Android studio 2.3.3 ? [as we can't launch standalone AVD manager on this version]

I have download 3 system images for Android Oreo as shown in picture here in SDK manager

在此处输入图片说明

But when I check in Choose System Image from AVD manager in Android Studio, those installed all images are not shown (only Google APIs system image is shown) .

I checked in all of the following tabs snapshot here

在此处输入图片说明

  • Recommended images
  • x86 images
  • Other images

I found the answer.

To change system image for particular AVD :-

  1. Copy desired system-image name (just name) from

sdk folder > system-images > android-X [mine was google_apis and google_apis_playstore ]

If folder is empty then first you need to download system image from sdk manager

  1. Go to AVD manager from android studio.
  2. Right click on AVD you want to change and click Show On Disk
  3. It will open file explorer when AVD files are located
  4. Open config file in wordpad (or notepad)
  5. Look for image.sysdir.1=system-images\\android-26\\<paste-system-image-name-here>\\x86\\

image.sysdir.1=system-images\\android-26\\google_apis\\x86\\

is replaced by

image.sysdir.1=system-images\\android-26\\google_apis_playstore\\x86\\

Now emulator running API 26 is running correctly.

单击第三行中的Choose...按钮,编辑AVD并选择系统映像

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM