It seems as though Android Emulator Plugin v2.11.1 is completely broken on remote unix-slaves if server itself running on windows. So a path to sdk subfolders is incorrect concatenate? /home/jenkins/tools/android-sdk\tools\android list target. Plugin v2.10 works well.

      Started by build flow MyProject_App#1098
      [EnvInject] - Loading node environment variables.
      Building remotely on buildserver in workspace /home/jenkins/workspace/MyProject
      Cleaning up /home/jenkins/workspace/MyProject/.
      Deleting /home/jenkins/workspace/MyProject/bin
      Deleting /home/jenkins/workspace/MyProject/gen
      Deleting /home/jenkins/workspace/MyProject/monkey.txt
      Deleting /home/jenkins/workspace/MyProject/AndroidManifest.xml
      Deleting /home/jenkins/workspace/MyProject/version.properties
      Updating https://my.domain.com/svn/MyProject/trunk/MyProjectCont at revision '2014-06-06T09:01:56.448 +0200'
      At revision 570
      no change for https://my.domain.com/svn/MyProject/trunk/MyProjectCont since the previous build
      No emails were triggered.
      $ /home/jenkins/tools/android-sdk\tools\android list target
      FATAL: Cannot run program "/home/jenkins/tools/android-sdk\tools\android": error=2, Datei oder Verzeichnis nicht gefunden
      java.io.IOException: Cannot run program "/home/jenkins/tools/android-sdk\tools\android": error=2, Datei oder Verzeichnis nicht gefunden
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
      at hudson.Proc$LocalProc.<init>(Proc.java:244)
      at hudson.Proc$LocalProc.<init>(Proc.java:216)
      at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
      at hudson.Launcher$ProcStarter.start(Launcher.java:353)
      at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:998)
      at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:965)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.io.IOException: error=2, Datei oder Verzeichnis nicht gefunden
      at java.lang.UNIXProcess.forkAndExec(Native Method)
      at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
      at java.lang.ProcessImpl.start(ProcessImpl.java:130)
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
      ... 15 more

          [JENKINS-23346] Path to android-sdk subfolders is incorrect

          I'm experiencing the same with the latest Jenkins LTS version 1.580.1 and android-emulator-plugin version 2.12.
          It was fine with the previous version of android-emulator-plugin 2.10 and Jenkins LTS 1.565.1.

          The master is a windows and the slave is OS X.

          > git clean -fdx # timeout=10
          $ /opt/dailybuild/android/sdk\tools\android list target
          FATAL: Cannot run program "/opt/dailybuild/android/sdk\tools\android": error=2, No such file or directory
          java.io.IOException: Cannot run program "/opt/dailybuild/android/sdk\tools\android": error=2, No such file or directory

          Nicolae Ghimbovschi added a comment - I'm experiencing the same with the latest Jenkins LTS version 1.580.1 and android-emulator-plugin version 2.12. It was fine with the previous version of android-emulator-plugin 2.10 and Jenkins LTS 1.565.1. The master is a windows and the slave is OS X. > git clean -fdx # timeout=10 $ /opt/dailybuild/android/sdk\tools\android list target FATAL: Cannot run program "/opt/dailybuild/android/sdk\tools\android": error=2, No such file or directory java.io.IOException: Cannot run program "/opt/dailybuild/android/sdk\tools\android": error=2, No such file or directory

            orrc Christopher Orr
            wearbif wearbif
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: