본문 바로가기

Android

안드로이드 sdk 업데이트 실패할 경우

android sdk and avd manager를 설치하고 최초에 update하면서 제목과 같은 오류가 발생할 경우에 이렇게 하니까 해결이 되었다.

참고로 원인은 모름.

 

 

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error.
You might want to force download through HTTP in the settings.

위와 같은 오류가 발생했을 경우

c:\Documents and Settings\피씨명\.android 디렉토리에 가상의 “androidtool.cfg”파일을 만들어 주고 해당 파일 안에

sdkman.force.http=true

위와 같이 넣어주면 업데이트가 정상적으로 이루어졌다.