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

Android Emulator: improve error message from missing ia32-libs dependency on linux

    Details

    • Story Points:
      8

      Description

      The first android emulator run experience of a linux user on a clean system is:

      Titanium Command-Line Interface, CLI version 3.1.0-cr, Titanium SDK version 3.0.2.GA
      Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
      Please report bugs to http://jira.appcelerator.org/
      [INFO] logfile = /home/linux/Desktop/Titanium_Studio/Titanium_Studio_RC/Work_Space/MyProject/build.log
      [ERROR] :  Project failed to build after 275ms
      [INFO] Building MyProject for Android ... one moment
      [INFO] Titanium SDK version: 3.0.2 (02/15/13 19:02 5a77fe7)
      [ERROR] Exception occured while building Android project:
      [ERROR] Traceback (most recent call last):
      [ERROR]   File "/home/linux/.titanium/mobilesdk/linux/3.0.2.GA/android/builder.py", line 2392, in <module>
      [ERROR]     builder.build_and_run(False, avd_id, debugger_host=debugger_host)
      [ERROR]   File "/home/linux/.titanium/mobilesdk/linux/3.0.2.GA/android/builder.py", line 1984, in build_and_run
      [ERROR]     self.wait_for_device('e')
      [ERROR]   File "/home/linux/.titanium/mobilesdk/linux/3.0.2.GA/android/builder.py", line 450, in wait_for_device
      [ERROR]     devices = self.sdk.list_devices()
      [ERROR]   File "/home/linux/.titanium/mobilesdk/linux/3.0.2.GA/android/androidsdk.py", line 264, in list_devices
      [ERROR]     (out, err) = subprocess.Popen([adb, 'devices'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
      [ERROR]   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
      [ERROR]     errread, errwrite)
      [ERROR]   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
      [ERROR]     raise child_exception
      [ERROR] OSError: [Errno 2] No such file or directory
      [ERROR] :  Project failed to build after 584ms
      

      It seems a bit cryptic.

      Please improve error message if possible.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                dhyde Dustin Hyde
                Reviewer:
                Allen Yeung
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-16214
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration