[TIMOB-2400] Android: typo in builder.py
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-23T16:43:49.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2012-01, Release 2.0.0, Release 1.8.1 |
Components | Android |
Labels | android, defect |
Reporter | Matthew Lieder |
Assignee | Marshall Culpepper |
Created | 2011-04-15T03:18:42.000+0000 |
Updated | 2013-02-13T04:45:13.000+0000 |
Description
if self.install:
self.wait_for_device('d')
info("Installing application on emulator")
cmd += ['-d']
else:
self.wait_for_device('e')
info("Installing application on device")
cmd += ['-e']
The words "emulator" and "device" should be flipped methinks :)
Opened a pull request for this: https://github.com/appcelerator/titanium_mobile/pull/1042
How to Test
The easiest way to test this is to install a module. One of the last printed message from running "ant install" will be "Installing application on " plus either "emulator" or "device". "ant install" should say "device", and "ant run" should say "emulator".Also sent pull request for 1_8_X: https://github.com/appcelerator/titanium_mobile/pull/1060
Closing bug. Verified fix on: SDK build: 1.9.0.v20120117144634 Runtime: V8, Rhino Titanium Studio, build: 1.0.8.201201131907 OS: Mac OS X Lion (10.7.1) Device: Droid 3 (2.3.4), Android Emulator 2.2 Note: Another way to test this is to install/run an app to Android device/emulator.