[Completed] apktool is not recognised as an internal or external command - XDA Assist

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

Related

ADB error

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

[Q] Adb will not work

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.

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

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.

[Q] Trying to install Android L

I've been following BGR.in's guide (can't post link) on how to install android developer preview on my nexus 5. I'm on the last step "Now that the device is prepped, in the command prompt simply type the flash-all command." and this is what I get:
"Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all
'flash-all' is not recognized as an internal or external command,
operable program or batch file."
hammerhead-lpv79-preview-ac1d8a8e.tar is in the same folder as the program. I launched py_cmd to enter the command.
Am I doing something wrong? Please help me flash this new beta version of android.
oli_ramsay said:
I've been following BGR.in's guide (can't post link) on how to install android developer preview on my nexus 5. I'm on the last step "Now that the device is prepped, in the command prompt simply type the flash-all command." and this is what I get:
"Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all
'flash-all' is not recognized as an internal or external command,
operable program or batch file."
hammerhead-lpv79-preview-ac1d8a8e.tar is in the same folder as the program. I launched py_cmd to enter the command.
Am I doing something wrong? Please help me flash this new beta version of android.
Click to expand...
Click to collapse
You need to type "flash-all.bat" not just "flash-all"
Brushstroke said:
You need to type "flash-all.bat" not just "flash-all"
Click to expand...
Click to collapse
Hi, thanks for the quick reply!
This is what I get when I type that:
"C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all.bat
'flash-all.bat' is not recognized as an internal or external command,
operable program or batch file."
I'm using py_cmd.exe
Windows 8.1 x64
starting to panic lol
Tried this:
Right-click on My Computer and select Properties.
Choose Advanced, and click on the Environment Variables button.
Navigate to System Variables and double click on Path to edit.
Enter the full path to your tools folder.
Still get the same message.
someone PLEASE help me!!!
There's no "flash-all.bat" file in the folder:
C:\Program Files (x86)\Minimal ADB and Fastboot
Should there be, where do I get it from if so??
Thanks!
first unpack the tar file
david279 said:
first unpack the tar file
Click to expand...
Click to collapse
Thank you so much!!!
http://forum.xda-developers.com/showthread.php?t=2796217
Android "L" Developer Preview Help, Troubleshooting, Q&A
Sent from my Nexus 5 using Tapatalk

Categories

Resources