Two workarounds for placing files in an Android emulator SD card

Source: Internet
Author: User

two different ways:
First, the window interface operation
1. Open DDMS page
2. Open the File Explorer page, if not, at window---Show View-->file Explorer
3, generally in mnt--sdcard
4. In SDcard, click on the destination folder where you want to put the file, such as mp3 folder
5, click on the folder, on the right side of the File Explorer page, there are two icons, one is pull, one is Push,pull will be mp3 inside the file pulled out, push is the outside, such as the files on the hard drive into the MP3 folder inside.

Second, the command line mode
Start the virtual device, and then open a DOS command window. All the installation program and the added files are placed in the emulator's SDcard directory, if directly add files, later files will appear chaotic, so it is best to set up a folder in the simulator, and then add the corresponding files.
1 Creating a directory on the emulator:
ADB shell invokes shell remote operations simulator
LS Displays the files in the current directory
CD SDcard into the SDcard directory
mkdir MP4 Building MP4 Directory
If you are prompted for a read-onlyfilesystem error, exit the ADB shell and then run the ADB remount command.
Exit the simulator
2 Add the file under the current window directory to the emulator's MP4 folder:
ADB push filename/sdcard/mp4
You can also add a file in the entire directory, and change the "file name" in this command to your "directory name".
3 Now that the file has been added, we have to operate it on the simulator to play it.
Start Dev Tools on the emulator, run Media Scanner, and show "finished" to exit.

Two workarounds for placing files in an Android emulator SD card

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.