Visual Studio Xamarin compiles an error resolution for Android projects

Source: Internet
Author: User

After the installation of Xamarin, when compiling Android projects, you will find that a long time progress is not moving, when you cancel the compilation, you will find the error, is because the Android project in the first compile to go to the Google site on the next Andorid SDK package, the wall is not connected, Just stuck there, the solution is to go home to some mirror site (such as: Http://mirrors.opencas.cn/android/) Next, such as: Android_m2repository_r29.zip, and then extract to any directory, Use Mklink to establish a link to the c:\users\{username}\appdata\local\xamarin\android.support.v4\23.3.0.0 directory, named content, such as life today:

CD android.support.animated.vector.drawable\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. CD android.support.design\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. CD android.support.v4\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. CD android.support.v7.appcompat\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. CD android.support.v7.cardview\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. CD Android.support.v7.mediarouter\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. CD android.support.v7.recyclerview\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. CD android.support.vector.drawable\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. CD android.support.animated.vector.drawable\23.3.0.0rmdirContentmklink/J Content: \.. \ANDROID_M2REPOSITORY_R29CD. \.. \

This goes back to VS and compiles, OK.

Visual Studio Xamarin compiles an error resolution for Android projects

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.