I've installed the java sdk, the android sdk, set the environment paths, and updated the android tools and cannot get windows to recognize "adb" command.
I've cd'd to the tools folder and tried to use it, but it keeps saying "adb is not recognized as an internal or external command, operable program or batch file."
I'm not sure what to do at this point.
Related
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
So I'm just now installing the SDK on my gf's computer and it puts ADB in /tools and Fastboot in /platform-tools. Fastboot refuses to run.
Code:
This application has failed to start because AdbWinApi.dll was not found. Re-installing the application may fix this problem.
What's this about?? I downloaded the sdk.zip (the installer exe wanted me to install the java jdk, which I definitely don't need) and extracted it to C:\android-sdk-windows. Then I ran the SDK manager and installed the platform tools. Should I copy the platform-tools contents into tools or the other way around?
I haven't set the environment variable in system properties yet because I'm not sure which directory to use. The computer has the drivers for my phone and adb works fine. I booted into fastboot mode and it installed drivers.
Why would they give me an SDK with a non-working fastboot? Kind of irritated...
Copied contents of \platform-tools into \tools (DID NOT REPLACE ANY FILES!) and now everything works.
I would still like to know what was going on with this, and is there any advantage to adding the environment variable? I'd like to be able to run commands from any directory if possible, instead of having to cd all over the place.
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
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.
Hi, i want to use apktool, i have installed java 1.8.0_51 and also downloaded all the necessary apktool files and i have updated the path to jre directory but whenever i run apktool in command prompt i receive the message "apktool is not recognised as an internal or external command, operable program or batch file." Please, can someone help...
Hi,
Please see this tutorial:
[GUIDE][HOW TO][13.04][13.10][14.04]APKTool on Ubuntu (Complete Installation)
Good luck