Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-3793

Android: builder.py runtime error if running titanium.py to run the app from command line

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: Release 1.7.0
    • Fix Version/s: Release 1.7.0, Sprint 2011-17
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Titanium Mobile 1.7.0 059171f21

      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
      

        Activity

        Hide
        Natalie Huynh added a comment -

        Tested with 1.7.0.844218f...
        Emulator or device needs to be available to build the application to device

        Show
        Natalie Huynh added a comment - Tested with 1.7.0.844218f... Emulator or device needs to be available to build the application to device

          People

          • Assignee:
            Bill Dawson
            Reporter:
            Bill Dawson
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development