Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Needs more info
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Environment:
      • Titanium mobile SDK 1.8.0.1
      • Android API 2.2
      • Titanium Studio 1.0.7.201112281340
      • Windows 7
      • Physical device : Samsung Galaxy S - 2.3.4 - GINGERBREAD.XXJVR

      Description

      Problem

      An exception occurs when app is built for Emulator or Device,

      I've tried with my own application and after reinstalling Titanium Studio with the default app.

      Everything worked find with the previous version, and only started with update to build 1.0.7.201112281340.

      To confirm, I've cleaned my project (Project/Clean). If 1.7.5 is selected in tiapp.xml, the same error (including a path to 1.8.0.1 builder.py), is produced. Also, launching from the command line using these instructions exhibits the problem.

      Discussions

      http://developer.appcelerator.com/question/130159/mobiel-studio---107201112281340--cant-launch-android-emulator-or-adroid-device

      Logs

      Console - Android Emulator

      [INFO] logfile = C:\Users\alain\Documents\Taff\Flash\Titanium Studio Workspace\Instantaneus\build.log
      [DEBUG] C:\Users\alain\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py emulator Instantaneus C:\Program Files\Android\android-sdk C:\Users\alain\Documents\Taff\Flash\Titanium Studio Workspace\Instantaneus com.instantaneus.mobile 1 HVGA
      [INFO] Launching Android emulator...one moment
      [DEBUG] From: C:\Program Files\Android\android-sdk\tools\emulator.exe
      [DEBUG] SDCard: C:\Users\alain\.titanium\android2.sdcard
      [DEBUG] AVD ID: 1
      [DEBUG] AVD Skin: HVGA
      [DEBUG] SDK: C:\Program Files\Android\android-sdk
      [ERROR] Exception occured while building Android project:
      [ERROR] Traceback (most recent call last):
      [ERROR]   File "C:\Users\alain\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py", line 2032, in <module>
      [ERROR]     s.run_emulator(avd_id, avd_skin)
      [ERROR]   File "C:\Users\alain\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py", line 401, in run_emulator
      [ERROR]     run.run([self.sdk.get_adb(), "start-server"], True, ignore_output=True)
      [ERROR]   File "C:\Users\alain\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\run.py", line 30, in run
      [ERROR]     print "[DEBUG] %s" % (subprocess.list2cmdline(args))
      [ERROR]   File "C:\Program Files\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1313011725\python\lib\subprocess.py", line 503, in list2cmdline
      [ERROR]     needquote = (" " in arg) or ("\t" in arg) or arg == ""
      [ERROR] TypeError: argument of type 'NoneType' is not iterable
      

      After few seconds, the console window refreshes and the following message is displayed:

      Console - Android Emulator

      [INFO] [2012-01-04 02:23:59,625] Serving up files for com.instantaneus.mobile at 0.0.0.0:49994 from C:\Users\alain\Documents\Taff\Flash\Titanium Studio Workspace\Instantaneus
      

      Console - Application installer (Android Device)

      [INFO] logfile = C:\Users\alain\Documents\Taff\Flash\Titanium Studio Workspace\Instantaneus\build.log
      [DEBUG] C:\Users\alain\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py install Instantaneus C:\Program Files\Android\android-sdk C:\Users\alain\Documents\Taff\Flash\Titanium Studio Workspace\Instantaneus com.instantaneus.mobile 1
      [ERROR] Exception occured while building Android project:
      [ERROR] Traceback (most recent call last):
      [ERROR]   File "C:\Users\alain\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py", line 2045, in <module>
      [ERROR]     s.build_and_run(True, avd_id, device_args=device_args)
      [ERROR]   File "C:\Users\alain\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\builder.py", line 1677, in build_and_run
      [ERROR]     run.run([self.sdk.get_adb(), "start-server"], True, ignore_output=True)
      [ERROR]   File "C:\Users\alain\AppData\Roaming\Titanium\mobilesdk\win32\1.8.0.1\android\run.py", line 30, in run
      [ERROR]     print "[DEBUG] %s" % (subprocess.list2cmdline(args))
      [ERROR]   File "C:\Program Files\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1313011725\python\lib\subprocess.py", line 503, in list2cmdline
      [ERROR]     needquote = (" " in arg) or ("\t" in arg) or arg == ""
      [ERROR] TypeError: argument of type 'NoneType' is not iterable
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                youpsla Alain Abraham
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: