IT story

ADB가 응답하지 않습니다.

hot-time 2021. 1. 5. 19:17
반응형

ADB가 응답하지 않습니다. 더 기다리거나 "adb.exe"프로세스를 수동으로 종료하고 '다시 시작'을 클릭 할 수 있습니다.


Android Studio를 설치했습니다. 그런 다음 Android SDK를 업데이트했습니다. 이제 Android Studio를 시작하면 다음 메시지가 나타납니다.

ADB가 응답하지 않습니다. 더 기다리거나 "adb.exe"프로세스를 수동으로 종료하고 '다시 시작'을 클릭 할 수 있습니다.

대화 상자에는 3 가지 옵션이 있습니다 : 더 기다리기, 다시 시작 및 취소. 그러나 그들 모두는 나에게 동일한 결과를 제공합니다. 즉 ADB를 기다리는 중이 라는 메시지 가 나타나고 Android Studio로 아무것도 할 수 없습니다.

Windows 작업 관리자를 사용하여 프로그램을 종료해야합니다! Windows 7을 사용하고 있습니다.

누구든지 이것에 대해 나를 도울 수 있습니까?


이동

도구> Android> (선택 취소) ADB 통합 활성화 (스튜디오가 중단되거나 중단 된 경우 adb 프로세스를 수동으로 종료)

그때,

도구> Android> (확인) ADB 통합 활성화


내 macbook pro에서 때때로 Android Studio에서 이것을 얻었습니다. 다음은 나를 위해 해결했습니다.

터미널을 열고 'adb kill-server'를 사용하는 대신 다음을 사용하십시오.

$ killall adb

잠시 기다리면 Android Studio가 자체적으로 adb를 자동으로 다시 시작하는 것 같습니다.


명령 프롬프트에서 명령을 실행합니다 adb kill-server. 그러면 ADB와 안드로이드 스튜디오 또는 Eclipse가 종료되고 말한대로 ADB 대기 중이 표시됩니다.

ADB가 종료 adb start-server되거나 실행 adb devices되면 자동으로 adb 서비스가 시작되고 Android 에뮬레이터 또는 개발 기기가 성공적으로 연결되었음을 보여줍니다.


"ADB가 응답하지 않습니다. 재 시도하려면 수동으로 'adb'를 종료하고 '다시 시작'을 클릭하십시오. 그렇지 않으면 터미널에 구문 오류 :") "예기치 않은 메시지가 나타납니다. 32 비트 OS 및 플랫폼을 사용 중일 수 있습니다. -tools가 23.1로 업데이트되었습니다. 해결책은 플랫폼 도구 23.0.1로 돌아가는 것입니다.

당신은 리눅스 플랫폼 도구를 23.0.1 다운로드 할 수 있습니다 여기 windowns를 들어, 여기 및 Mac 여기

다운로드 후 sdk 위치> platform-tools 폴더로 이동하여 sdk에서 이전 플랫폼 도구를 삭제하고 다운로드 한 파일에 붙여 넣습니다.

Woohooo ... 작동합니다.

이것은 최신 ADT의 버그입니다.


저에게는 Windows 7에서 ADB 서버를 종료하고 명령 줄을 통해 다시 시작해도 도움이되지 않았습니다. 성공적으로 시작되지 않습니다.

>adb kill-server

>adb start-server
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *

따라서 작업 관리자를 통해 adb.exe 프로세스를 종료하는 것이 실제로 가장 쉬운 해결책이었습니다.


포트 5037에서 수신하는 서비스가 있는지 확인하고 종료합니다. 이를 위해 lsof를 사용할 수 있습니다.

$ lsof -i :5037
$ kill <PID Process>

그런 다음 시도

$ adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

이것은 내 문제를 해결했습니다.


이 문제는 adb가 최신 버전의 플랫폼 SDK와 호환되지 않기 때문일 수 있습니다.

다음을 시도하십시오.

  1. Genymotion을 사용하는 경우 Genymotion 설정 내에서 Android SDK를 sdk 경로로 수동으로 설정하십시오. Genymotion-> 설정-> ADB-> 사용자 지정 SDK 도구 사용-> 로컬 SDK 경로를 찾아서 렌더링합니다.

  2. 최근에 플랫폼 도구 플러그인 버전을 업데이트 한 경우 23.0.1로 되돌립니다.

ADB 내의 버그이며 위 중 하나가 솔루션 일 가능성이 큽니다.


이 문제가 발생하여 Mac에서 여러 가지 솔루션을 시도했지만 성공하지 못했습니다. 마침내 아래 명령으로 작업하게되었습니다.

$ rm -rf ~/.android
$ killall adb
$ adb devices

참고 rm -rf ~/.android, 당신은 구성했는지 어떤 AVD에 제거됩니다 너무 가볍게이 단계를하지 않습니다. 개인적으로 그래야만했고 왜 그런지 모르겠습니다. 바라건대 이것은 누군가를 도울 것입니다.


1. 전화 시스템이 4.2.2 이상인 경우 여기에 이미지 설명 입력

2. USB를 분리하고 다시 시도하거나 전화를 다시 시작하십시오.

3. 모든 시도 후 작동하지 않았습니다. 전원이 부족할 수 있으므로 컴퓨터의 다른 USB 인터페이스를 사용해보십시오.

나는 첫 번째 단계에서 문제를 해결했다. 어쨌든 시도해보십시오.


나는이 문제가 있었고 이런 식으로 해결했습니다 ... 나는 adb를 사용하는 내 PC에 앱을 가지고있었습니다 ... 나는 그것을 비활성화하려고했지만 여전히 내 안드로이드 스튜디오의 adb는 해당 응용 프로그램과 문제가 해결 된 후에도 문제가 있습니다.


하나의 명령으로 Windows에서 모든 adb 프로세스를 종료해야하는 경우 다음과 같이 수행 할 수 있습니다.

taskkill /F /IM adb*

I had the same problem. I have restarted ADB in any possible way, I have killed the process and restarted the PC with no results.

Then I found this plugin. Just download and install it in your Android Studio IDE. Under Tools -> Android you have a menu ADB Idea. Here you can kill, start, restart, clean ADB.


None of the above helped me completely. Although Oventoaster made me think. I had a couple of adb on my system. Removed them almost all.

I am running android studio on ubuntu 14.04 64 bit.

So I checked manually /home/xxxxx/Android/Sdk/platform-tools/adb

where xxxxx was my linux username

this gave

/home/xxxxx/Android/Sdk/platform-tools/adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

https://stackoverflow.com/a/27415749/4453157

solved it for me.


If the above CMD command option is not working and you cannot make it work in any other way then follow this below.

Click on below link

http://adbshell.com/downloads

and download the first link with name ADB Kits ( contains adb.exe and necessary .dll files).

After downloading replace these files with the ones in the path

Android/Sdk/platform-tools/

Now click on adb.exe and it will open cmd and will start the adb server.

Now it will detect the device and no problem. OOOOOllllaaaaa.....

If the Problem persists again then do the same... save the folder somewhere.... just replace files... it will detect the device automatically then


I run netstat -nao | findstr 5037 in cmd.

여기에 이미지 설명 입력

As you see there is a process with id 3888. I kill it with taskkill /f /pid 3888 if you have more than one, kill all.

여기에 이미지 설명 입력

after that run adb with adb start-server, my adb run sucessfully.

여기에 이미지 설명 입력


I had this problem on Windows 8, but I solved the problem by updating all of Android Studio's plugins with the SDK Manager, then restarting the computer.


An another one: you might want to avoid running Eclipse and Android Studio together, it helped me.


I had this problem on Windows 7. My situation is this through SDK Manager. I only download API 19 but I had not downloaded related Android SDK build-tools. So it occur this problem.

I went through SDK Manager download build-tools 19 to fix it. Hope to give you help.


Faced this issue on Mac:

I have tried different solution, But below works for me -

  1. Uninstall "Vysor" plugin if you have installed for Chrome
  2. Under Home folder > find .Android folder and move to trash
  3. Goto, Android sdk > delete/move to trash platform-tools folder
  4. Android SDK Manager에서 다시 설치 / 다운로드
  5. 터미널 열기-
    • adb kill-server
    • adb start-server
  6. 확인 adb devices, 그것은 작동하고 모든 연결된 장치를 표시합니다.

도움이 되길 바랍니다!


이 버그가 발생하는 이유는 약 백만 가지 인 것 같지만, 저에게는 (우분투에서 실행 중) 백그라운드에서 실행중인 openvpn이 원인이었습니다.

나는 openvpn 서비스를 죽였고 더 이상 문제가 없습니다.

참조 URL : https://stackoverflow.com/questions/18059334/adb-not-responding-you-can-wait-more-or-kill-adb-exe-process-manually-and-cli

반응형