java.io.IOException: Cannot run program "adb": error=2, No such file or directory


Samebug tips1

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


8 months ago
Expert tip

Solutions on the web2835

Solution icon of stackoverflow
Cannot run program "adb": error=2, No such file or directory

Solution icon of github
via GitHub by ChethanGKC
, 8 months ago
Cannot run program "adb": error=2, No such file or directory

Solution icon of github
via GitHub by droidniz
, 1 month ago
Cannot run program "adb": error=2, No such file or directory

Solution icon of github
via GitHub by Honghe
, 1 year ago
Cannot run program "adb": error=2, No such file or directory

Solution icon of web
Cannot run program "adb": error=2, No such file or directory

Solution icon of github
via GitHub by Honghe
, 1 year ago
Cannot run program "adb": error=2, No such file or directory

Solution icon of googlegroups
via Google Groups by Neo, 1 year ago
Cannot run program "adb": java.io.IOException: error=2, No such file or directory

Solution icon of github
via GitHub by Honghe
, 1 year ago
Cannot run program "adb": error=2, No such file or directory

Solution icon of github
Cannot run program "adb": error=2, No such file or directory Failed to initialize framework

Solution icon of stackoverflow
via Stack Overflow by P-RAD
, 1 year ago
Cannot run program "/var/lib/jenkins/tools/android-sdk/platform-tools/adb": error=2, No such file or directory

Stack trace

java.io.IOException: Cannot run program "adb": error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at pb.main(pb.java:24)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 1 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
8 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
152 more bugmates