Project: appceleratorstudio
Issue TISTUD-2333: Android Device Debugger: Failure to launch Android emulator
The following issue results from trying to debug on emulator on android in Windows 7: {noformat} [INFO] logfile = C:\Users\qatester\My Documents\Titanium_Studio_Workspace\android1\build.log [DEBUG] C:\Users\qatester\AppData\Roaming\Titanium\mobilesdk\win32\3.0.0.v20120924114913\android\builder.py emulator android1 C:\SDK C:\Users\qatester\My Documents\Titanium_Studio_Workspace\android1 com.shastaqa.android1 8 WVGA854 armeabi-v7a [TRACE] app property, ti.ui.defaultunit : system [INFO] Launching Android emulator...one moment [DEBUG] From: C:\SDK\tools\emulator.exe [DEBUG] SDCard: C:\Users\qatester\.titanium\android2.sdcard [DEBUG] AVD ID: 8 [DEBUG] AVD Skin: WVGA854 [DEBUG] SDK: C:\SDK [DEBUG] C:\SDK\platform-tools\adb.exe start-server [ERROR] Invalid switch - /tmp\temp-android-tool\lib\x86 [ERROR] The syntax of the command is incorrect. [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "C:\Users\qatester\AppData\Roaming\Titanium\mobilesdk\win32\3.0.0.v20120924114913\android\builder.py", line 2258, in [ERROR] builder.run_emulator(avd_id, avd_skin, avd_name, avd_abi, add_args) [ERROR] File "C:\Users\qatester\AppData\Roaming\Titanium\mobilesdk\win32\3.0.0.v20120924114913\android\builder.py", line 485, in run_emulator [ERROR] avd_name = self.create_avd(avd_id, avd_skin, avd_abi) [ERROR] File "C:\Users\qatester\AppData\Roaming\Titanium\mobilesdk\win32\3.0.0.v20120924114913\android\builder.py", line 408, in create_avd [ERROR] available_avds = avd.get_avds(self.sdk) [ERROR] File "C:\Users\qatester\AppData\Roaming\Titanium\mobilesdk\win32\3.0.0.v20120924114913\android\avd.py", line 23, in get_avds [ERROR] for line in run.run([sdk.get_android(),'list','target'],debug=False).split("\n"): [ERROR] AttributeError: 'NoneType' object has no attribute 'split' {noformat} Steps to reproduce: 1. Create a new Android project. 2. Debug on emulator. Expected result: Android emulator should begin and debugging should proceed normally. Actual result: Process throws the above error then tries to relaunch the fastdev server.
Story points: 8