none
비주얼스튜디오 2015 크로스플랫폼 관련(코드 재사용) RRS feed

  • 질문

  • 저번엔 안드로이드 소스로 아이폰 소스로 변환 할 수 있냐를 물어봤었느데 안된다는 결론을 알고,

    비주얼스튜디오에서 제공하는 크로스플랫폼을 이용하여

    Portable Class Library를 이용해 공용 라이브러리를 만들거나,  Shared 프로젝트를 이용해 코드를 공유하는 방법이 있다고 

    https://rghwangdev.wordpress.com/2014/05/19/xamarin-%EC%95%B1-%EA%B0%9C%EB%B0%9C-%ED%85%8C%EC%8A%A4%ED%8A%B8-5/

    위 링크에 있는 분이 그러셨는데요.

    마이크로스프트 직원 같기 때문에 맞다고 생각합니다.

    하지만 이걸 어떻게 하는 지 잘 모르겠네요.

    찾아봐도 잘 안나오고요.

    간단한 것 Portable Class Library를 이용해 공용 라이브러리를 만들거나,  Shared 프로젝트를 이용해 코드를 공유하는 방법을

    테스트할 수 있는 링크나 자료 있으면 부탁드립니다.

    그리고, win7과 win8 32bit까지는 비주얼스튜디오2015에서 안드로이드 sdk 설치가 잘되었는데 win8 pro 64bit와 win10에서는 아래와 같은 에러가 나는 걸까요??(이미지삽입이 안되서 긁었습니다.)

    이렇게 2개 부탁드립니다.

    ------------------------ 2번째 질문 에러입니다.-------------------------

    Found Google APIs (x86 System Image), Android API 19, revision 14
    Done loading packages.
    Preparing to install archives
    Downloading Android SDK Platform-tools, revision 22
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\platform-tools_r22-windows.zip (액세스가 거부되었습니다)
    Downloading Documentation for Android SDK, API 22, revision 1
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\docs-22_r01.zip (액세스가 거부되었습니다)
    Downloading SDK Platform Android 5.1.1, API 22, revision 2
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\android-22_r02.zip (액세스가 거부되었습니다)
    Downloading Samples for SDK API 22, revision 6
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\samples-22_r06.zip (액세스가 거부되었습니다)
    Downloading Sources for Android SDK, API 22, revision 1
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\sources-22_r01.zip (액세스가 거부되었습니다)
    Downloading Android Support Library, revision 22.2
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\support_r22.2.zip (액세스가 거부되었습니다)
    Downloading Google USB Driver, revision 11
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\usb_driver_r11-windows.zip (액세스가 거부되었습니다)
    Skipping 'Android SDK Tools, revision 24.3.3'; it depends on 'Android SDK Platform-tools, revision 22' which was not installed.
    Skipping 'Android TV ARM EABI v7a System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android TV Intel x86 Atom System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android Wear ARM EABI v7a System Image, Android API 22, revision 2'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android Wear Intel x86 Atom System Image, Android API 22, revision 2'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'ARM EABI v7a System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Intel x86 Atom_64 System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Intel x86 Atom System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs ARM EABI v7a System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs Intel x86 Atom_64 System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs Intel x86 Atom System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Done. Nothing was installed.
    Preparing to install archives
    Downloading Android SDK Platform-tools, revision 22
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\platform-tools_r22-windows.zip (액세스가 거부되었습니다)
    Downloading Documentation for Android SDK, API 22, revision 1
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\docs-22_r01.zip (액세스가 거부되었습니다)
    Downloading SDK Platform Android 5.1.1, API 22, revision 2
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\android-22_r02.zip (액세스가 거부되었습니다)
    Downloading Samples for SDK API 22, revision 6
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\samples-22_r06.zip (액세스가 거부되었습니다)
    Downloading Sources for Android SDK, API 22, revision 1
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\sources-22_r01.zip (액세스가 거부되었습니다)
    Downloading Android Support Library, revision 22.2
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\support_r22.2.zip (액세스가 거부되었습니다)
    Downloading Google USB Driver, revision 11
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\usb_driver_r11-windows.zip (액세스가 거부되었습니다)
    Skipping 'Android SDK Tools, revision 24.3.3'; it depends on 'Android SDK Platform-tools, revision 22' which was not installed.
    Skipping 'Android TV ARM EABI v7a System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android TV Intel x86 Atom System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android Wear ARM EABI v7a System Image, Android API 22, revision 2'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android Wear Intel x86 Atom System Image, Android API 22, revision 2'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'ARM EABI v7a System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Intel x86 Atom_64 System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Intel x86 Atom System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs ARM EABI v7a System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs Intel x86 Atom_64 System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs Intel x86 Atom System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Done. Nothing was installed.
    Preparing to install archives
    Downloading Android SDK Platform-tools, revision 22
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\platform-tools_r22-windows.zip (액세스가 거부되었습니다)
    Downloading Documentation for Android SDK, API 22, revision 1
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\docs-22_r01.zip (액세스가 거부되었습니다)
    Downloading SDK Platform Android 5.1.1, API 22, revision 2
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\android-22_r02.zip (액세스가 거부되었습니다)
    Downloading Samples for SDK API 22, revision 6
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\samples-22_r06.zip (액세스가 거부되었습니다)
    Downloading Sources for Android SDK, API 22, revision 1
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\sources-22_r01.zip (액세스가 거부되었습니다)
    Downloading Android Support Library, revision 22.2
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\support_r22.2.zip (액세스가 거부되었습니다)
    Downloading Google USB Driver, revision 11
    URL not found: C:\PROGRA~2\Android\ANDROI~1\temp\usb_driver_r11-windows.zip (액세스가 거부되었습니다)
    Skipping 'Android SDK Tools, revision 24.3.3'; it depends on 'Android SDK Platform-tools, revision 22' which was not installed.
    Skipping 'Android TV ARM EABI v7a System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android TV Intel x86 Atom System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android Wear ARM EABI v7a System Image, Android API 22, revision 2'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Android Wear Intel x86 Atom System Image, Android API 22, revision 2'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'ARM EABI v7a System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Intel x86 Atom_64 System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Intel x86 Atom System Image, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs ARM EABI v7a System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs Intel x86 Atom_64 System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs Intel x86 Atom System Image, Google Inc. API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Skipping 'Google APIs, Android API 22, revision 1'; it depends on 'SDK Platform Android 5.1.1, API 22, revision 2' which was not installed.
    Done. Nothing was installed.


    • 편집됨 waydfef 2015년 6월 22일 월요일 오전 8:36
    2015년 6월 22일 월요일 오전 8:27

답변

  • 어드민 권한으로 실행해보시길 바랍니다.

    Start the SDK manager as Administrator.


    • Right Click SDK Manager
    • Select Run As Administrator
    • Click the YES button

    제시해 드린 답변이 도움이 되었기를 바랍니다.
       
    답변이 문제 해결에 도움이 되었다면 답변으로 채택을 부탁드립니다.
    하지만 문제 해결이 되지 않아서 정확한 답변을 원하는 경우에는 문제의 정보를 더 자세하게 답변으로 제공해주시기 바랍니다

    • 답변으로 표시됨 waydfef 2015년 7월 6일 월요일 오전 9:15
    2015년 6월 30일 화요일 오전 7:04
    중재자
  • VS안에서 안됬었는데 실행파일을 관리자로 실행시키니까 되네요.

    감사합니다.

    • 답변으로 표시됨 waydfef 2015년 7월 6일 월요일 오전 9:16
    2015년 7월 6일 월요일 오전 9:16

모든 응답

  • 어드민 권한으로 실행해보시길 바랍니다.

    Start the SDK manager as Administrator.


    • Right Click SDK Manager
    • Select Run As Administrator
    • Click the YES button

    제시해 드린 답변이 도움이 되었기를 바랍니다.
       
    답변이 문제 해결에 도움이 되었다면 답변으로 채택을 부탁드립니다.
    하지만 문제 해결이 되지 않아서 정확한 답변을 원하는 경우에는 문제의 정보를 더 자세하게 답변으로 제공해주시기 바랍니다

    • 답변으로 표시됨 waydfef 2015년 7월 6일 월요일 오전 9:15
    2015년 6월 30일 화요일 오전 7:04
    중재자
  • VS안에서 안됬었는데 실행파일을 관리자로 실행시키니까 되네요.

    감사합니다.

    • 답변으로 표시됨 waydfef 2015년 7월 6일 월요일 오전 9:16
    2015년 7월 6일 월요일 오전 9:16