ADB error - myTouch 3G, Magic Android Development

I am running adb on windows vista. and When i type in the command:
C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools>adb devices
My phone comes up. But when i try to install apks from another folder like so:
C:\Users\korey\Desktop\Esquire\HTC Magic\CrackedApps> adb install NemoPlayer.apk
It gives an error saying: 'adb is not recognized as an internal or external command,
operable program or batch file.
can some one please help me with this i would really appreciate it

"crackedapps" eh?
This thread is hilarious

Esquire22 said:
I am running adb on windows vista. and When i type in the command:
C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools>adb devices
My phone comes up. But when i try to install apks from another folder like so:
C:\Users\korey\Desktop\Esquire\HTC Magic\CrackedApps> adb install NemoPlayer.apk
It gives an error saying: 'adb is not recognized as an internal or external command,
operable program or batch file.
can some one please help me with this i would really appreciate it
Click to expand...
Click to collapse
You need to add "C:\Users\korey\Desktop\Korey's ****\android-sdk-windows\tools" to your PATH environment variable.
Please post in the correct forum next time

Related

Need help with ADB

I am pulling my hair out. I have SDK installed and whatever I was instructed to install on SDK, for the life of me I can't get the command shell to work. When I open a command shell and type adb. I get a message 'adb' is not a recognized as an internal or external command, operable batch or program file.
My phone is plugged in debugging checked, I have it set to mass storage, not kies. What am I doing wrong.
Sorry for the noob question. I have been reading every forum I can find, every document I can find. I am trying to learn and I like to mess with my phone and should know how to use adb command shells.
Can someone tell me what I am doing wrong?
Thanks.
Rhiannon224 said:
I am pulling my hair out. I have SDK installed and whatever I was instructed to install on SDK, for the life of me I can't get the command shell to work. When I open a command shell and type adb. I get a message 'adb' is not a recognized as an internal or external command, operable batch or program file.
My phone is plugged in debugging checked, I have it set to mass storage, not kies. What am I doing wrong.
Sorry for the noob question. I have been reading every forum I can find, every document I can find. I am trying to learn and I like to mess with my phone and should know how to use adb command shells.
Can someone tell me what I am doing wrong?
Thanks.
Click to expand...
Click to collapse
PC or mac?
On a PC cd /Android/Tools then use adb commands
on a Mac: cd /Android/Tools then use ./adb then the command
PC. Thanks I will try that.
update
system cannot find the path specified
I am ready to delete everything and start over, maybe the path is wrong and I borked something in the download. There should be an Android for dummy's book or something, for us noobs.
where did you install the files? You had to download the SDK and unzip it.
Then you use a command window to change directories to where ever you installed it. Then run the commands.
If you don't know how to move around directories using DOS commands, you better find a tutorial on that first.
Your problems sound like you are not in the tools directory - CMD issues not Adroid - CMD is the windows shell btw.
alphadog00 said:
where did you install the files? You had to download the SDK and unzip it.
Then you use a command window to change directories to where ever you installed it. Then run the commands.
If you don't know how to move around directories using DOS commands, you better find a tutorial on that first.
Your problems sound like you are not in the tools directory - CMD issues not Adroid - CMD is the windows shell btw.
Click to expand...
Click to collapse
downloaded and upzipped. It's in a folder named Android, in my c;/drive. I watched a tutorial and put it where I thought I was supposed to, then I made sure to edit the path. I can undo that. I know it's a CMD issue. Great DOS commands, this is a little over my head.
I's probably easier for me to delete everything and start over.
Is there an ADB for dummies or anything. I find them for other devices not Captivate?
if you change directories to the tools directory, do you see adb.exe listed? I am not sure which tutorial you used, but there is no reason to edit the path if you change directly into the android sdk/tools directory.
In a CMD window, change to the tools directory and do a DIR and see if the first file is adb.exe
Deleting and starting over is not going to change things at this point. Also ADB is a command that works the same regardless of which phone you have. The only things that are different is if you can mount the system partition - depends on your kernel - is it custom. Not phone dependent though.
alphadog00 said:
if you change directories to the tools directory, do you see adb.exe listed? I am not sure which tutorial you used, but there is no reason to edit the path if you change directly into the android sdk/tools directory.
In a CMD window, change to the tools directory and do a DIR and see if the first file is adb.exe
Deleting and starting over is not going to change things at this point. Also ADB is a command that works the same regardless of which phone you have. The only things that are different is if you can mount the system partition - depends on your kernel - is it custom. Not phone dependent though.
Click to expand...
Click to collapse
Thanks I did this and no it isn't listed. the Android folder is, that is where I extracted all the files. Should I move from the folder. After extracting the files did I need to install anything from it?
Rhiannon224 said:
Thanks I did this and no it isn't listed. the Android folder is, that is where I extracted all the files. Should I move from the folder. After extracting the files did I need to install anything from it?
Click to expand...
Click to collapse
You should have extracted everything. You should have a folder that extracted:
android-sdk-windows and in that a tools folder. In the tools folder is ADB.exe
It is one big zip file - nothing to install - just unzip where you want it.
hold shift and then right click on that tools folder(wherever you put it), select open command window here from the menu, then type adb to make sure it worked
Kagoshema said:
hold shift and then right click on that tools folder(wherever you put it), select open command window here from the menu, then type adb to make sure it worked
Click to expand...
Click to collapse
Thank you. That did the trick. It is there and it worked. So I am guessing that when I want to open a command shell and use ADB this is how I will be able to do it. Thank you so much for all of your help everyone.
I am very new to Android and smart phones, 7 weeks now and I am trying to learn as much as I can and I try to find the information without asking too many questions.
Last night with SRE and it's sleeping death made me realize that I need to know how to use ADB and a command shell should things go wrong.
Again, thanks to everyone for the help.

Android SDK help

Guys I need help, I for the life of me cant get that thing to work. Its installed in my programs files (x86), that is where it was put when I hit install.
I got into command and get to the C:\Program File (X86)\Android\android-sdk>tools
I get tools is not recognized as an internal or external command, operable program or batch file.
I type in adb devices and I get the same error.
Any ideas or can anyone help me. I never need to do the androidsdk for the captivate, but it looks like I need it for the inspire.
tools is another directory
so add /tools to your command
adb should work from there
You need to unzip it to your c drive and then open up cmd and type something along the lines of
cd c:/sdk /tools
The file names have to match it you will get that error
sent from my HTC Inspired Desire HD 4G
milleirish said:
Guys I need help, I for the life of me cant get that thing to work. Its installed in my programs files (x86), that is where it was put when I hit install.
I got into command and get to the C:\Program File (X86)\Android\android-sdk>tools
I get tools is not recognized as an internal or external command, operable program or batch file.
I type in adb devices and I get the same error.
Any ideas or can anyone help me. I never need to do the androidsdk for the captivate, but it looks like I need it for the inspire.
Click to expand...
Click to collapse
Change name to androidsdk. Then run as administration for windows. Type cd c:\androidsdk/tools
Inspire 4G / Desire HD
Depending on the country
it is unzipped, and installed. I will try those commands thats
Yea - so you'd wanna run a command prompt as admin, then type:
cd c:\program file (x86)\android\android-sdk\tools
hit enter
This will put you in the tools directory. NOTE: If you've installed the newest version of SDK, adb is no longer in tools, it's in platform-tools, so you'd want to navigate to:
cd c:\program file (x86)\android\android-sdk\platform-tools
hit enter
adb devices
hit enter

Trouble using ADB with windows

I was able.to get the command prompt up but when I run adb devices it just gives the error "adb is not recgonized as an internal or external command, operatable program or batch file. I loaded.the drivers and changed the PATH, but its like its not connecting. I have a Motorola Atrix. I even installed PdaNet in case it was the drivers but that didn't work either. Iam a noob to android and have never used adb. Any help would be great. Thanks.
Sent from my MB860 using XDA App
I believe that after you change the PATH you need to either reboot the computer or maybe just log out and back in to make that change. Are you sure what you added into the PATH is pointed to the directory where adb resides (android-sdk-windows/platform-tools?) ?

Problem setting up Android SDK

Ok, I have had multiple Android devices and have never had a problem with any of them with adb however, my computer had done some weird thing and every time I opened SDK Manager, it would open, but then time out and freeze..
SO.
I uninstalled both java development kit, and sdk manager, but now the manager wont open at all.. It just flashes a command prompt and exits out... So I ran the android.bat batch file in a command window, and i got this error
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
ERROR: SWT folder 'lib\x86_64' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
If anyone can help me, I would be much appreciated, I just got two new devices this month. I was able to root my SGS2 before, and now I am trying to root my Kindle, and all this is happening... Any help would me much appreciated...
Oh, and I did check my system32 file, and I do have xcopy in my system files
UntamedDeviance said:
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
Do you know if "C:\Windows\System32" is in your Environmental Variables Path? My friend had this problem recently, and for some reason it wasn't in there. We added it to the path, and everything works fine now.
EDIT: Here is a link to a tutorial on how to fix this error: http://helpdeskgeek.com/how-to/fix-not-recognized-as-an-internal-or-external-command/
Might try executing the command from a CMD window set to the directory where the files are as a quick test. I agree with checking the Env. paths too.

'fastboot' is not recognized as an internal or external command,operable program or

trying to flash the factory image on my nexus 5 to do the system update , and when i click flash all bat this is what its giving me.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
i am using windows 8 64bit and my adb files along with the image files is on my downloads folder...
Start here:
HERE
Also look up "path variables windows (whatever)"
are you opening your command prompt in platform-tools (or wherever your fastboot.exe is)? you havent given us much background on what you did to setup and what you've done to troubleshoot...
xBeerdroiDx said:
are you opening your command prompt in platform-tools (or wherever your fastboot.exe is)? you havent given us much background on what you did to setup and what you've done to troubleshoot...
Click to expand...
Click to collapse
He said there still in his(or her) DL folder. Hence my tips. lol
theesotericone said:
He said there still in his(or her) DL folder. Hence my tips. lol
Click to expand...
Click to collapse
i should finish reading the last sentence when i'm browsing posts. the devil's in the details. :good:
xBeerdroiDx said:
i should finish reading the last sentence when i'm browsing posts. the devil's in the details. :good:
Click to expand...
Click to collapse
Always. Read it all then laugh.
have no idea what to do...
GabrielOspina said:
have no idea what to do...
Click to expand...
Click to collapse
You need to cd in cmd to the directory you extracted your sdk tools to. Or drop the fastboot and adb files from your download into c:\windows\system32. Or add your extracted directory to environment variables as per the link.
Its not difficult if you read
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Alright same problem happened with me
Just go into the fastboot folder in cmd that gave you the error
Example: C:\Users\Vishnu\Downloads\Fastboot>fastboot oem lock
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Now in cmd type cd fastboot again
C:\Users\Vishnu\Downloads\Fastboot>cd fastboot
enter
so now it should say something like this
C:\Users\Vishnu\Downloads\Fastboot\Fastboot>
after that type in fastboot and whatever command you need like fastboot oem lock or whatever
That should do it
GabrielOspina said:
trying to flash the factory image on my nexus 5 to do the system update , and when i click flash all bat this is what its giving me.
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
I think i might be able to help.
You do have the adb-tools and the adb-treiber folders right? And you have run the file in the adb-treiber folder, and unlocked the bootloader from the adb-tools folder, good.
Now copy all the files from the hammerhead-lrx21o folder into the adb-tools folder, and try and run the flash-all.bat file again.
Let me know if it works, it did for me.
- Flecks
Install abd drivers
install adb drivers
SupremeNaruto said:
Alright same problem happened with me
Just go into the fastboot folder in cmd that gave you the error
Example: C:\Users\Vishnu\Downloads\Fastboot>fastboot oem lock
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
Now in cmd type cd fastboot again
C:\Users\Vishnu\Downloads\Fastboot>cd fastboot
enter
so now it should say something like this
C:\Users\Vishnu\Downloads\Fastboot\Fastboot>
after that type in fastboot and whatever command you need like fastboot oem lock or whatever
That should do it
Click to expand...
Click to collapse
It's not helping. LMAO Windows rlly?
Virussii said:
It's not helping. LMAO Windows rlly?
Click to expand...
Click to collapse
Did you find a solution?
mahesh0055 said:
Did you find a solution?
Click to expand...
Click to collapse
Yeah, in the same directory on CMD type:
./fastboot devices
Everything has to start with ./fastboot and then the command.

Categories

Resources