Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10063] Android: Errors while launching an Android emulator with an ABI parameter

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-07-24T17:17:11.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsTooling
Labelscore
ReporterShalom Gibly
AssigneeStephen Tramer
Created2012-07-20T13:38:37.000+0000
Updated2017-03-24T18:08:13.000+0000

Description

While trying to integrate the Studio with the latest support for Android ABIs (TIMOB-9170), I got stuck at this error when launching the processes. Here are the commands we are calling during a 'run' launch on Android 4.0.3 with x86 ABI: "/usr/bin/python" "/Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/2.2.0.v20120712122111/android/builder.py" "*emulator*" "test" "/Developer/android-sdk-macosx" "/Users/shalom/Documents/runtime-Titanium/test" "com.app.id" "11" "WVGA800" "*x86*" "/usr/bin/python" "/Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/2.2.0.v20120712122111/android/builder.py" "*simulator*" "test" "/Developer/android-sdk-macosx" "/Users/shalom/Documents/runtime-Titanium/test" "com.app.id" "11" "WVGA800" "*x86*" ""
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "/Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/2.2.0.v20120712122111/android/builder.py", line 2199, in <module>
[ERROR]     s.run_emulator(avd_id, avd_skin, avd_name, avd_abi, add_args)
[ERROR]   File "/Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/2.2.0.v20120712122111/android/builder.py", line 520, in run_emulator
[ERROR]     handler(3,None)
[ERROR]   File "/Users/shalom/Library/Application Support/Titanium/mobilesdk/osx/2.2.0.v20120712122111/android/builder.py", line 505, in handler
[ERROR]     os.kill(p.pid, signal.SIGTERM)
[ERROR] OSError: [Errno 3] No such process

Comments

  1. Stephen Tramer 2012-07-23

    Works fine as:
       "/usr/bin/python" "/Users/stiv/Library/Application Support/Titanium/mobilesdk/osx/2.2.0/android/builder.py" "emulator" "temp" "/Volumes/Landslide/opt/android-sdk" "/Users/stiv/Documents/Titanium Studio Workspace/temp" "com.appcelerator.temp" "16" "HVGA" "x86" ""
       
    The additional argument is important (it's there to feed backwards compatibility) and is actually the series of "additional arguments" passed into the emulator. The simulator command does not take any information about the arch.
  2. Shalom Gibly 2012-07-24

    Yep. That extra empty value made the difference. Thanks.
  3. Lee Morris 2017-03-24

    Closing ticket as invalid with reference to the above comments.

JSON Source