Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the use of simulator in Android

Shulou Source: shulou.com Published: 2022-05-31 22:52:02 10月01日 Update

Most people do not understand the knowledge points of this article "what is the use of simulators in Android", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this article "what is the use of simulators in Android?"

1. Start and close the simulator

a. Go to the tools/ folder of SDK

b. Enter emulator or. / emulator

c. To close the Android simulator, simply close the simulator window

two。 Operation simulator

The Android simulator provides a number of startup options that you can specify when starting the simulator to control its appearance and behavior.

The following is the syntax for starting the simulator and specifying parameters from the command line:

Emulator [- option [value]]... [- qemu args]

3. Using the Android Simulator console

Telnet localhost

4. SD card simulation

Use the mksdcard tool in SDK to create an FAT32 disk image that can be loaded when the simulator starts.

Example: http://www.android123.com.cn/moniqi/48.html

a. Create a disk mirror

Mksdcard

Statement instance mksdcard-l (disk letter can be added) sdcard 512m (image size) j_sd (image name)

Generate a mirror j_sd under C: "android-sdk-windows-1.5_r1" tools

b. Load a disk image when the Android simulator starts

c. It can also be loaded in eclipse

d. Copy files to disk image

Use mtools for management or

Use the command with android SDK: adb push local_file / sdcard/remote_file

Eg:C: "android-sdk-windows-1.5_r1" tools > adb push 2.mp3 / sdcard/new2.mp3

305 KB/s (1929135 bytes in 6.171s)

You can also use eclipse: transfer through the File Explorer file browser in the DDMS tag.

Start the Android simulator (load the SD card):

C: "android-sdk-windows-1.5_r1" tools > emulator-avd android15jay-sdcard C:/androi

D-sdk-windows-1.5_r1/tools/j_sd

The contents of the card can be used. Success

The above is about the content of this article "what is the use of simulators in Android?" I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.

Tags: Simulator mirror content disk file article method knowledge article control success value parameter name command appearance size most instance is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Shulou Tech Info Shulou Information MariaDB OPPO Reno