Reference ‘Xamarin.Android.Support.v4’ not resolved

I killed some days to get rid from the error in the topic, it happened when I tried to compile the app for Android, finally I found a way how to solve it, quick manual:

  1. Select Build -> Clean All in your Xamarin project where you have the issue
  2. Close your Xamarin project
  3. Exit from Xamarin Studio
  4. Go to your project in the file system, find the the folder “packages” delete the folder “Xamarin.Android.Support.v4.*” from there and everything what is inside
  5. Go to your Android project, find there the file “package.config”
  6. Find the line where “Xamarin.Android.Support.v4.*” is mentioned and delete this line
  7. Start Xamarin Studio, load your project
  8. Go to Android part of the project, right click on the “Packages” folder and select menu item “Add packages..”
  9. Find in the repository the package “Xamarin.Android.Support.v4” and install it again
  10. Try to build Android project again
  11. Enjoy, now everything should work again.

, , , ,

  1. How to solve the issues when building Xamarin solution for Android on Mac | Bykov TechnoBlog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: