79792092

Date: 2025-10-16 11:40:14
Score: 2
Natty:
Report link

Have the same problem. Seems adding some xamarin translated NuGet packages have caused that. I do not know the drawback of this solution, but for me adding this line to the .csproj has solved the issue:

<PropertyGroup>
    <!-- everythin else above -->
    <AndroidAddKeepAlives>False</AndroidAddKeepAlives>
</PropertyGroup>

By default it is True for Release, according to MS Documentation. That is why it is not failing for Debug build.

Here is more doscussion on that woraround for defferent issue: https://developercommunity.visualstudio.com/t/android-builds-giving-xa3001-error/1487364

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): Have the same problem
Posted by: LaoR