How to remove file that is saved on the SDCard of the Emulator?
Solution 1
Option 1:
Go to Avd folder in
Windows XP
C:\Documents and Settings{current user}.android\avd{avd name}\
Vista/Win7
C:\Users{current user}.android\avd{avd name}\
Delete the sdcard.img file... when you run the emulator next time, it will create new sdcard
Option 2:
If you want to delete specific files from sdcard then
Open your command prompt and type
adb shell
cd \mnt\sdcard
rm {filename}
Solution 2
You can do this from DDMS. Ensure your emulator is running.
- Go to DDMS perspective in eclipse.
- In the Devices window select your emulator
- Then go to Window-->Show View-->FIle Explorer
- Open the sdcard folder and delete the files you want.
![Shreyash Mahajan](https://i.stack.imgur.com/Zjrq0.png?s=256&g=1)
Shreyash Mahajan
About Me https://about.me/sbm_mahajan Email [email protected] [email protected] Mobile +919825056129 Skype sbm_mahajan
Updated on June 04, 2022Comments
-
Shreyash Mahajan about 2 years
In my application I am going to store the file from assets to the SDCard. But now there is no more space in the emulator. So I want to delete that file.
So how to delete that file from the Emulator?