Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12600] CLI: building for Android device while the emulator is open generates a wrong Error Message

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-10-19T01:22:03.000+0000
Affected Version/sRelease 3.0.2
Fix Version/s2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0
ComponentsAndroid, Tooling
Labelsandroidbuild, ay-verified, cb-verified, qe-sdk3.0.2
ReporterFederico Casali
AssigneeChris Barber
Created2013-02-06T00:20:54.000+0000
Updated2013-11-06T19:54:40.000+0000

Description

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)

Comments

  1. Allen Yeung 2013-10-19

    PR: https://github.com/appcelerator/titanium_mobile/pull/4781
  2. Samuel Dowse 2013-11-06

    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.

JSON Source