Project: appceleratorstudio
Issue TISTUD-3635: Android fails to build on emulator & device with the latest nightly studio 3.1.0.201302281824
I was testing tizen setup instructions for the tizen release & had tizen required software installed before I saw this issue. Description: 1.Update the nightly studio to the latest 3.1.0.201302281824 2.Create an app 3.Select target as android 4.Run in emulator/device Actual result: 1.the build fails. 2.Build log is as follows; {code} Logfile initialized [INFO] logfile = C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test\build.log [INFO] logfile = C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test\build.log [DEBUG] C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130301142454\android\builder.py simulator test C:\Users\QEtester\Desktop\android\android-sdk C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test com.app.test 2 WVGA854 [DEBUG] C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130301142454\android\builder.py emulator test C:\Users\QEtester\Desktop\android\android-sdk C:\Users\QEtester\Desktop\tistud\tistud-nightly\workspace\test com.app.test 2 WVGA854 [INFO] Building test for Android ... one moment [INFO] Launching Android emulator...one moment [DEBUG] From: C:\Users\QEtester\Desktop\android\android-sdk\tools\emulator.exe [DEBUG] SDCard: C:\Users\QEtester\.titanium\android2.sdcard [DEBUG] AVD ID: 2 [DEBUG] AVD Skin: WVGA854 [DEBUG] SDK: C:\Users\QEtester\Desktop\android\android-sdk [INFO] Titanium SDK version: 3.1.0 (03/01/13 14:24 66f7cce) [DEBUG] Waiting for device to be ready ... [TRACE] adb devices returned 0 devices/emulators [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130301142454\android\builder.py", line 2479, in [ERROR] builder.run_emulator(avd_id, avd_skin, avd_name, avd_abi, add_args) [ERROR] File "C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130301142454\android\builder.py", line 619, in run_emulator [ERROR] avd_name = self.create_avd(avd_id, avd_skin, avd_abi) [ERROR] File "C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130301142454\android\builder.py", line 538, in create_avd [ERROR] available_avds = avd.get_avds(self.sdk) [ERROR] File "C:\Users\QEtester\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.v20130301142454\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' [TRACE] adb devices returned 0 devices/emulators [TRACE] adb devices returned 0 devices/emulators [TRACE] adb devices returned 0 devices/emulators [TRACE] adb devices returned 0 devices/emulators [TRACE] adb devices returned 0 devices/emulators [ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again {code} Expected Result: 1.The build should succeed on device & simulator
Story points: 8