Unsupported virtual SD card in Android emulator

I do not know why the virtual SD card is no longer working. Someone got any conclusions, or why could this happen?

I am using Android emulator with API 26 (Android O)

Screen shot 1Screenshothot 2

+5
source share
3 answers

To solve this problem, use sd card size> = 512 MB in the emulator. Android studio 2.3.3 created a 100 MB SD card by default.

AOSP Android Oreo source code capture states that a 512 megabyte file is created and mounted as a virtual disk to use the system as an SD card.

+2
source

I faced the same problem. Like many others, AVDs that have SD cards smaller than 512 MB do not detect the card after upgrading to Android Studio 3. I did the following:

  • Stop AVD if starting it
  • Open the AVD manager and edit the properties for AVD. Verify that the SD card is 512 MB or larger.
  • Restart the AVD.

Your emulator should now be able to detect a map.

+2
source

I installed a new device using API 24 and the SD card worked fine. I believe that this is due to the fact that API 26 is new, and virtual support for SD cards is not yet available on the emulator.

0
source

Source: https://habr.com/ru/post/1271044/


All Articles