Link to home
Start Free TrialLog in
Avatar of ADITYA RAO
ADITYA RAOFlag for India

asked on

Xamarin build error

I  have installed  Visual studio 2017  community  edition .I  selected  xamarin developement.I  just  created  project as  follows

In  visual C#,Cross Plateform  -> Cross Platform Apps or Native->Blank APP  .UI technology Xamarin forms option
And Portable Class  Library.And  Just  build project.I  Get  following error.Please  let me  know  If  any  nuget package  needs  to  be  updated,Or  what  else  shold I  do?.I  need  answer as  early as possible.I  am  getting  following error.


Severity      Code      Description      Project      File      Line      Suppression State
Warning      IDE0006      Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled.      Hello.Android            1      Active
ASKER CERTIFIED SOLUTION
Avatar of Jackie Man
Jackie Man
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ADITYA RAO

ASKER

Actually I tried  the soltion  but in my  computer  there  is  no change  option  coming on right click  .If  I  left  click  it is  directly  asking  for nistalling  of  visual studio 2017User generated image.Please  help  me. How can I  proceed.
Severity      Code      Description      Project      File      Line      Suppression State
Error            An error occurred trying to install required android components on Project 'myretry.Android'.
Project 'myretry.Android' requires the following components installed on your machine:
Xamarin.Android.Support.v7.AppCompat
JavaLibraryReference: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.aar-23.3.0.0
AndroidResources: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.aar-23.3.0.0
Xamarin.Android.Support.v7.MediaRouter
JavaLibraryReference: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/mediarouter-v7/23.3.0/mediarouter-v7-23.3.0.aar-23.3.0.0
JavaLibraryReference: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/mediarouter-v7/23.3.0/mediarouter-v7-23.3.0.aar-23.3.0.0
AndroidResources: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/mediarouter-v7/23.3.0/mediarouter-v7-23.3.0.aar-23.3.0.0


Please double-click here to install it.

Intallation Errors: XA5209 Unzipping failed. Please download 'https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip:m2repository/com/android/support/appcompat-v7/23.3.0/appcompat-v7-23.3.0.aar' and extract it to the 'C:\Users\Aditya\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.3.0.0\embedded' directory
XA5209 Reason: The process cannot access the file 'C:\Users\Aditya\AppData\Local\Xamarin\Xamarin.Android.Support.v7.AppCompat\23.3.0.0\embedded\res\drawable-xxhdpi-v4' because it is being used by another process.
XA5207 Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Java library file 'C:\Program Files (x86)\Android\android-sdk\extras\android\classes.jar' doesn't exist.
XA5207 Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Java library file 'C:\Program Files (x86)\Android\android-sdk\extras\android\classes.jar' doesn't exist.
XA5207 Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Java library file 'C:\Program Files (x86)\Android\android-sdk\extras\android\libs/internal_impl-23.3.0.jar' doesn't exist.                   0