Test1 @ Ubuntu :~ /Working_directory $ emulatorNo command 'ulator' found, did you mean:Command 'qemulator' from package 'qemulator' (universe)Emulator: Command not found
1. edit/etc/environment to add the directory where emulator is located (add the blue font content ):
Path = "/usr/local/sbin:/usr/local/bin:/usr/sbi
The first scenario: do use multiple devices or simulatorsWorkaround: (Specify a device or emulator to connect to)1. Get the simulator/device list
adb devices
2. Specify device to execute ADB shell
adb -s devicename shell
For example:
adb -s emulator-5554 shell
In multi-device, executing the ADB
The first scenario: do use multiple devices or simulatorsWorkaround: (Specify a device or emulator to connect to)1. Get the simulator/device list
adb devices
2. Specify device to execute ADB shell
adb -s devicename shell
For example:
adb -s emulator-5554 shell
In multi-device, executing the ADB
The example in this article describes how to import address book contacts to the Android emulator using the ADB command. Share to everyone for your reference. The implementation methods are as follows:
Using the commands provided by ADB, you can easily import the address book from your PC into the Android emulator.
First you have to prepare a fixed-format conta
With the commands provided by ADB, it is very easy to import contacts from your PC into the Android emulator.You first have to prepare a fixed-format contacts.vcf file, which is the Address Book store file in Android. The format is as follows:begin:vcardversion:3.0n:15200000000;;;; TEL; type=cell:15200000000end:vcardbegin:vcardversion:3.0n:15200000011;;;; TEL; Type=cell:15200000011end:vcardThe imported commands are as follows: # first clear the original address book contact adb-s
Error: more than one device and emulator ----- ADB command
When you use the ADB command to install a program on an android simulator or a real machine, if there are more than two devices, an error occurs: Error: more than one device and emulator.
To solve this problem, a parameter "-- S" is required. For example, to
to the Tools subdirectory under the Android SDK directory and runMksdcard-l SDcard 512M D:\Android\sdk\tools\sdcard.imgThis creates a 512M SD card image file: View D, and a sdcard.img file under the Tools directory on D drive.3. Load SDcard when running AVD under command lineGo to the Tools subdirectory under the Android SDK directory and runEMULATOR-AVD Servyou-sdcard sdcard.imgNote: Here-sdcard is followed by the mirror path, because I am currently
Baidu Map SDK provides the emulator and the real machine two environment used by the static library files, respectively, stored in the Libs/release-iphonesimulator and Libs/release-iphoneos folder, we need Drag and drop the. A file for the corresponding platform to the groupsfiles on the left side of the Xcode project, with the disadvantage that it needs to be re-added every time the real machine and emulator
In the development of Linux under the GEM5 program, you need to start GEM5, and then use Telnet to connect the GEM5 to see the serial port information. Because of the number of steps, so write a script to run GEM5 and Telnet program, and two programs to listen, after any one exit, the other will also exit.Originally, the Termination commands for two processes used kill-9 to exit. However, in the course of use, it is found that after the GEM5 run, sometimes stats.txt files are generated, sometime
iOS development, static libraries often need to use two sets of the simulator, one set is the iOS real machine, these two sets of architectures are not the same. Plus Debug and release, then the 2*2=4 set.But we can use Lipo to merge static libraries, such asLipo-create release-iphoneos/lib123.a debug-iphonesimulator/lib123-output lib123.aThen use Lipo-info to see that this is a FAT file and contains all the required schemas. The library is automatically selected when Xcode is compiledThis artic
One of the purposes of displaying time in the LINUX command prompt and CMD command prompt is to view the execution time of a command or program. 1. the time setting parameter description is displayed in CMD: $ P: current path $ G: gt; (greater than the number) $ T: current
One of the purposes of displaying time in the LINUX Command Prompt and CMD command prompt is to view the execution time of a command or program. 1. The Time Setting Parameter description is displayed in CMD: $ P: current path $ G:> (greater than the number) $ T: current time
Win8 system, how do we open the command prompt? Because of the wide range of command prompts, many times we use it. The following small series to bring you Win8 open the command prompt method, take a look at it!
Method One: With administrator privileges
1, press Win+x call
You can use the command line to operate the version management library every day. Svn add path is found, and occasionally an error is prompted as follows: You can see from the error prompt in this prompt, it seems to be a problem with the. svn folder. This folder is a reserved name. Therefore, it cannot be operated. However, such errors do not occur all the time,
In fact, in the windows8.1 system there is a CMD replacement is PowerShell, if you are not accustomed to PowerShell we can follow the following methods to retrieve the command prompt.
1. Under the win8.1 system, right click on the taskbar blank, and then select the attributes;
2. Then in the Pop-up Properties window we click on "Navigation" and then we put "when I right-click the lower left corne
The guy who is familiar with DOS is trying to make UNIX like DOS,
One of them is to set the Unix prompt as $ p $ G. The following describes the method.
The GNU bash (Bourne again shell) is more convenient for different shell settings)And KSh (Korn shell) and tcsh (enhanced version of CSH, CSH in Linux isSymbol connection ). The General Sh (Bourne shell) and CSH settings are cool. One by oneVarious shell setting methods:
Ksh:Because KSh treats the
A simple win7-cmd command prompt, a win7-cmd prompt
There are two paths to open the cmd window in win7: (1) start --> all programs --> accessories --> Command Prompt
(2) start --> enter "cmd" in the search box"
Command
Compile java at the command prompt, and compile java at the prompt
Create a new folder named kun, which is the package of the class. Create a java file.
The HelloWorld. java code is as follows:
Package kun; public class HelloWorld {public static void main (String [] args) {System. out. println ("hello world"); A a = new A ();. setValue (120); System. out. pr
Transferred from: http://www.x2009.net/articles/windows-command-line-prompt-start-path-space.htmlWhen you use the command line prompt in Windows to execute this instruction (testing the start command to execute a program or file problem with a path with spaces), the first li
I've described how to configure environment variables for the Android SDK in the Android Foundation Eclipse build Android development environment and create your first Android project. We can use these Android commands directly in the Windows command Prompt (CMD) window to assist us in the development.1. In the command line Management simulator device (AVD)
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.