[TIMOB-10063] Android: Errors while launching an Android emulator with an ABI parameter
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-07-24T17:17:11.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | n/a |
Components | Tooling |
Labels | core |
Reporter | Shalom Gibly |
Assignee | Stephen Tramer |
Created | 2012-07-20T13:38:37.000+0000 |
Updated | 2017-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
Works fine as:
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.Yep. That extra empty value made the difference. Thanks.
Closing ticket as invalid with reference to the above comments.