[Q] ADB - myTouch 4G Q&A, Help & Troubleshooting

I can't install ADB and get it to recognize my phone for the life of me!!
I'm following this guide here:http://forum.xda-developers.com/showthread.php?t=834748&highlight=adb
But with the cmd open and on the C:\android-sdk-windows\tools typing "adb devices" or even "adb" gives me this error.
"adb" is not recognized as an internal or external command, operable program or batch file
Could someone please help me!! Thanks.

ok i am giving you a link to a video that will help you setup adb but before you watch this video go to http://www.htc.com/us/support/t-mobile-mytouch-4g/downloads/ and download & install the usb drivers( usb tethering).. now follow this video http://www.youtube.com/watch?v=1UF5w1dKe2U

nguyendqh said:
I can't install ADB and get it to recognize my phone for the life of me!!
I'm following this guide here:http://forum.xda-developers.com/showthread.php?t=834748&highlight=adb
But with the cmd open and on the C:\android-sdk-windows\tools typing "adb devices" or even "adb" gives me this error.
"adb" is not recognized as an internal or external command, operable program or batch file
Could someone please help me!! Thanks.
Click to expand...
Click to collapse
I dunno if that video is gonna help you... but they moved adb in the newest sdk and it's under platform-tools now not tools. Also it's not included by default with the sdk you will have to run sdk manager.exe and install platform-tools

topgun303 said:
ok i am giving you a link to a video that will help you setup adb but before you watch this video go to http://www.htc.com/us/support/t-mobile-mytouch-4g/downloads/ and download & install the usb drivers( usb tethering).. now follow this video http://www.youtube.com/watch?v=1UF5w1dKe2U
Click to expand...
Click to collapse
Thanks guys I got it working.
Just had to download the adb files into the "tools" folder, which for some reason wasn't there off the SDK download.

Related

ADB?

Well, I have HTCSync installed, but I don't understand what to do now with ADB.exe+dll files and sync. Can someone please elaborate? Oh and i alrdeady have librs+librs_jni for my cousins eris.
Step 1: Download the Android SDK from http://developer.android.com/sdk/index.html The Windows file is called android-sdk_r4-windows.zip. Extract the files to your C: drive so that you now have the folder C:\android-sdk-windows
Now open up command prompt and type these codes:
1: Code:
cd C:\android-sdk-windows\tools
2: Code:
adb devices
If you've been following this guide you will see your phone's serial number. If you get "device not found" error, you either need to make sure you the drivers were properly installed or make sure you enable USB debugging AFTER you connect the USB cable. Continue on once you get the proper phone serial output.
You shouldn't have to install anything other than the HTC Sync... And the only reason you install HTC Sync is for the drivers.. You dont have to install anything for ADB just put the extracted file on the C:\ drive.... And then whenever you wanna Push or Pull a file with ADB, just put that file in the C:\android-sdk-windows\tools file....

How to Set up ADB

I see that a few of you have been asking how to set up ADB.. I hope this helps!
Step 1: Download the Android SDK from http://developer.android.com/sdk/index.html The Windows file is called android-sdk_r4-windows.zip. Extract the files to your C: drive so that you now have the folder C:\android-sdk-windows
Now open up command prompt and type these codes:
1: Code:
cd C:\android-sdk-windows\tools
2: Code:
adb devices
If you've been following this guide you will see your phone's serial number. If you get "device not found" error, you either need to make sure you the drivers were properly installed or make sure you enable USB debugging AFTER you connect the USB cable. Continue on once you get the proper phone serial output.
You shouldn't have to install anything other than the HTC Sync... And the only reason you install HTC Sync is for the drivers.. You dont have to install anything for ADB just put the extracted file on the C:\ drive.... And then whenever you wanna Push or Pull a file with ADB, just put that file in the C:\android-sdk-windows\tools file....

[Q] stumped on ADB

figured it out thanks for all the help please delete......
my fear said:
ok i downloaded everything that this link tells me:
http://forum.xda-developers.com/showthread.php?t=532719
but when i put in
cd C:\android-sdk-windows\tools
it just stays in that folder i cant do anything past that. when i type adb shell it says 'adb' is not recognized as an internal or external command, operable program or batch file.
i just redid my computer from windows 7 32 bit to now i have 64 bit. am i missing something? when i had 32 bit i had it working but now nothing and i have all the same stuff as before. yes my phone has debugging checked.
any help is appreciated.
thanks,
Stephen.
Click to expand...
Click to collapse
if its saying adb is not a recognized command you are not in the tools folder.
Which directory are you in?
If you do a dir it should list all of the files in the current directory , do you see adb.exe ?
rsfaze said:
if its saying adb is not a recognized command you are not in the tools folder.
Which directory are you in?
If you do a dir it should list all of the files in the current directory , do you see adb.exe ?
Click to expand...
Click to collapse
ok when i start cmd the line says C:\users\Mr. Tarno>
then i put in cd C:\ android-sdk-windows\tools and then it is in that folder then i did what you said and typed dir and yes it shows adb.exe, its the top file.
when i type adb.exe it shows all the possible commands that i could type but when i try it says adb is not a recognized command.
my fear said:
ok when i start cmd the line says C:\users\Mr. Tarno>
then i put in cd C:\ android-sdk-windows\tools and then it is in that folder then i did what you said and typed dir and yes it shows adb.exe, its the top file.
when i type adb.exe it shows all the possible commands that i could type but when i try it says adb is not a recognized command.
Click to expand...
Click to collapse
That would be right.
I think you're trying to type adb -d shell for example instead of adb.exe -d shell. You would need to include the file extension as well when including commands to be done by ADB.

[Q] assiatance with adb please any one

hi guys im getting anoyed with my pc and phone now ive followed so meany tutorial etc on how to install adb but still not getting any where so far i have done
1. downloaded sdk from code.google.com
2. extracted to c:/android-sdk-windows
3.installed htc wildfire drivers
4.created a path on enviromentable variuble
5.ive loaded the skd.exe
6. ran cmd and ran adb and adb devices but my pc will not reconise this command any adice please thanks
ps ive also tryed using qtaADB it connect to the phone but dnt show any thing frustrated now lol thanks daddyspud
First download adb for windows from " http://developer.android.com/sdk/ ".
then u will get a file named " android-sdk_r08-windows ".rename it as "Android SDK" after extracting.
download proper driver for your phone and install them .now move "Android SDK" to root of hard drive that is to c\Android SDK...
now update the adb using SDK manager that is inside Android SDK.all packeges even usb drivers.
connect the phone via usb and windows should recognize it as android phone .
now take "cmd".command prompt and type the following code .
cd\
cd Android SDK\tools\
adb devices
Now Adb is set if it shows your phone code ..
Sorry about my english .
I had a hardtime making my computer recognize my wildfire, I had to manipulate the driver to make it find it. just google it and you shall find .. if thats the problem ..
thanks worked a dream cheers buddie
They changed the location of the adb.exe file with the new SDK release using the example given would be :-
cd\
cd Android SDK\platform-tools\
easier in my opinion to add to path in windows
c:\android sdk\platform-tools\adb.exe
make sure u add java.exe to path aswell
Hope this helps
ok i got that and it worked, ie picked up my device, then what do i do?
magpie22 said:
ok i got that and it worked, ie picked up my device, then what do i do?
Click to expand...
Click to collapse
Well what do you want to do with adb?
run the sdk but i get errors when i start it "error 2" cant find file.
Failed to get the adb version.
Edit - Never mind i have sorted it.

[Q] Error: adb is not recogzined as an internal or external command

Error: adb is not recogzined as an internal or external command, operable program or batch file???
i successfully installed the android sdk 08 and still got this message.
Has winxp, tmobile GT
I had this same exact problem, but I was just able to get it working. First, this website is helped a lot:
http://www.londatiga.net/it/how-to-use-android-adb-command-line-tool/
Also, make sure you download the Java SDK package from the link given on that website.
Second, when the website says to "Run Windows command line tool (cmd) and go to D:\android-sdk-windows\tool" open command prompt and enter this code:
cd (enter the path to where the android SDK was installed), for example:
cd C:\android\android-sdk-windows\platform-tools
Notice how I entered "platform-tools" instead of just "tools" because this is the folder where the adb file is download with the android SDK. After you do this, you should then be able to apply adb codes (make sure the screen on your tab is on because you will have to accept superuser prompts, therefore your tab needs to be rooted).
Every time you open command prompt, you will have to enter:
cd thentheplacewheretheandroidSDKisinstalled
as stated above before you are able to enter adb commands.
Hope this helps!
@caveman999 is giving good advice. Working in the command window is weird to those who did not use old pc-dos environment.
You have to be in the tools directory or you have to edit your PATH in windows so you can use adb from any prompt.
thnaks for both of you guys i installed the java jdk and also specified the path in environment variables but still error message!
I could only get adb to work error-free when I was in the same directory as adb.exe program. Just change directories cd..(enter) etc until you are in that directory.
tabing said:
Error: adb is not recogzined as an internal or external command, operable program or batch file???
i successfully installed the android sdk 08 and still got this message.
Click to expand...
Click to collapse
I had the same error, until I downloaded and placed the .adb files accordingly.
Source: http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
"UPDATE: If it says adb not found or something similar, download the ADB files and extract them into the Tools folder of the SDK (they were taken out by Google in the R08 version for some reason and need to be put back)."
download adb files from here: http://www.megaupload.com/?d=RTEY0Q97
The important thing is to put the files really under the "tools" folder.
When you check out above Source I am sure your problem will be solved
Thank you all problem solved
tabing said:
Thank you all problem solved
Click to expand...
Click to collapse
Glad to here it. Why not hit a few thanks buttons?!

Categories

Resources