Project: appceleratorstudio
Issue TISTUD-2515: Android Emulator: Application Installer abnormal process termination. Process exit value was 1
When a project is run in Android Emulator, the process terminates and the emulator fails to launch. When the same command is run from the command line, there is an error. This does not occur in Studio 2.1.2, this is a regression. correct studio 2.1.2 command for comparison: {code} "/usr/bin/python" "/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121013142429/android/builder.py" "emulator" "MyProject" "/Users/dhyde/Desktop/android/android-sdk-macosx" "/Users/dhyde/Desktop/TISTUD-STABLE/TISTUD-STABLE-2.1.2/workspace/MyProject" "com.appcelerator.myproject" "2" "WVGA854" {code} broken studio 3.0.0 studio command: {code} "/usr/bin/python" "/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121013142429/android/builder.py" "emulator" "MyProject" "/Users/dhyde/Desktop/android/android-sdk-macosx" "/Users/dhyde/Desktop/TISTUD-RC/workspace/MyProject" "com.appcelerator.myproject" "Google Inc.:Google APIs:8" "WVGA854" "armeabi" "" {code} console error: {code} DHydeMBP:~ dhyde$ "/usr/bin/python" "/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121013142429/android/builder.py" "emulator" "MyProject" "/Users/dhyde/Desktop/android/android-sdk-macosx" "/Users/dhyde/Desktop/TISTUD-RC/workspace/MyProject" "com.appcelerator.myproject" "Google Inc.:Google APIs:8" "WVGA854" "armeabi" "" [INFO] logfile = /Users/dhyde/Desktop/TISTUD-RC/workspace/MyProject/build.log [DEBUG] /Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121013142429/android/builder.py emulator MyProject /Users/dhyde/Desktop/android/android-sdk-macosx /Users/dhyde/Desktop/TISTUD-RC/workspace/MyProject com.appcelerator.myproject Google Inc.:Google APIs:8 WVGA854 armeabi [TRACE] app property, acs-oauth-secret-production : 2bF4wIg5R1jyZgpho9T1KK0O7DaZEAGH [TRACE] app property, acs-oauth-key-production : 77o6QwCZEO42wzQGzEHHpyQdKvT9iUBC [TRACE] app property, acs-api-key-production : gscwbUg86rxKwZ7riRYdgc69UHcPwDly [TRACE] app property, acs-oauth-secret-development : wOXlhxKgcO6iAP3kZoWFdPvIb8BY3K6P [TRACE] app property, acs-oauth-key-development : F2BYLghq7GT3Ov8QVNkegHpliDthe0AV [TRACE] app property, acs-api-key-development : cVUhhCNDUwFgElVEcNxgVeCfsr1v2PiP [TRACE] app property, ti.ui.defaultunit : system [INFO] Launching Android emulator...one moment [DEBUG] From: /Users/dhyde/Desktop/android/android-sdk-macosx/tools/emulator [DEBUG] SDCard: /Users/dhyde/.titanium/android2.sdcard [DEBUG] AVD Name: Google Inc.:Google APIs:8 [DEBUG] SDK: /Users/dhyde/Desktop/android/android-sdk-macosx [DEBUG] /Users/dhyde/Desktop/android/android-sdk-macosx/tools/emulator -avd Google Inc.:Google APIs:8 -port 5560 -sdcard /Users/dhyde/.titanium/android2.sdcard -logcat *:d,*,TiAPI:V -no-boot-anim -partition-size 128 WVGA854 armeabi PANIC: Could not open: /Users/dhyde/.android/avd/Google Inc.:Google APIs:8.ini[DEBUG] signal caught: 3 [DEBUG] calling emulator kill on 60498 [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121013142429/android/builder.py", line 2360, in [ERROR] builder.run_emulator(avd_id, avd_skin, avd_name, avd_abi, add_args) [ERROR] File "/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121013142429/android/builder.py", line 624, in run_emulator [ERROR] handler(3,None) [ERROR] File "/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121013142429/android/builder.py", line 609, in handler [ERROR] os.kill(p.pid, signal.SIGTERM) [ERROR] OSError: [Errno 3] No such process {code} Steps to Reproduce: 1. Run a project in Android Emulator. Actual Result: Terminate, no launch. Expected Result: emulator launches.
Story points: 5