Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-10072

Android: CLI won't launch Android Emulator

    Details

      Description

      Problem description

      Trying to launch the emulator using 'titanium emulator' in console fails.

      1) --platform is listed as an optional parameter for emulator, but it is required.
      2) When --platform=android is used, the command fails and the emulator is not run.

      Steps to reproduce

      From the console, run (in a project directory):

      $ titanium emulator
      required argument '--platform' missing
       
      $ titanium emulator --platform=android
      Invalid platform type: android
      

      Additional note

      Customer gets a different error:

      $ titanium emulator --platform=android
      Traceback (most recent call last):
      File "/Users/chaim/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.GA/android/builder.py", line 2081, in <module>
      tiappxml = TiAppXML(os.path.join(project_dir, 'tiapp.xml'))
      File "/Users/chaim/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.GA/tiapp.py", line 52, in __init__
      data = codecs.open(self.file,'r','utf-8','replace')
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 881, in open
      file = __builtin__.open(filename, mode, buffering)
      IOError: [Errno 2] No such file or directory: 'android/tiapp.xml'
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              tinjaw Chaim Krause
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code