How to solve 'sdk manager path not recognized as an internal or external command' error?
Asked Answered
E

6

9

enter image description here

Why is my SDK is not opening and telling me the SDK is not recognized as an internal or external command and I need help to update my SDK?

But it keeps telling me the SDK manager is opening but ultimately it won't show up.

Eulogist answered 2/6, 2015 at 22:12 Comment(4)
Where is located your SDK?Bowie
the complete path :PBowie
oh :p D:\softwares\SDK ECCLPS\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdkEulogist
sendspace.com/file/uwvkmg here is a screenshot of the pathEulogist
D
7

For anyone, getting this message in the command prompt:

'sdkmanager' is not recognized as an internal or external command

On Windows, right click My Computer icon:

Properties > Advanced system settings > Advanced (tab) > Environment Variables > System Variables

Click on Path, New... and paste in the path to your SDK.

Mine was:

C:\Users\alex\AppData\Local\Android\sdk\tools\bin
Dupe answered 22/5, 2018 at 9:53 Comment(0)
A
2

To solve this problem you have to check two things:

  1. Your sdk location path
  2. Your java environment variable

No. 1 solution:

Window -> Preferences -> Android and under SDK Location browse your folder containing the SDK and click Apply. Make sure that in the selected folder is a file named SDK Manager.

No 2. solution:

Just reset your java path in environment variables.

Anemoscope answered 3/6, 2015 at 8:28 Comment(0)
M
1

Since new updates, there are some changes that are not mentioned in the documentation. After unzipping the command line tools package, the top-most directory you'll get is cmdline-tools. Rename the unpacked directory from cmdline-tools to tools, and place it under $C:/Android/cmdline-tools

why this location?? 
follow along with this medium article for a better understanding --

https://ksrk.medium.com/install-flutter-without-android-studio-on-window-9d3781172912

now it will look like $C:/Android/cmdline-tools/tools

and it will work perfectly.

Milamilady answered 28/1, 2021 at 11:57 Comment(0)
M
0

You may have deleted the SDK manager or changed its location. try resetting your SDK manager path manually after locating it.

Movable answered 2/6, 2015 at 22:20 Comment(2)
I reset it but it's not helping .Eulogist
try copying the whole SDK folder from someone else, then delete the original one and paste the new one at the same location with the same name as the last oneMovable
B
0

I think your SDK path is incorrect, configure your SDK path

from the menu go to File -> Project Structure then change the Android SDK Location.

enter image description here

Bowie answered 2/6, 2015 at 23:17 Comment(6)
can you explain this more specifically please ?Eulogist
@MuhtadiAkif , i have added an image just follow the steps to change the SDK path.Bowie
sendspace.com/file/mh43xs i just did it but it still tells me that it will show up shortly but it's actually not showing up !!Eulogist
and btw i am using Android Developing Tools not Android Studio .Eulogist
Can I add you on my Skype or Facebook account? so that I can share my screen live to you ..Eulogist
Hi i don´t have skype account but i have whatsapp!-Bowie
R
0

I AM UNABLE TO LOCATE SDK MANAGER ON PC PC AS IT ALWAYS SHOWS INVALID INTERNAL OR EXTERNAL COMMAND

Ravo answered 27/8, 2024 at 8:27 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Empire

© 2022 - 2025 — McMap. All rights reserved.