Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I be concerned with DDMS message in the console area of Eclipse?

After many hours, I have finally installed the proper version of Eclipse (3.6.2), the SDK (16.0.1), and the ADT Plugin for eclipse. I was able to "plug in" the SDK starter kit with no problem. Then, when I went to install the latest API 4.0.3 (window --> SDK manager ...), in the lower part of the window in the console (it is headed by "DDMS") the following message was displayed:

[2011-12-30 16:23:03 - DDMS] DDMS files not found: C:\Program Files    (x86)\eclipse\platform-tools\adb.exe C:\Program Files (x86)\eclipse\tools\hprof-conv.exe  C:\Program Files (x86)\eclipse\tools\traceview.bat 
[2011-12-30 16:47:18 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-12-30 16:47:19 - DeviceMonitor] Connection attempts: 1

I believe that the something is looking for DDMS within the eclipse folder and not the Android folder. If this is problem or otherwise, how do I fix it? Thanks in advance!

BTW I am using windows 7 (64 bit)

like image 748
Armon-LUStudent Avatar asked Dec 30 '11 17:12

Armon-LUStudent


2 Answers

First of all check if there are or there aren't those files. If there aren't they you should have some problems during installation and the best way is to re-install SDK.

However, if you will find there those files than you can restart adb, that mean eclipse. In extreme cases computer.

like image 82
sebap123 Avatar answered Nov 15 '22 00:11

sebap123


Thanks to all of you, I also fixed all my errors, which included some listed here. Someone on another site also recommended the following, which fixed most (if not all) of my errors:

"Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem. If you are in Eclipse, you can do this by going through Window -> Preferences and then it is in DDMS under Android."

In my case I had to go to the following (in Eclipse of course)

Windows->Preferences->Android->DDMS

-jaime

like image 26
jaime Avatar answered Nov 15 '22 01:11

jaime