How do you solve adb is not recognized as an internal or external command operable program or batch file?

ADB 및 Fastboot는 컴퓨터를 Android 장치와 연결할 수 있게 해주는 놀라운 명령줄 도구입니다. ADB는 휴대폰과 통신하여 디버그하고 변경할 수 있습니다. 당신이 얻는 경우 ADB is not recognized 또는 ADB command not found또는 Fastboot is not recognized ADB 명령을 사용하는 동안 오류가 발생하는 경우 ADB가 장치를 감지하도록 하는 몇 가지 간단한 수정 사항이 있습니다.

다음은 ADB 명령을 사용하여 수행할 수 있는 몇 가지 작업의 목록입니다.

  • ADB 오류 뒤에 가능한 이유
  • ‘ADB가 인식되지 않습니다…’ 오류 수정
    • 수정 1: 최신 SDK 플랫폼 도구 다운로드
    • 수정 2: ‘platform-tools’ 폴더에서 ADB 명령 실행
    • 수정 3: CMD에서 ‘platform-tools’ 폴더 경로 사용
    • 수정 4: ADB 및 Fastboot에 대한 사용자 또는 시스템 변수 경로 추가
    • ‘adb.exe: 장치/에뮬레이터를 찾을 수 없음’ 오류 수정
    • 보너스 팁
  • Fastboot가 인식되지 않는 오류 수정

여러 가지 이유가 있을 수 있습니다. adb is not recognized… 명령 프롬프트에 오류가 있습니다. 시나리오에 따라 표시되는 오류 메시지가 다를 수 있습니다. 아래는 Windows 10 PC에서 의도적으로 재현한 오류의 스크린샷입니다.

‘adb’ is not recognized as an internal or external command, operable program or batch file.

‘adb’ is not recognized as an internal or external command react-native.

The command a.exe was not found, but does exist in the current location.

또는

The command adb was not found, but does exist in the current location.

‘adb’ is not recognized as an internal or external command android studio.

Windows PowerShell을 사용하는 경우 다음 오류가 발생합니다.

How do you solve adb is not recognized as an internal or external command operable program or batch file?

ADB : The term ‘adb’ is not recognized as the name of a cmdlet, function, script file, or operable program.

‘adb’ command not found

‘fastboot’ command not found

‘fastboot’ is not recognized as an internal or external command, operable program or batch file.

그래서, 당신이 얻는 경우 adb is not recognized as an internal or external command cmd 창에 오류가 발생하면 다음 이유 중 하나 때문일 수 있습니다.

  • 많은 사람들은 ADB와 Fastboot가 기본적으로 Windows PC에 있다고 생각합니다. 현실은 ADB 및 Fastboot 드라이버를 추가로 다운로드하여 설정해야 합니다.
  • 당신은 또한 얻을 수 있습니다 ADB command not found 오래된 버전의 ADB 및 Fastboot 드라이버가 있는 경우 오류가 발생합니다. PC에 최신 Android SDK 플랫폼 도구를 설치하면 문제가 해결될 수 있습니다.
  • ‘adb.exe’ 및 ‘fastboot.exe’가 없는 위치에서 ADB 명령을 실행하려는 경우.
  • Windows 10 PC에서 시스템 전체 ADB 및 Fastboot를 설정하지 않았습니다. 즉, 올바른 경로를 설정하지 않았습니다. User variables 또는 System variables.
  • OTA update.zip, 공장 이미지 또는 사용자 지정 복구 이미지(예: twrp.img)를 플래시하려는 경우 플래시할 파일을 ‘platform-tools‘ 폴더에 ‘adb.exe’, ‘fastboot.exe’ 등

Mac에서 ‘adb 또는 fastboot 명령을 찾을 수 없음 오류’가 발생하는 경우 내 자습서를 읽고 문제를 해결하세요.

‘ADB가 인식되지 않습니다…’ 오류 수정

이제 우리는 그 이유가 무엇인지 알았으므로 ‘adb’ is not recognized as an internal or external command error문제를 해결해 봅시다.

Must Read: Use ADB Commands on Android Devices without Root

수정 1: 최신 SDK 플랫폼 도구 다운로드

설치한 경우 Koush’s Universal ADB Drivers, Minimal ADB and Fastboot, 15 seconds ADB Installer또는 Minimal ADB Setup, Windows PC에 오래된 버전의 ADB 및 Fastboot 드라이버가 있을 가능성이 큽니다. 또한 이러한 도구의 대부분은 트로이 목마 바이러스를 포함할 수 있으므로 안전하지 않습니다.

이러한 타사 드라이버가 설치된 경우 제거하고 제거해야 합니다. 최신 ADB 및 Fastboot 드라이버를 다운로드할 수 있는 가장 안전하고 안전한 출처는 Google입니다. 최신 버전의 Windows용 Android SDK 플랫폼 도구 zip을 Google 서버에서 직접 다운로드하는 것이 좋습니다. 아주 오래된 버전의 Platform-tools가 있는 경우 업데이트해야 합니다.

수정 2: ‘platform-tools’ 폴더에서 ADB 명령 실행

공식 ADB 및 Fastboot 드라이버는 설치 프로그램 파일이 아니므로 명령 프롬프트를 ‘platform-tools‘ 디렉토리. 이제 3가지 방법이 있습니다.

  1. 열기 ‘platform-tools‘ 또는 ADB 및 Fastboot 파일이 포함된 폴더입니다. 폴더 주소 표시줄을 클릭하고 다음을 입력합니다. cmd 를 누르고 Enter.
    How do you solve adb is not recognized as an internal or external command operable program or batch file?
  2. ‘를 엽니다.platform-tools‘ 폴더. 파일탐색기 클릭 File 그리고 선택 Open Windows PowerShell.
    How do you solve adb is not recognized as an internal or external command operable program or batch file?
  3. 동안 ‘platform-tools‘ 폴더에서 Shift 키를 누른 상태에서 폴더 창의 비어 있거나 공백(노란색으로 강조 표시됨)을 마우스 오른쪽 버튼으로 클릭합니다. 선택 Open PowerShell window here 컨텍스트 메뉴에서. 원하는 경우 Windows 컨텍스트 메뉴에 명령 프롬프트를 실행하는 영구적인 옵션을 추가할 수 있습니다.
    How do you solve adb is not recognized as an internal or external command operable program or batch file?

수정 3: CMD에서 ‘platform-tools’ 폴더 경로 사용

ABD 및 Fastboot 드라이버를 C 드라이브에 저장하고 데스크탑 화면에서 명령 프롬프트를 실행하여 ADB 명령을 실행하려고 한다고 가정합니다. ‘adb’ is not recognized as an internal or external command 오류.

다음을 사용하여 ADB 명령을 찾을 수 없음 오류를 없애는 간단한 해결 방법이 있습니다. cd 또는 chdir (디렉토리 변경) 명령. 이 명령은 명령 프롬프트에 지정된 경로에서 ADB 또는 Fastboot를 트리거하도록 지시합니다. 명령 창을 시작하고 입력하십시오. cd 에 의해 platform-tools folder path. 아래 그림과 같이.

cd c:technasticplatform-tools

폴더의 경로를 모르는 경우 Windows에서 파일 또는 폴더의 경로를 찾는 7가지 방법이 있습니다. 아래 스크린샷에서 볼 수 있듯이 실행했을 때 adb devices command 나는 다음과 같은 결과를 얻었다.

'adb' is not recognized as an internal or external command, operable program or batch file.

How do you solve adb is not recognized as an internal or external command operable program or batch file?

그러나 내가 시도했을 때 cd c:technasticplatform-tools ~에 의해 adb devices거기 ADB is not found error 사라졌다.

수정 4: ADB 및 Fastboot에 대한 사용자 또는 시스템 변수 경로 추가

CD 방식은 예상한 결과를 제공하지만 ADB 또는 ADB Shell 명령을 사용할 때마다 폴더 경로를 입력해야 하므로 약간의 시간이 걸립니다. Windows PC의 모든 화면에서 보편적으로 ADB 및 Fastboot에 액세스하는 가장 쉬운 방법은 시스템 전체에 ADB 및 Fastboot를 설정하는 것입니다.

이 방법에는 추가가 포함됩니다. System or User Variables ‘의 길을 위해platform-tools‘ 폴더 아래에서 그 방법을 살펴보겠습니다.

  1. 열려있는 Advanced system settings Windows PC에서. 3가지 방법으로 해당 설정으로 이동할 수 있습니다.
    1. 유형 ‘Advanced system settings‘ 윈도우 검색창에 검색해서 실행하세요.
      How do you solve adb is not recognized as an internal or external command operable program or batch file?
    2. 를 마우스 오른쪽 버튼으로 클릭 This PC 파일 탐색기 창의 오른쪽 창에서 찾은 다음 Properties> Advanced system settings.
      How do you solve adb is not recognized as an internal or external command operable program or batch file?
    3. 제어판을 열고 다음으로 이동합니다. System and Security> System> Advanced system settings.
  2. 시스템 속성 팝업창이 뜨면 Environment Variables.
    How do you solve adb is not recognized as an internal or external command operable program or batch file?
  3. 이라는 새 팝업 창 Environment Variables 나타날거야. 아래 항목을 클릭하십시오. User variables 또는 System variables 그리고 클릭 New.
    How do you solve adb is not recognized as an internal or external command operable program or batch file?
  4. 새 사용자/시스템 변수 팝업이 나타나면 다음을 입력합니다. Path 변수 이름에서 다음을 클릭합니다. Browse Directory. ‘로 이동합니다.platform-tools‘ 폴더를 클릭하고 OK.
    How do you solve adb is not recognized as an internal or external command operable program or batch file?
  5. 마지막으로 OK 경로 변수를 추가합니다.
  6. 새 경로 변수가 추가되면 클릭하는 것을 잊지 마십시오. OK 환경 변수 창에서 저장합니다.

완료! Windows PC에서 시스템 전체 ADB 및 Fastboot를 성공적으로 설정했습니다. 이제 ‘platform-tools’ 폴더로 이동하지 않고도 모든 화면에서 ADB 또는 Fastboot 명령을 실행할 수 있습니다.

‘adb.exe: 장치/에뮬레이터를 찾을 수 없음’ 오류 수정

How do you solve adb is not recognized as an internal or external command operable program or batch file?

당신이 얻는 경우 adb.exe: no devices/emulators found error ADB 데몬이 장치를 감지할 수 없음을 의미합니다. 다음과 같은 이유 때문일 수 있습니다.

  1. Android 휴대전화 또는 태블릿이 컴퓨터에 연결되어 있지 않습니다.
  2. 장치의 개발자 옵션에서 USB 디버깅을 설정하지 않았습니다.

위의 사항을 고려하여 장치를 다시 연결하고 다시 시도하십시오. 오류가 사라졌어야 했습니다.

보너스 팁

Windows 컴퓨터가 Android 장치와 통신할 수 있으려면 장치에서 USB 디버깅을 활성화된 상태로 유지해야 합니다. 뿐만 아니라 화면 시간 초과 기간을 연장하는 것을 잊지 마십시오. 첫 번째 ADB 명령을 실행하자마자 Allow USB debugging 당신의 장치에. ‘를 선택해야 합니다.Allow‘ ADB를 인증합니다.

How do you solve adb is not recognized as an internal or external command operable program or batch file?

명령 프롬프트 또는 Windows PowerShell을 다시 실행하여 ADB가 인식되지 않는지 확인하십시오… 오류가 수정되었는지 여부. 다음 명령 중 하나를 시도하십시오.

adbadb devicesadb version

How do you solve adb is not recognized as an internal or external command operable program or batch file?

Fastboot가 인식되지 않는 오류 수정

해결하기 위해 위에서 제안한 수정 사항 ADB 또는 ADB 명령이 인식되지 않음 오류는 다음 문제도 해결합니다.

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

그러나 깜박이는 동안 Fastboot가 인식되지 않음 오류가 계속 발생하는 경우 TWRP.img, 공장 이미지를 만들거나 Android 기기를 루팅하는 경우 해결 방법은 다음과 같습니다. Fastboot가 연결된 장치를 감지하지 못하는 경우에도 솔루션이 작동해야 합니다.

  1. 먼저 위의 SDK 플랫폼 도구를 다운로드하고 다운로드한 zip 파일을 추출했는지 확인합니다.
  2. ‘를 엽니다.platform-tools‘ 폴더.
  3. 이제 Android 기기에 플래시하려는 파일을 ‘adb.exe‘ 그리고 ‘fastboot.exe‘ 파일이 존재합니다.
    How do you solve adb is not recognized as an internal or external command operable program or batch file?
  4. 다음 명령을 사용하여 Android 기기를 Fastboot 모드로 재부팅합니다. adb reboot fastboot
  5. 기기가 켜져 있는 동안 Fastboot Mode호환되는 USB 케이블을 사용하여 PC에 연결하세요.
  6. 그런 다음 ‘에서 명령 창을 시작합니다.platform-tools‘ 폴더. 위에서 이미 3가지 방법을 설명했습니다.
  7. 이제 다음 명령을 실행할 시간입니다. fastboot devices
  8. 명령 창에 연결된 장치 목록이 표시되면 모든 것이 정상임을 의미합니다. 그러나 다음과 같은 문제가 발생하면 USB 케이블을 뽑았다가 다시 삽입해 보십시오. 그래도 문제가 해결되지 않으면 휴대폰과 PC를 재부팅하고 다시 시도하세요.
    • Fastboot가 장치를 감지하지 못함
    • cmd에 Fastboot 장치가 표시되지 않음
    • 장치를 기다리는 Fastboot

Fastboot가 인식되지 않습니다 오류가 사라집니다.

ADB 또는 Fastboot 관련 문제가 계속 발생하면 저희에게 알려주십시오!

How do you fix adb is not recognized as an internal or external command operable program or batch file?

Set the path of adb into System Variables. You can find adb in "ADT Bundle/sdk/platform-tools" Set the path and restart the cmd n then try again. You can also go to the dir where adb.exe is located and do the same thing if you don't wanna set the PATH.

How do I fix the adb device is not recognized?

Fixing 'ADB is not Recognized…' Error.
Fix 1: Download Latest SDK Platform Tools. ... .
Fix 2: Execute ADB Command from the 'platform-tools' Folder. ... .
Fix 3: Use 'platform-tools' Folder Path in CMD. ... .
Fix 4: Add a User or System Variable Path for ADB and Fastboot. ... .
Fix 'adb.exe: no devices/emulators found' Error. ... .
Bonus Tip..

Why adb devices is not showing in CMD?

Make sure your device is not connected as a media device. Can confirm that this is critical! On Android 5.0, go to Settings -> Storage -> menu -> USB computer connection and make sure 'Media device (MTP)' is disabled. When it's disabled 'adb devices' lists the device, when enabled not.

How do I enable adb on Windows?

How to setup ADB on Microsoft Windows. Download the Android SDK Platform Tools ZIP file for Windows. Then open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “Open command window here” option.