Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] XF 5.0.0.2612 : a build error for minimum Android API levels 19, 20 #15831

Closed
makeman-p81 opened this issue Oct 26, 2023 · 5 comments
Closed
Labels
s/unverified New report that has yet to be verified t/bug 🐛

Comments

@makeman-p81
Copy link

Description

Can not build Android apps with minimum API levels 19 or 20 since update Xamarin Forms 5.0.0.2612.

Steps to Reproduce

  1. create a blank app
  2. set minimum android API level to 19 or 20
  3. upgrade Xamarin Forms to version 5.0.0.2612

Expected Behavior

Successful build

Actual Behavior

Failed build

Basic Information

  • Version with issue: 5.0.0.2612
  • Last known good version: 5.0.0.2578
  • Platform Target Frameworks:
    • Android: set min API level 19 or 20

Build Logs

https://gist.github.com/makeman-p81/1cd12698f83548fe8defc8de9241560c

@makeman-p81 makeman-p81 added s/unverified New report that has yet to be verified t/bug 🐛 labels Oct 26, 2023
@MitchBomcanhao
Copy link

did you read the error messages and do the recommended changes?

@makeman-p81
Copy link
Author

makeman-p81 commented Nov 2, 2023

@MitchBomcanhao
Does you mean a warning 'NU1605: Detected package downgrade' ?
But it caused by iOS project, not by Android.

@MitchBomcanhao
Copy link

MitchBomcanhao commented Nov 2, 2023

@makeman-p81 no, read line 110 of the log you posted, and enable multi dex in the android project

@makeman-p81
Copy link
Author

makeman-p81 commented Nov 2, 2023

@MitchBomcanhao
Thank, it has help me to build app, but before a default value of this option worked correctly for the current case.
Now a release .apk has taken 15.6 Mb (+2 Mb) vs 13.6 Mb on the previous version of XF.

@jfversluis
Copy link
Member

Looks like this one is solved

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

3 participants