Couldn't find adb.exe or android.bat in your SDK's
Hi All,
I've just (re)installed Titanium 1.2.2 and Java SE and Android SDK. However in titanium I am getting the error that titanim "Couldn't find adb.exe or android.bat in your SDK's "tools" diretory". I have deleted and reinstalled a number of times and still no luck.
Is this platform just a piece of poorly developed sh!t or do you need a degree in computer science to get it working?
Any thoughts/links?
1 last chance then I'm ditching Titanium…
7 Answers
-
Accepted Answer
The docs cover this in detail:
http://wiki.appcelerator.org/display/guides/Installing+on+Windows+7#InstallingonWindows7-Workaroundforamissingadb
-
Have a look at this post:
http://developer.appcelerator.com/question/115031/titanium-developer-cant-find-adbexe
It may hold the answer you are looking for.
-
This problem has been around for months!
On the forum there are many solutions to this. Re-installing is not the solution!
Android has changed the adb.exe and bat stuff to a different folder, placing them in the tools directory solves the first problem.
Then you need to add the install path to your windows computer.
I dont know where to add this path anymore since its what you do once….
You should look the Q&A more closely and use GOOOOOOOOOOGLE.com thats what i did when i started and had this problem.
-
Thanks Mark.
Together with a tech friend we have found a work around. I am on Windows XP and sym links doesn't work on this platform. (I think symlinks work on windows 7 pc and Vista: http://en.wikipedia.org/wiki/Symbolic_link)The solution for XP:
copy the 2 files: "adb.exe" and "AdbWinApi.dll" from the \android-sdk\platform-tools directory and paste them into the \android-sdk\tools directory.Make sure you copy them, not move them, the files need to be in both locations.
Problem solved.
Lee -
Looked into your response a bit deeper and I believe the equivalent of what you're suggesting on a Windows machine is the command mklink /d \tools \platform-tools (from the directory of the android sdk). With this command is received a response: symbolic link created for \tools <<==>> \platforms.
Going back to Titanium however I received the same error message. So no solution yet, but I think we're on to something here… the question is why would the location of the adb change?
That's not cool, Google.
-
Getting the same problem. I am not using a Mac. I'm running Windows and have been developing for Android for 5 months, so I'm positive I have the SDK up and running just fine. I went into the Android SDK manager and have updated everything to be sure I am running the latest versions of the SDK tools.
Currently it shows:
Android SDK Tools, revision 11
Android SDK Platform-tools, revision 4
Google APIs by Google Inc., Android API12, revision 1
So on and so forth…Why does it tell me "Couldn't find adb.exe or android.bat in your SDK's "tools" directory. You may need to install a newer version of the SDK tools." when they are clearly there and running? (I can run Android projects from Eclipse no problem.)
-
Hi,
you can chill. The pace of adb is changed. On my Mac I searched for adb. It was in an other directory. Then I build a sym link and all is fine.
cd android-sdk-mac_x86
ln -s tools platform-tools