Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old December 11th, 2010, 01:33 PM   #1 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 78
 
Device(s):
Thanks: 2
Thanked 0 Times in 0 Posts
Default DDMS cannot find ADB

I hope this is the right forum for this. I am trying to fix the WiFi on my Samsung Captivate. This thread here tells how to do it. Unfortunately when I run DDMS I get the error "Failed to get the adb version: Cannot run program "adb": CreateProcess error=2, The system cannot find the file specified." I have tried installing the SDK on both a Windows 7 64-bit and XP 32-bit machine. I get the same error on both machines. I have tried both the generic Galaxy S drivers and the Captivate drivers. Any suggestions? Here are the instructions I've followed in case you don't want to read the other thread:
1. Install the SDK -> Android SDK | Android Developers

(make sure the <SDK>/tools path is added to the windows path variable. My Computer -> Properties -> Advanced -> Environment Variables -> System variable -> add the SDK path at the end of Path variable )

2. On your phone, please enable (tick mark) "USB debugging" under "Settings" -> "Applications" -> "Development"

3. Connect your phone using USB to PC/Laptop. Close phone manager application if it comes up on the PC.

4. Run "ddms.bat" from <SDK>/tools directory. The DDMS application will come up and it should readily connect to your phone. (in the main screen, under Name, you should find the phone ID and SW ver. no.)

5. Go to menu Device -> File Explorer. New window will come up.

6. Here go to data -> wifi directory. You will see a file bcm_supp.conf.

7. Though it is not possible to read this file, you should be able to delete it. (at least I could delete it). You can delete the file by selecting it and then pressing red "-" on top left of the window.


Thanks!

automagrt is offline  
Reply With Quote
Sponsors
Old December 11th, 2010, 02:05 PM   #2 (permalink)
Junior Member
 
Join Date: Jul 2010
Posts: 78
 
Device(s):
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Well, soon after posting this I realize where the problem is. The Path should have the platform-tools directory instead of the tools directory because that's where adb is located. I corrected that and it loaded right up. Unfortunately, when I click on the + sign for the Data folder it doesn't show me anything I'm assuming my phone has to be rooted to see it and I really don't want to do that. Guess I'm going to have to do a factory reset after all.
automagrt is offline  
Last edited by automagrt; December 11th, 2010 at 02:14 PM.
Reply With Quote
Old December 18th, 2010, 01:29 PM   #3 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, thanks, after adding
C:\Program Files\Android\android-sdk-windows\tools;C:\Program Files\Android\android-sdk-windows\platform-tools\
the problem with the missing adb is gone
lubo777 is offline  
Reply With Quote
Old December 18th, 2010, 03:46 PM   #4 (permalink)
Junior Member
 
DJ Orion's Avatar
 
Join Date: Nov 2010
Location: Williamsport, PA
Posts: 17
 
Device(s): HTC Incredible
Thanks: 3
Thanked 1 Time in 1 Post
Default

EDIT:
Nevermind. I figured it out.
DJ Orion is offline  
Last edited by DJ Orion; December 18th, 2010 at 07:34 PM.
Reply With Quote
Old January 22nd, 2011, 02:56 AM   #5 (permalink)
Member
 
Join Date: Nov 2010
Location: Michigan, USA
Posts: 313
 
Device(s): Droid Incredible by HTC
Thanks: 14
Thanked 14 Times in 13 Posts
Default

I have been at this for about a hour now, I am curious how the heck do I fix this problem exactly? I do not know what post #3 means and if someone could elaborate would be highly appreciated. I am getting frustrated because every solution I find is telling short answers and not really telling you how to fix it, lol and that is what frustrates me. I am stuck and I want to be able to move on and I can't. Grr! lol

How exactly do I fix this issue???

Update: Nevermind, I ended up finding another post to help me. The files that ddms was trying to call were missing and needed to be moved from the folder they were placed in, into the correct folder. lol I'm going to bed now, because it seems I'm having one problem after another with setting my PC up with stuff. lol
Shorte85 is offline  
Last edited by Shorte85; January 22nd, 2011 at 03:21 AM.
Reply With Quote
Old May 27th, 2011, 04:55 AM   #6 (permalink)
New Member
 
Join Date: May 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default

Here I found a good solution
just check it....

ANDROID ECLIPSE MANIA
ajay meher is offline  
Reply With Quote
Reply

Bookmarks

Tags
adb, ddms


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
why won't DDMS launch for me ? gwcaton Android Applications 3 July 30th, 2010 05:58 PM
Can not send value from DDMS duonginfo Application Development 0 May 18th, 2010 11:17 PM
2.1 & Connecting to SDK - DDMS TheSultan HTC Droid Eris 7 April 2nd, 2010 05:43 PM
DDMS doesn't show my G1 heartbraden Application Development 2 January 29th, 2010 11:22 AM
help!Why my ddms can't find the phone? crane02 Application Development 1 January 29th, 2010 11:22 AM



All times are GMT -5. The time now is 11:36 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo