-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows 2008 R2 x64
Jenkins 1.568
Jenkins builded my Android_Test project and alert me following sentences:
$ D:\software\adt-bundle-windows-x86_64\sdk\tools\android.bat list target
[android] Using Android SDK: D:\software\adt-bundle-windows-x86_64\sdk
[android] Creating Android AVD: C:\Windows\system32\config\systemprofile\.android\avd\hudson_zh-CN_240_WVGA_android-19_armeabi-v7a.avd
[android] D:\software\adt-bundle-windows-x86_64\sdk\tools\android.bat create avd -f -a -c 100M -s WVGA800 -n hudson_zh-CN_240_WVGA_android-19_armeabi-v7a -t android-19 --abi armeabi-v7a
[android] Could not create Android emulator: Failed to run AVD creation command
But I input above command line at the Server of Jenkins. It's successful.
Note to self: We do some weird stuff with stdout/stderr, and there is some weirdness here on Windows. We should make sure most/all stdout/stderr output is logged to the build log so we can see what's going wrong.
Code is around here:
https://github.com/jenkinsci/android-emulator-plugin/blob/5bdae9/src/main/java/hudson/plugins/android_emulator/EmulatorConfig.java#L596