Problem
Building for Android device from CLI, while the Android emulator open, generates an Error Message at the end. However the app is actually correctly installed.
Steps to reproduce
1. Be sure to have the Android Emulator open
2. Attach a device and build a project for the device from CLI:
$ ti build -p android -T device
Result: application is correctly installed on the device, however from console there is an Error message in the end.
[INFO] Application installed. Launch from drawer on Home Screen
[INFO] Launching appliation on device.
error: more than one device and emulator
[ERROR] Project failed to build after 13s 197ms
(also note the typo: "appliation" in the [INFO] line)
PR: https://github.com/appcelerator/titanium_mobile/pull/4781
Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311060354 Titanium SDK, build: 3.2.0.v20131105162443 CLI: 3.2.0 Alloy: 1.3.0 Created project in studio. Opened android 2.3.3 emulator Ran "ti build --platform=android --target=device" in CLI project successfully installed on android device with no errors. No errors with the running simulator either. Closing.