본문 바로가기

xamarin

xamarin "Package restore failed"

패키지를 설치하려고 하면 Package restore failed 에러메시지가 뜬다.

비주얼스튜디오가 빌드때마다 다른 에러를 뿜어주기도 한다.

이것때문에 이틀동안 xcode를 몇번 재설치했고, Visual Studio를 몇번을 재설치했다..


지도를 쓰려면 라이브러리를 받아야했고, 누젯 관리자를 열어서 네개를 한번에 다운받으려고 했다.

- Xamarin.GooglePlayServices.Base

- Xamarin.GooglePlayServices.Basement

- Xamarin.GooglePlayServices.Maps

- Xamarin.GooglePlayServices.Tasks


"All packages and projects are compatible with MonoAndroid"라는 메시지가 보여준다. 버전은 잘 맞는다고 한다. 

그럼에도 Package restore failed 에러메시지는 사라지지 않는다.

패키지를 여러개 설치할때 순서대로 맞춰서 설치해주면 된다.

mac 비주얼스튜디오 문제인지, 세팅을 잘못했는지 모르겠다.

'xamarin' 카테고리의 다른 글

android home widget 지원목록  (0) 2018.09.01
xamarin android resource 빨간줄 세팅 (mac)  (0) 2018.08.30
xamarin DependencyService 사용하기  (0) 2018.07.06
xamarin library unit test  (0) 2018.07.06
xamarin android sqlite 추가하기  (0) 2018.07.06