1CMD command Android, the Sdkand AVD Manager interface appears, showing the SDK version information.
2CMD command Android list Avds, the created Android emulator will appear.
The 3CMD command Android list targets will list all available versions of the SDK.
4CMD command ADB devices list all mounted settings
5CMD command the ADB shell will enter the device root directory to gain control of the device, such as the input LS command, etc.
6ADB install xxx.apk. This command installs the APK file, and if you have multiple devices (and you want to install the APK into the emulator-5554 emulator), enter: adb install-s emulator-5554 d:/ xxx.apk.
7EMULATOR-AVD Avdname
This command will start an emulator and learn this, so you don't have to open eclipse the next time you start the simulator.
8.mksdcard 256M d:\sdcard.img
For the simulator, of course, to create a sdcard, this command will be generated under the D-Disk 256M sdcard.
9.ADB pull <remote> <local>/adb push <local> <remote>.
After we have created the sdcard, we need to put something in it, or get it out, and use the above command. With ADB push (store things outside the sdcard.) For example, use the following: ADB push foo.txt/sdcard/foo.txt
10.android Create AVD--name Android2.0--target 5
This is the command to create the AVD. --name is followed by the name of the AVD, Target is the SDK version. This statement creates an AVD with the name Android2.0 and version 5.
You can use Android list Avds to finish the creation. See if a success has been created.
11.ctrl + F11 Key Usage
When we start the simulator, it's usually port mode, and if we want to see the effect on land, the combo button is used.
This article is from the "Code of Things" blog, be sure to keep this source http://hw168.blog.51cto.com/10425348/1673292
Android Common Command Collection