[TIMOB-3793] Android: builder.py runtime error if running titanium.py to run the app from command line
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-05-15T13:53:28.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | Release 1.7.0, Sprint 2011-17 |
Components | Android |
Labels | n/a |
Reporter | Bill Dawson |
Assignee | Bill Dawson |
Created | 2011-04-27T15:25:09.000+0000 |
Updated | 2011-05-15T13:53:28.000+0000 |
Description
Reproduce:
* Create a new project with TiStudio.
* Go to the project's folder in a terminal/ command-line and enter
titanium run --platform=android
. (Assuming titanium
has been symlinked or aliased to the titanium.py that is at the root of the mobile sdk. If not, you'll need to try it with a full python command line to titanium.py.)
* You'll get the following runtime error:
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/android/builder.py", line 1812, in <module>
log = TiLogger(os.path.join(os.path.abspath(os.path.expanduser(dequote(sys.argv[4]))), 'build.log'))
IndexError: list index out of range
Tested with 1.7.0.844218f... Emulator or device needs to be available to build the application to device