티스토리 뷰

들어가며

  • Android Studio 에서 직접 기기를 연결해서 디버깅을 시도 했는데 아래와 같이 에러 메시지가 발생하면서 디버깅이 되지 않았다.
$ adb shell am start -n "cafe.adriel.androidaudioconverter.sample/cafe.adriel.androidaudioconverter.sample.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Waiting for application to come online: cafe.adriel.androidaudioconverter.sample
Could not connect to remote process. Aborting debug session.

 


해결방법

  • 리서치를 통해서 알아보니 아래의 해답을 얻을 수 있었다.
현재 InteliJ 가 실행되어 있다면 종료 후에 다시 시도해보세요.
  • 시도해보니 문제 없이 디버깅이 되었다.  (InteliJ <-> Android Studio 사이에 충돌이 있는 것인가 ..) 

 

반응형
댓글