java.io.IOException: Cannot run program "/opt/android-sdk-linux\platform-tools\adb": error=2, Datei oder Verzeichnis nicht gefunden

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Solutions on the web

via Jenkins JIRA by wearbif, 1 year ago
Cannot run program "/opt/android-sdk-linux\platform-tools\adb": error=2, Datei oder Verzeichnis nicht gefunden
via Jenkins JIRA by wearbif, 1 year ago
Cannot run program "/opt/android-sdk-linux\platform-tools\adb": error=2, Datei oder Verzeichnis nicht gefunden
via Jenkins JIRA by wearbif, 1 year ago
Cannot run program "/home/jenkins/tools/android-sdk\tools\android": error=2, Datei oder Verzeichnis nicht gefunden
via Jenkins JIRA by wearbif, 1 year ago
Cannot run program "/home/jenkins/tools/android-sdk\tools\android": error=2, Datei oder Verzeichnis nicht gefunden
via Jenkins JIRA by David Dawson, 1 year ago
Cannot run program "tools/com.g2one.hudson.grails.GrailsInstallation/2.3.1/bin/grails" (in directory "workspace/Grails - GWT Plugin Package"): error=2, No such file or directory
via Jenkins JIRA by David Dawson, 1 year ago
Cannot run program "tools/com.g2one.hudson.grails.GrailsInstallation/2.3.1/bin/grails" (in directory "workspace/Grails - GWT Plugin Package"): error=2, No such file or directory
java.io.IOException: error=2, Datei oder Verzeichnis nicht gefunden
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
at hudson.Proc$LocalProc.(Proc.java:244)
at hudson.Proc$LocalProc.(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.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)

Users with the same issue

2 times, 1 month ago
Once, 1 month ago
Once, 2 months ago
15 times, 3 months ago
6 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.