ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Error connecting to the service protocol: HttpException: Connection closed before full header was received
    Android 2019. 6. 28. 15:01

    Flutter 세팅 중에 안드로이드 에뮬레이터를 띄우려고 하는데 아래와 같은 에러 메시지가 나면서 에뮬레이터에 샘플앱이 뜨지 않음

    Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:60563/TJ6PgcgWrAE=/ws

    에뮬레이터의 설정은 Nexus 6 API 29

    빨간색 에러를 내며 앱이 실행되지 않음

     

    구글링을 해봐도 딱히 해결책이 없었음.

    혹시나해서 API 버전을 28(Pie)로 낮추어 보았음: Nexus 6 API 29

     

    잘된다!

    API를 한단계 낮추니 잘 됨

     

    최신 API를 지원하지 않을 수 있으니 혹시 위와 같은 에러가 나는 경우 최신 버전이 필요한게 아니라면 한단계 내려 보는 것도 해결책이 될 수 있을 듯.

     

     

     

     

    'Android' 카테고리의 다른 글

    x86 emulation currently requires hardware acceleration!  (5) 2018.09.30

    댓글

Designed by Tistory.