I'm trying the Xamarin.Forms. I created a Solution named "App2". The Visual Studio automatically created the following projects:
When I try to compile the Android Project (App2.Droid), I get the following errors:
Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\pedro.costa\AppData\Local\Xamarin\Android.Support.Design\23.0.1.3 directory. App2.Droid Reason: One or more errors. App2.Droid
Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Java library file C:\Users\pedro.costa\AppData\Local\Xamarin\Android.Support.Design\23.0.1.3\embedded\classes.jar doesn't exist. App2.Droid Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\pedro.costa\AppData\Local\Xamarin\Android.Support.Design\23.0.1.3 directory. App2.Droid Reason: One or more errors. App2.Droid
Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Android resource directory C:\Users\pedro.costa\AppData\Local\Xamarin\Android.Support.Design\23.0.1.3\embedded./ doesn't exist. App2.Droid
I've already tried to:
I've done a lot of research and it seems that the Android.Support.* folders should have files inside it, and that those files should be downloaded when the android solution is built, but it is not happening for me.
Try this work around :
C:\Users\[user-name]\AppData\Local\Xamarin\zips
folder./bin
and /obj
from your project.It may take a while to build and debug project.
1.download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip
2.rename to 2A3A8A6D6826EF6CC653030E7D695C41.zip
3.copy to C:\Users\User\AppData\Local\Xamarin\zip
4.rebuild
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With