I have upgraded my Android SDK to version 2.3 and Android Development Tools 8.0.0. Now in Eclipse, I get an error message:
Could not find C:\\Program
You need to update the PATH to reflect ADB located in "Platform-Tools" now.
On Mac OS X, open up your terminal and add the following line to your .bash_profile:
export PATH=${PATH}:/Users/yourname/Library/android-sdk/tools:/Users/yourname/Library/android-sdk/platform-tools:
Your .bash_profile is located at
~/.bash_profile
Call me silly, but if you just read the SDK\ Readme.txt
$ cat SDK\ Readme.txt
Welcome to the Android SDK!
The Android SDK archive now only contains the tools. It no longer comes populated with a specific Android platform or Google add-on. Instead you use the SDK Manager to install or update SDK components such as platforms, tools, add-ons, and documentation.
In order to start developing applications, you must install at least one version of the Android platform using the SDK Manager.
This requires an Internet connection, so if you plan to use the SDK offline, please make sure to download the necessary components while online.
To start the SDK Manager, please execute the program "tools/android".
From the command-line you can also directly trigger an update by executing: tools/android update sdk
For more information, please consult the Android web site at http://developer.android.com
I'm tired now, I must rest --- that drained me of all my energy.
I had the same issue after installing the 2.3 SDK, updating the Eclipse ADT Plugin solved the issue. Older ADT plugins were still referring to SDK/tools folder.
(I am using JDK 1.6, Eclipse Galileo SR2)
Please not that including adb.exe path in the environment PATH variable is only necessary for accessing adb through command line.
I followed the following steps - and have a working environment on both MAC and Windows:
I have the path to tools as well as platform-tools in the Android sdk folder set as so:
Unzipped SDK to /Developer/SDKs (Mac) and in D: on windows (after having it in C: earlier an losing everything in a crash :)) - for windows one can use the executable provided by Google.
Install the Android Repositories and Add-ons (for Google API)
Create AVDs
Update Eclipse ADT Plugin
Specify Android SDK Location in Eclipse
I simply did "Help" -> "Check for uppdates" in Eclipse. Then I checked every update possible (I had 2) accepted, waited for the updates to complete, restarted Eclipse and then everything was fixed!
I had some new build errors after the update, though, saying something like:
error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute
I won't explain the solution to that problem since this post isn't about it! However; the solution to that problem can be found in the Google Groups group Android Developers post, SDK 2.3: Get "Multiple substitutions specified in non-positional format" error.
This solved my problem which was that even though I pointed the folder path at my platform-tools directory (which contained the adb.exe), it wouldn't enable the OK/Apply button. I thought I had installed the ADT plug-in (I installed something) but apparently not the right thing.
Go here and follow these instructions: http://developer.android.com/sdk/eclipse-adt.html
My adb.exe
was missing. So I uninstalled the Android 2.3 SDK and installed it again. Now I have an adb.exe
and it works better. My first installation most have failed without prompting it for me.