Xamarin plattformübergreifender (portable class) Projektkompilierungsfehler

Ich habe ein neues leeres plattformübergreifendes Projekt mit einer portablen Klassenbibliothek in Visual Studio erstellt, ABER wenn ich versuche, ein Plattformprojekt zu erstellen, wird eine Liste mit Fehlern angezeigt:

Error   CS0117  'Resource' does not contain a definition for 'Animation'
Error   CS0117  'Resource' does not contain a definition for 'Boolean'
Error   CS0117  'Resource' does not contain a definition for 'Color'
Error   CS0117  'Resource' does not contain a definition for 'Dimension'
Error   CS0117  'Resource' does not contain a definition for 'Id'   App5.Droid
Error   CS0117  'Resource' does not contain a definition for 'Integer'
Error   CS0117  'Resource' does not contain a definition for 'Layout'
Error   CS0117  'Resource' does not contain a definition for 'Style'
Error   CS0117  'Resource' does not contain a definition for 'Styleable'
Error   CS0117  'Resource.Attribute' does not contain a definition for 'actionBarDivider'
Error   CS0117  'Resource.Attribute' does not contain a definition for 'actionBarItemBackground'
Error   CS0117  'Resource.Attribute' does not contain a definition for 'actionBarPopupTheme'
Error   CS0117  'Resource.Attribute' does not contain a definition for 'actionBarSize'
Error   CS0117  'Resource.Attribute' does not contain a definition for 'actionBarSplitStyle'

Denken Sie daran, dass ich versuche, NuGet-Pakete zu aktualisieren, ABER als ich alle Pakete mit (Xamarin.forms) ausgewählt habe, hat das Update nicht funktioniert und der folgende Fehler ist aufgetreten:

Unable to find a version of 'Xamarin.Android.Support.v4' that is compatible with 'Xamarin.Android.Support.Animated.Vector.Drawable 23.2.1 constraint: Xamarin.Android.Support.v4 (= 23.2.1)', 'Xamarin.Android.Support.Design 23.0.1.3 constraint: Xamarin.Android.Support.v4 (>= 23.0.1.3)', 'Xamarin.Android.Support.v13 23.3.0 constraint: Xamarin.Android.Support.v4 (= 23.3.0)', 'Xamarin.Android.Support.v7.AppCompat 23.0.1.3 constraint: Xamarin.Android.Support.v4 (>= 23.0.1.3)', 'Xamarin.Android.Support.v7.MediaRouter 23.0.1.3 constraint: Xamarin.Android.Support.v4 (>= 23.0.1.3)', 'Xamarin.Android.Support.v7.RecyclerView 23.0.1.3 constraint: Xamarin.Android.Support.v4 (>= 23.0.1.3)', 'Xamarin.Android.Support.Vector.Drawable 23.2.1 constraint: Xamarin.Android.Support.v4 (= 23.2.1)', 'Xamarin.Forms 2.1.0.6529 constraint: Xamarin.Android.Support.v4 (= 23.0.1.3)'.

So habe ich alle Pakete mit Ausnahme des Xamarin.forms-Pakets ausgewählt und aktualisiert.

Hast du eine Idee, wie du diesen Fehler beheben kannst?

Antworten auf die Frage(4)

Ihre Antwort auf die Frage