Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27072

Mismatched separators for Android SDK paths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Master: Windows Server 2008
      Slave: Ubuntu 12.04 LTS
      Jenkins ver. 1.554.3
      Android Emulator Plugin 2.12

      AEP composes path to the SDK with false separator. AEP 2.10 works well. Nicolae Ghimbovschi in his comment for issue #23346 confirms this behavior.

      Started by user USER
      [EnvInject] - Loading node environment variables.
      Building remotely on BUILDSERVER (BUILDSERVER) in workspace WORKSPACE_PATH
      Cleaning up WORKSPACE_PATH/.
      Updating SVN_PATH at revision '2015-02-20T16:07:22.238 +0100'
      At revision 1212
      no change for SVN_PATH since the previous build
      No emails were triggered.
      [android] Using Android SDK: /opt/android-sdk-linux
      [android] Creating Android AVD: /home/jenkins/.android/avd/hudson_de-DE_480_1080x1920_android-21_armeabi-v7a.avd
      [android] /opt/android-sdk-linux/tools/android create avd -f -a -c 2000M -s 1080x1920 -n hudson_de-DE_480_1080x1920_android-21_armeabi-v7a -t android-21 --abi armeabi-v7a
      $ */opt/android-sdk-linux\platform-tools\adb start-server*
      FATAL: Cannot run program "/opt/android-sdk-linux\platform-tools\adb": error=2, Datei oder Verzeichnis nicht gefunden
      java.io.IOException: Cannot run program "/opt/android-sdk-linux\platform-tools\adb": 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:1023)
      	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:990)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:328)
      	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
      

            orrc Christopher Orr
            wearbif wearbif
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: