[TIMOB-4631] Android: Failure to launch emulator with r12 SDK tools
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-07-13T08:43:03.000+0000 |
Affected Version/s | Release 1.7.1 |
Fix Version/s | Sprint 2011-28, Release 1.7.2, Release 1.8.0 |
Components | Tooling |
Labels | n/a |
Reporter | Opie Cyrus |
Assignee | Marshall Culpepper |
Created | 2011-07-09T12:05:29.000+0000 |
Updated | 2017-03-03T22:47:56.000+0000 |
Description
launching emulator via Tistudio with r12 SDK tools installed on Window 7 64bit causes launch failure that stems from a problem with the new tools being unable to handle white space properly. A work around for part of this problem is to first have the Android SDK installed to a path without a space ("C:\Android\android-sdk-windows" rather than "C:\Program Files (x86)\Android\android-sdk-windows").
The second part of the issue is where the builder.py sets the "-logcat" flag and provides logging tags. Apparently the space in ":d *" causes the problem but the Android docs state that a space or comma may be used to separate the logging tags and I verified that the command will work is ":d," is used rather than ":d *". Perhaps builder.py should be changed to adopt the comma format for the logging tags in order to address this.
launching emulator via Tistudio with r12 SDK tools installed on Window 7 64bit causes launch failure that stems from a problem with the new tools being unable to handle white space properly. A work around for part of this problem is to first have the Android SDK installed to a path without a space ("C:\Android\android-sdk-windows" rather than "C:\Program Files (x86)\Android\android-sdk-windows"). The second part of the issue is where the builder.py sets the "-logcat" flag and provides logging tags. Apparently the space in "*:d *" causes the problem but the Android docs state that a space or comma may be used to separate the logging tags and I verified that the command will work is "*:d,*" is used rather than "*:d *". Perhaps builder.py should be changed to adopt the comma format for the logging tags in order to address this.
To test the fix, you'll need to run this in Windows: 1. Upgrade the Android SDK to r12 SDK _and_ SDK Platform-tools r5 1. In an existing or new Titanium Project in Titanium Studio, choose Run on Android Emulator. 2. If the emulator starts (instead of failing), then this bug should be fixed.
cf. google bug: http://code.google.com/p/android/issues/detail?id=18317
Closing ticket.