Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create sdcard in Android

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces the relevant knowledge of "how to create sdcard in Android". The editor shows you the operation process through an actual case. The operation method is simple, fast and practical. I hope this article "how to create sdcard in Android" can help you solve the problem.

Step 1 of Android creating sdcard. Enter cmd into the tools directory and enter mksdcard-l mycard 100m F:\ mysdcard.img

1. The mycard command can use three sizes: bytes, K, and M. If only numbers are used, it represents bytes. It can also be followed by K, such as 262144K, which also means 256m.

2. The minimum virtual file created by mycard is 8m, that is, the simulator only supports virtual files larger than 8m.

3. The-l command line argument represents the volume label of the virtual disk and can be absent.

4. The extension of the virtual file can be arbitrary, such as mycard.abc.

5. The mksdcard command does not automatically create a directory that does not exist, so create a card directory in the current directory before executing the above command.

6. The mksdcard command is an sdcard virtual file generated by the actual size. In other words, the size of a 256m virtual file is 256m. If you generate a larger virtual file, you should see if you have enough hard disk space.

Android step 2 to create sdcard, activate sdcard

1. Command line input: emulator-avd my_android1.5-sdcard F:\ mysdcard.img

I can't activate my input on the command line. I don't know why! To be solved!

Emulator: ERROR: the user data image is used by another emulator. Aborting

two。 If you are in the development environment (Eclipse), you can set the startup parameters in the Run Configuration dialog box

Or join in Preferences-- > Android-- > Launch

Step 3: Android create sdcard. Add content to sdcard.

F:\ android-sdk-windows-1.5_r3\ tools > adb push E:\ Xunlei\ give.mp3 / sdcard/give.mp3

This is the end of the introduction to "how to create sdcard in Android". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report