프로그래밍/안드로이드

DDMS와 연결이 안되는 에러가 날 때[안드로이드]

DevIndie 2014. 11. 25. 12:54




이클립스로 안드로이드 개발 중,

Ctrl+F11 실행하면 아래 Console 창에 아래와 같은 메시지가 뜰 때가 있다.


The connection to adb is down, and a severe error has occured.

You must restart adb and Eclipse.

Please ensure that adb is correctly located at '(작업폴더)\tools\adb.exe' and can be executed.



[이때 해결책]


1. 이클립스를 종료한다.

2. 도스창 CMD에서 (안드로이드 SDK 설치된 폴더) / platform-tools/ 폴더를 찾아간다.

3. adb kill-server 입력

4. adb start-server 입력

5. 에러 없이 ADB서버가 구동되면 된거임.

6. 이클립스 재실행해서 다시 연결 시도.


* 위의 방법으로도 안되면 재부팅후 다시 해본다.




출처 : http://stackoverflow.com/questions/4072706/the-connection-to-adb-is-down-and-a-severe-error-has-occured