I reinstalled Windows 7 last week and unzipped Eclipse and reinstalled the SDK again, but I didn't run the program in Eclipse. When I connect the Galaxy phone to my computer, Eclipse shows an error and frequently writes in the console tab Failed to start monitoring 0A3C202B1601A00A. After a while, Eclipse qill show an Android Device Chooser window. I can't select 0A3C202B1601A00A.
I use ADB and i write adb address and adb devices in cmd, cmd writes deamon not running.
When I disconnect the phone from my computer and I want to run the program with an emulator, the program won't run and when I write adb devices in cmd, cmd nothing written.
Why? Please help me :(
Kill the adb task via task manager. Then, type at the command prompt: adb devices
This should restart the adb daemon and all is well.
Re-install the windows driver for your galaxy phone. Its possible that it is corrupted. I had to re-install mine just to get the OS to detect my phone a while back.
Also check the USB debugging mode the phone is using. Sometimes the phone can go into a storage-only mode.
In my case I just had to wait for half an hour after which everything works.
But this was the first start up of my 'hello world' app on my Android phone.
The IDE ran on Ubuntu linux.
Related
I'm using Google Nexus 7 to debug an applications. but now it is prompting the error message below and and popup is coming stating that the USB device is not recognized.
But it was working properly a few days back.
I have not made any updates on the device or the Android SDK.
adb stopped:
USB device not recognized:
What's wrong?
Sometimes the adb executable,is executed several times causing this error, check on your Task Manager (not sure how it's named).
Kill all of them, and restart the adb by taping this command "adb devices" on any windows shell (cmd.exe or powershell).
Hope it'll help you :)
It happened to me during debug, I just unplugged and plugged back the USB cable and adb return to work just fine.
this question is about the adb server version in local machine doesn't match with the adb under the C:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools;
find a same version of abd.exe copy to, then run, done well
i tried to find the key and resolve.
Hello i am trying to run my android app on eclipse and i have this problem:
The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at '/Users/giannis/android-sdks/platform-tools/adb' and can be executed.
any idea about the problem?
Since adb is installed and seems to be working, Eclipse is probably having a problem finding or starting adb. First, check that Eclipse has the right location set for the sdk (Window->Preferences->Android or slightly different on Mac). I think it should based on the error message. Then, if you still can't run the app from Eclipse, try starting adb from the command line with adb start-server.
EDIT: If the app still won't run after doing the above, make sure adb is able to find your device or emulator. Start the emulator or connect your device, then run adb devices from the terminal. If your device or emulator is not listed, adb can't connect to it. If it is an actual device, make sure USB debugging under developer options in the device settings is enabled.
I'm using eclipse and, sometimes, adb directly. Either way, the adb server starts but neither eclipse nor the adb command app can make a connection. Eclipse gives error:
The connection to adb is down... you must restart...
I try the connection from eclipse by attempting to debug my app; from the command line I try adb logcat.
This problem had been intermittent over the last week or so, ever since I updated the android sdk tools and platform tools. I just updated again to 21.0.1 and 16, respectively. Now the problem is 100% consistent and I cannot debug any code :(
I'm running eclipse and adb on Window 7. I'm trying to connect to a Nexus 7 or a Kyocera CS170.
I've tried using Task Manager to kill adb. If either device is plugged in, adb restarts automatically, but still doesn't connect. If not plugged in, I can start it via the adb command line. Then, after plugging in a device, it still doesn't connect.
Any idea?
When I try to Run (or Debug) my project in eclipse, the AVD emulator emulator boots normally but eclipse doesn't recognise it. On DDMS, the Devices tab does not find the AVD emulator and thus I see no traffic in the LogCat.
On the other hand, when I plug my phone and choose Run (or Debug) project, eclipse connects to the phone and works just fine (I see it on DDMS on LogCat shows traffic). Any thoughts on this one?
I'm using Eclipse_Galileo_5.2 and Google APIs (API level 12, Platform 3.1). I was working with the same setup before the problem appeared without any problems.
I highly appreciate all the help...
Simply run from command line adb kill-server and then adb start-server. ADB will reattach to the running emulator and will be able to work with it. Do not exit the emulator as bashu suggests as the problem is likely to appear again if you have a slower computer.
Lots of time it happens to me also.
What i do is, I first Exit the Emulator. Then kill adb using
adb kill-server after that i clean the project.
and then adb start-server
and finally run the application and it works fine for me.
Thanks.
I am running Android SDK 2.2 and am trying to get the adb to connect to the Google Nexus One phone. Its a new phone, shipped straight from Google - haven't installed any apps on it yet.
(I have Windows XP)
Here is what I have done so far:
Followed the instructions on setting up the device for development as given on the Android Developer's site:
http://developer.android.com/guide/developing/device.html
added android:debuggable="true" to my application manifest
USB debuggable is checked on the phone
downloaded the Device Drivers For Windows Revision 3 (this supports Nexus One phones)
Went through the Hardware Installation wizard to install the device - the device shows up as "Android Composite ADB Interface".
When I run adb devices on the shell, the device appears for a moment, then disappears.
On the Eclipse console, I get the following message:
[2010-11-13 11:54:42 - DeviceMonitor]Failed to start monitoring
I have rebooted the pc several times, uninstalled and reinstalled the drivers several times, but I get the same error each time. As I was researching this problem, someone had recommended rebooting the phone. I am a bit confused by that - is that a soft or hard reboot? Do I just power the phone off/on and is there something more complex involved? Do I have to hard reboot it to reset to factory version - even though its brand new?
Has anyone run into a similar problem? Any help on this would be great.
I can't test my application on the device if the adb cannot view the device. Thanks so much in advance.
I had this same problem. To get it working, do the following:
Close Eclipse
Open Task Manager and kill the adb.exe program.
Re-open Eclipse (Eclipse will automatically restart the adb.exe service)
Run adb devices from a command prompt and you should see something like the following:
C:\> adb devices
List of devices attached
0123456789ABCDEF device
Of course, I'm assuming you have your phone plugged into your computer.
It sounds like something is killing the service as soon as it starts. Try disabling any anti-virus and running adb devices again. You can also check your system logs for errors - run compmgmt.msc and check the Event Viewer's logs.
When I run adb devices on the shell, the device appears for a moment, then disappears
Do you mean Windows' command shell cmd.exe? The output of 'adb devices' doesn't update itself, it should just print out what's currently connected then terminate.
Nothing here worked for me. And you know what? I plugged it to my USB 3.0 port.
Just plug it to regular USB 2.0 and it'll work.
Hi you jst need upgrade your usb driver, follow this ref link, after upgrading you need to uncheck USB debugging, disconnect cable from device and then check USB debugging and connect cable to device again. this'll solve your problem..
link text
I had this same problem. Do the following:
Plug your phone into your computer and:
Run the command prompt.
Go to the tools location of the android sdk.
run 'adb kill-server'
then run 'adb start-server'.
Turn off COMODO Firewall and Defense+ module
I got my Nexus One on Windows 7 64 bit going by following these instructions:
http://developer.android.com/sdk/win-usb.html
Note that the directory has changed to /extras/google/usb_driver.
You know that you need to do this if you go to control panel->devices and printers and show properties on the device, and there's no driver shown.
Open the task manager by Ctrl+Shift+Esc
In the Processes select adb.exe and Click the End process Button.
Now close the eclipse and restart it again.
This worked for me. Hope this would work for you as well.