score:5
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.
score:-3
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.
score:0
You also need to update ADT plugin for eclipse, it looks for adb in the proper directory, at least it works fine for me.
score:0
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:
- Appended to PATH in .bashrc and (I have everything referenced from .bash_profile) (MAC)
- Appended to PATH environment system variable (Windows)
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)
- Go to bash prompt (by clicking on Terminal in Utilities) and type android (this will open the AVD and SDK Manager (Mac)
- Click on Setup.exe inside the SDK folder (Windows)
- Select Available packages on left pane. -Open Third party add-ons and check on Google Inc for Google APIs. (I personally have unchecked everything obsolete, to add in the future IF needed)
- Click on Install Selected.
Create AVDs
- Again bring up the AVD and SDK Manager as in the earlier step
- Click on Virtual Devices on left pane.
- Name: AVD_2.3 for level 9, 1024 MiB and click OK AVD_2.3_GA for level 9 Google API, 1024 MiB and click OK. And so on for the other levels
Update Eclipse ADT Plugin
- Go to Eclipse ->Help->Install New Software->Link of available software, and select on the Android Plugin choices and Click on Update..(this is extremely important, otherwise you will get the error of adb not found in the next step.
Specify Android SDK Location in Eclipse
- Select Eclipse Preferences->Android (MAC)
- Select Windows->Preferences->Android (Windows)
- Browse to the path to the SDK folder (not the tools or any other folder) and click OK. Now you MUST NOT get the adb error :) If you have done everything right you should see all the AVDs, if you do not see it, close the dialog and open it again, you MUST see all AVDs which you created in step 3.
score:0
I also updated the ADT plugin for eclipse, even though I originally only loaded the eclipse plugin three days ago. Updating the plugin solved the missing adb.exe problem.
score:0
I was able to fix the error as follows. 1. Go to eclipse Click Help>Check for Updates 2. Go to Windows->Android SDK and AVD Manager-> Install packages->Android SDK tools (install). 3. Restart Eclipse
score:0
I had the same issue and solved this by the following : 1) "Help" -> "Check for uppdates" in Eclipse 2) GOTO android sdk lib - sdk manager - install "Android SDK platform-tools"
thats it good luck
score:0
Go to "Help" -> "Check for uppdates" in Eclipse. Then check every update possible, wait for the updates to complete, restarted Eclipse and then everything is fix!
score:1
I had the same issue. I had to restart eclipse three times, and reboot, and then it worked. Oh, and I had to close all open projects as well.
score:1
start AVD Manager from Command Line
Installed Packages Update All
Accept to update all
Start Eclipse->Help->Check for updates->Update All
Restart Eclipse
score:1
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
score:3
It is now under platform-tools. You have to install it using the Android tool to select the package "platform-tools".
I know, it is silly.
score:4
My Antivirus removed the adb.exe file when i was trying to run my project
all i had to do is to reinstall Android SDK Platform-tools
and it fixed it
score:5
what I did...
- closed my projects and exited Eclipse
- executed [MYDRIVE]:[MYANDROIDPATH]\android-sdk-windows\tools\android.bat
- selected "Available Packages" -> "Android Repository" and installed everything listed
- closed the installation screen and exited the android.bat DOS window
- updated the PATH environment variable to include "[MYDRIVE]:[MYANDROIDPATH]\android-sdk-windows\platform-tools"
- started Eclipse and got error message... clicked: Help -> Check for Updates
- let it update "Android DDMS", "Android Dev tools", (and Mercurial)
- restart Eclipse
- Click: Window -> Preferences -> checked that the path was "[MYDRIVE]:[MYANDROIDPATH]\android-sdk-windows". Clicked: Apply -> OK
- restarted Eclipse (just to be sure), opened my projects... back to work !
score:6
@Jonas In your eclipse Click Help>Check for Updates. This will update the ADT Plugin. The new ADT plugin knows where to find apt and adb. Jus do this and your prob will be fixed,
EDIT: See the image. Install the first two items as well.
a
score:9
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
score:12
I had the same issue. I resolved it by going to Help -> Check for Updates and update the listed components in Eclipse.
score:23
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.
Source: stackoverflow.com
Related Query
- Could not find adb.exe - after upgrade to Android SDK 2.3
- Android SDK Manager could not find packages
- Android SDK and AVD manager will not run from Eclipse after upgrade to SDK 5 and ADT 0.9.6
- Android Eclipse - Could not find *.apk
- Android Maven Could not find tool 'aapt'
- Android Could not find android-support-v7-appcompat.apk error
- Could not find class 'android.webkit.WebResourceResponse' when running HelloCordova on Android 2.2
- "Can't find API database; API check was not performed" in Android App SDK with Eclipse
- Unable to run Android app, Could not find .apk issue in eclipse
- could not find class referenced from method android java.lang.NoClassDefFoundError
- Eclipse : Could not open editor after Eclipse PDT upgrade to version 5.0.1.201706221952
- Android application unhandled exception: Could not find class 'X', referenced from method 'Y'
- Sound on html5 not work after compile android apk using webview eclips and SDK
- Error: Could not find or load main class after adding dependency (maven)
- Android Could not find class, Nested jars issues?
- Could not find any version that matches com.android.support:appcompat-v7:+. in android eclipse
- Could not find method defaultConfig() - Android Studio
- Appium session, could not find a connected Android device. Shows error
- eclipse android sdk does not update code after changes
- Android SDK Manager MacOS Could Not Select Items For Install
- App Engine Connected Android Project - Could not find ...RequestFactorySource
- Error: Could not find or load main class in eclipse IDE after cleaning project
- After converting to maven getting error : Could not find or load main class
- After doing all what I can, there is still error "Could not find OpenCV Library - 2.4.9.apk" in Android for OpenCV
- Android Lollipop is not listed in Eclipse Target SDK even after installing latest SDK
- PhoneGap 2.0 Upgrade Errors - JSCallback Error / Could not find class
- Android Java Googlemap Could not find android-mapviewballoons.apk
- android adMob could not find class
- Android - Could not find *.apk
- Android Studio Pre-Lollipop Emulators Could not find class
More Query from same tag
- Using GitLab LFS with eclipse
- Remove initial focus of textbox when app starts?
- Maven Checkstyle and Eclipse Checkstyle report similar but different results using the same config file
- Maven project: The hierarchy of the type SpittrWebAppInitializer is inconsistent
- Eclipse GUI shows newly styled button incorrectly
- Generic interface error in eclipse
- Eclipse PDE: How to add buttons to a view?
- Python IO error : too many open files
- No resource found that matches the given name: attr 'colorAccent'
- Eclipse suddenly stopped letting me modify variables in a Java project folder after an erroneous key command
- Conditional Java compilation
- How to uninstall eclipse che completely on mac osx?
- Dynamically adding Thumbnail in android
- Imgproc.convexityDefects(); In eclipse + java + opencv
- Eclipse in Linux - Error installing the Jcraft SFTP Plug-in
- Eclipse IDE for C++
- Eclipse plugin for Fluent API methods
- Detail formatter error: Evaluations must contain either an expression or a block of well-formed statements
- Use the class in several projects (Eclipse)
- Error after installing EclipseCoder plugin to run Topcoder Arena
- async task for get data from firebase
- Changing access permission on required library in Eclipse
- Eclipse jar export and lib folder
- Error message "The method withTagName(String) is undefined for type RelativeLocator" - Selenium 4 java
- Eclipse: Show XQDT output in Eclipse's graphical XML editor?
- Can I create folder inside package in eclipse?
- How to dump the content of method argument with OpenJ9 Xtrace Option
- Import soapui tests to eclipse
- How to develop a LibreOffice extension in Eclipse?
- Getting error of eclipse.idReplacer on automated build script