範例訊息
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).
問題
此錯誤表示您在 AndroidManifest.xml 中設定的 minSdkVersion 元素與項目檔中的 $(SupportedOSPlatformVersion) 屬性值不符。
解決方法
在 AndroidManifest.xml 中提高 //uses-sdk/@android:minSdkVersion 的值以符合 $(SupportedOSPlatformVersion);如果未設定,則從 AndroidManifest.xml 中移除 //uses-sdk/@android:minSdkVersion,並在專案檔中設定 $(SupportedOSPlatformVersion)。