Computer Science/Android
repo init 에러 : line 1: syntax error near unexpected token `newline'
yesbaby.
2014. 7. 15. 17:50
반응형
안드로이드 커널소스를 받는 과정중에 curl을 이용하여 repo를 다운받아 설치하는데
URL이 틀리면 파일의 내용이 비어있기 때문에 repo init을 하면 애러가 발생합니다.
다음과 같은 에러 메시지가 출력.
line 1: syntax error near unexpected token `newline'
2014년 7월 15일자 안드로이드 공식 홈페이지의 내용입니다.
이 주소대로 다운받으셔야 합니다.
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
출처[안드로이드 공식홈페이지] : http://s.android.com/source/downloading.html
반응형