Two solutions for putting files in the SD card of the Android emulator _android
Source: Internet
Author: User
Two ways: First, the window interface operation 1, open Ddms page
2, open the File Explorer page, if not, in Window--> show View-->file Explorer
3, generally in the mnt--> sdcard
4. In SDcard, click the destination folder where you want to place the file, such as the MP3 folder
5, click on the folder, the File Explorer page on the right side has two icons, one is pull, one is Push,pull is mp3 inside the file pull out, push is outside, such as the file on the hard drive to mp3 folder inside.
Second, the command line mode Start the virtual device, and then open a DOS command window. All installer and added files are placed in the simulator's SDcard directory, if directly add files, the file will appear more chaos, so it is best to classify the simulator on the folder, and then add the corresponding file.
1 building the directory on the simulator:
ADB shell calls shell remote operator emulator
LS Displays the files in the current directory
CD SDcard into sdcard directory
mkdir mp4 set up MP4 directory
If prompted Read-onlyfilesystem error, exit the ADB shell and run the ADB remount command.
Exit Exits Emulator
2 Add files from the current window directory to the MP4 folder in the emulator:
ADB push filename/sdcard/mp4
You can also add the files in the entire directory together, and change the "filename" in this command to your "directory name".
3 Now the file has been added, we also have to operate on the simulator to play.
Start the Dev Tools on the simulator, run Media Scanner, show "finished" to exit.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.