Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Build failed on Xamarin project cloned from Github

$
0
0

I'm super new to Xamarin in general and learning it by following tutorials and articles.I cloned a project (internal project) and tried to build it and run it but it keeps failing. I have spent over 8 hours googling around and trying different options but non of them helped me. It could be because I don't know all the terms yet and hence googling wrong questions and error messages.

Can someone please help me out here or point me in the right direction at least?

Output in the Package Console:

Restore failed for 'Xamarin.AndroidX.Annotation (>= 1.2.0.1)'.Restore failed for 'Xamarin.AndroidX.Migration (>= 1.0.8)'.Restore failed for 'Xamarin.Android.Support.CustomTabs (>= 25.4.0.2)'.Restore failed for 'Plugin.CurrentActivity (>= 1.0.1)'.Restore failed for 'SkiaSharp.Views (>= 2.80.3)'.Restore failed for 'Xamarin.AndroidX.Browser (>= 1.3.0.5 && < 1.4.0)'.Restore failed for 'Xamarin.AndroidX.Lifecycle.LiveData (>= 2.2.0.4)'.Restore failed for 'Xamarin.Google.Android.Material (>= 1.2.1.1)'.Restore failed for 'Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0.6)'.Restore failed for 'Xamarin.AndroidX.AppCompat (>= 1.2.0.4)'.Unable to resolve 'Xamarin.AndroidX.Annotation (>= 1.2.0.1)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'Xamarin.AndroidX.Migration (>= 1.0.8)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'Xamarin.Android.Support.CustomTabs (>= 25.4.0.2)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'Plugin.CurrentActivity (>= 1.0.1)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'SkiaSharp.Views (>= 2.80.3)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'Xamarin.AndroidX.Browser (>= 1.3.0.5 && < 1.4.0)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'Xamarin.AndroidX.Lifecycle.LiveData (>= 2.2.0.4)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'Xamarin.Google.Android.Material (>= 1.2.1.1)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0.6)' for 'MonoAndroid,Version=v12.0'.Unable to resolve 'Xamarin.AndroidX.AppCompat (>= 1.2.0.4)' for 'MonoAndroid,Version=v12.0'.Restore failed.

Build Errors

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Aapt2.targets(3,3): Error APT2260: resource style/Theme.AppCompat.Light.Dialog (aka APPLICATIONNAME:style/Theme.AppCompat.Light.Dialog) not found. (APT2260) (APP.Android)/Users/username/Desktop/Projects/LOCATION/APP.Android/Resources/values/styles.xml(0,0): Error APT2260: style attribute 'attr/colorAccent (aka APPLICATIONNAME:attr/colorAccent)' not found. (APT2260) (APP.Android)/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Aapt2.targets(3,3): Error APT2260: resource style/Theme.AppCompat.Light.DarkActionBar (aka APPLICATIONNAME:style/Theme.AppCompat.Light.DarkActionBar) not found. (APT2260) (APP.Android)/Users/username/Desktop/Projects/LOCATION/APP.Android/Resources/values/styles.xml(0,0): Error APT2260: style attribute 'attr/colorAccent (aka APPLICATIONNAME:attr/colorAccent)' not found. (APT2260) (APP.Android)/Users/username/Desktop/Projects/LOCATION/APP.Android/Resources/values/styles.xml(0,0): Error APT2260: style attribute 'attr/colorControlActivated (aka APPLICATIONNAME:attr/colorControlActivated)' not found. (APT2260) (APP.Android)/Users/username/Desktop/Projects/LOCATION/APP.Android/Resources/values/styles.xml(0,0): Error APT2260: style attribute 'attr/colorPrimary (aka APPLICATIONNAME:attr/colorPrimary)' not found. (APT2260) (APP.Android)/Users/username/Desktop/Projects/LOCATION/APP.Android/Resources/values/styles.xml(0,0): Error APT2260: style attribute 'attr/colorPrimaryDark (aka APPLICATIONNAME:attr/colorPrimaryDark)' not found. (APT2260) (APP.Android)/Users/username/Desktop/Projects/LOCATION/APP.Android/Resources/values/styles.xml(0,0): Error APT2260: style attribute 'attr/windowActionBar (aka APPLICATIONNAME:attr/windowActionBar)' not found. (APT2260) (APP.Android)/Users/username/Desktop/Projects/LOCATION/APP.Android/Resources/values/styles.xml(0,0): Error APT2260: style attribute 'attr/windowActionModeOverlay (aka APPLICATIONNAME:attr/windowActionModeOverlay)' not found. (APT2260) (APP.Android)/Users/username/Desktop/Projects/LOCATION/APP.Android/Resources/values/styles.xml(0,0): Error APT2260: style attribute 'attr/windowNoTitle (aka APPLICATIONNAME:attr/windowNoTitle)' not found. (APT2260) (APP.Android)/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Aapt2.targets(3,3): Error APT2062: failed linking references. (APT2062) (APP.Android)

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>