Issue
I used to drag the image to Android emulator API 30 and the image would show up in emulator gallery. However with Android 2021.1.1 Patch 2, images dragged to the emulator does not show up in gallery or anywhere else. Android shows a message saying that the image has been copied but it could not be seen in gallery. Here is the image of the android emulator:
Clicking open the gallery shows nothing inside after dropping the image. Here is the SD card configed for the emulator:
How to populate image to gallery on emulator in Android 2021.1.1 Patch2?
Solution
How to upload files to Emulator:
Copy the image(very important)
Android Studio has Device Explorer to explore emulator content (Earlier we used to have DDMS, which is deprecated in Studio 3+). Go to View -> Tools Window -> Device File Explorer and you can see the explorer window. Go to Storage -> emulated -> 0 ->Download. Here paste that photo
Note: You don't see Device Explorer if you have opened a Flutter project.
Answered By - Sambhav. K



0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.