Aracılığıyla paylaş


Android için .NET hatası XA1036

Örnek iletiler

error XA1036: AndroidManifest.xml //uses-sdk/@android:minSdkVersion '29' does not match the $(SupportedOSPlatformVersion) value '21' in the project file (if there is no $(SupportedOSPlatformVersion) value in the project file, then a default value has been assumed).
Either change the value in the AndroidManifest.xml to match the $(SupportedOSPlatformVersion) value, or remove the value in the AndroidManifest.xml (and add a $(SupportedOSPlatformVersion) value to the project file if it doesn't already exist).

Sorun

Bu hata, AndroidManifest.xml ayarlanmış minSdkVersion öğesi ile proje dosyanızdaki $(SupportedOSPlatformVersion) özellik değeri arasında uyuşmazlık olduğunu gösterir.

Çözüm

//uses-sdk/@android:minSdkVersion AndroidManifest.xml değerini $(SupportedOSPlatformVersion) ile eşleşecek şekilde yükseltin veya AndroidManifest.xml'den kaldırın //uses-sdk/@android:minSdkVersion ve ayarlanmamışsa proje dosyanızda $(SupportedOSPlatformVersion) değerini ayarlayın.