Tuesday, December 7, 2010

Can not find adb.exe after Android SDK update

After updating the Android SDK I got the following message when I opened Eclipse:
Can not find C:\Program Files\Google\Android SDK\tools\adb.exe
Please check the Android plugin's preferences

And when I checked the adb.exe was really missing!

Solution:
Update the Android add-ins for Eclipse, in Eclipse: "Help" -> "Check for Updates".

The reason for this error (in my case) was that since SDK 2.3 the 'adb.exe' was moved to:
C:\Program Files\Google\Android SDK\platform-tools\adb.exe

UPDATE: ddms.bat does not work as well (can not find adb.exe). The work-around I'm using until I'll find a better solution is adding the platform-tools folder to the environment PATH variable.

8 comments:

MarkMunsell said...

Thanks a ton for this. Just ran into this problem this morning, googled, your blog came up, fixed 3 minutes later. It's people like you that take the time to post a problem and solution that make this world hum...

Alex said...

Sagi,

Thank you...

Mark,

I couldn't have said it better.

InfoShyam said...

Thanks dude.. You rock.. But my suggestion is why dont we copy the adb.exe and the corresponding .dll file back to c:\androidSDK-2.1\tools.
I tried this. It is working fine.

Tommy said...

@Mark
It really works, thanks!

Upen said...
This comment has been removed by the author.
Upen said...

updating helped ... Sagi , good idea !

Kiran Gowtham said...

Hey man if i do check for updates it shows no updates........pls suggest me sme idea pls pls

Kiran Gowtham said...

Eclipse show no updates what to do now???pls suggest sme idea