Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4631] Android: Failure to launch emulator with r12 SDK tools

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2011-07-13T08:43:03.000+0000
Affected Version/sRelease 1.7.1
Fix Version/sSprint 2011-28, Release 1.7.2, Release 1.8.0
ComponentsTooling
Labelsn/a
ReporterOpie Cyrus
AssigneeMarshall Culpepper
Created2011-07-09T12:05:29.000+0000
Updated2017-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.

Comments

  1. Opie Cyrus 2011-07-09

    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.
  2. Marshall Culpepper 2011-07-11

    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.
  3. Bill Dawson 2011-08-01

    cf. google bug: http://code.google.com/p/android/issues/detail?id=18317
  4. Lee Morris 2017-03-03

    Closing ticket.

JSON Source