Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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…

— asked May 24th 2011 by L F
  • install
  • install android sdk windows
  • install error
0 Comments

7 Answers

  • Accepted Answer

    The docs cover this in detail:

    http://wiki.appcelerator.org/display/guides/Installing+on+Windows+7#InstallingonWindows7-Workaroundforamissingadb

    — answered May 24th 2011 by Tony Guntharp
    permalink
    0 Comments
  • 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.

    — answered May 24th 2011 by Christian Brousseau
    permalink
    1 Comment
    • Yes, that works. Lee's workaround works as well. Essentially it's the same thing. The reference post has you created a system link using the command prompt, while Lee suggested just placing a duplicate copy of the files in the directory Titanium is looking for.

      — commented May 24th 2011 by Kyle Clegg
  • 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.

    — answered May 24th 2011 by Kami -
    permalink
    0 Comments
  • 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

    — answered May 24th 2011 by L F
    permalink
    1 Comment
    • Thanks!

      — commented May 24th 2011 by Kyle Clegg
  • 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.

    — answered May 24th 2011 by Kyle Clegg
    permalink
    1 Comment
    • Why would you -1 me. :(

      — commented May 24th 2011 by Kyle Clegg
  • 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.)

    — answered May 24th 2011 by Kyle Clegg
    permalink
    0 Comments
  • 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

    — answered May 24th 2011 by Rainer Schleevoigt
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.