Today, when writing an automated script, the update to the real-machine version before this was made, and it was not unplugged from the computer, and an AVD was opened in ADT.
So, free to write the script, trying to emulator an apk, in the cmd window, using: ADB devices to see, a real machine and a simulator, but, using the adb install APK, there appears as shown in the error:
In this case, it means that the current ADB command detects two machines, installs the APK, does not know which machine to install, so, then use the ADB install APK should indicate on which machine to install, the correct way is as follows:
Check the name (serial number) of all machines with ADB devices before executing the command:
Adb-s Virtual machine name install APK
can be installed successfully.
Android uses the ADB installation application to appear "more than one device and emulator wait for device"