I'd like to create an Android Virtual Device against which I can test recent issues with writing to external SD cards. I would expect the external sd card to be found at location like "/storage/extSdCard/DCIM/" on the AVD's file system. Any suggestions on how I can accomplish this?
To add removable storage to your AVD use:
~/Android/android-sdk/tools/mksdcard [memory size] [output file]
to create SD card image.
Then pass it in Advanced AVD Settings dialog: SD card -> External file
DONE :)
You can learn more about the mksdcard tool here: https://developer.android.com/studio/command-line/mksdcard
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With