Unable to publish .net8-android App 'Microsoft.Android.Runtime.34.android-arm64 was not downloaded' (after Release of .NET9) #9561
Labels
Area: App+Library Build
Issues when building Library projects or Application projects.
needs-triage
Issues that need to be assigned.
Android framework version
net8.0-android
Affected platform version
.NET8.0.100
Description
We're currently facing a broken GH-Actions Release-Pipeline with our .NET8-Android-App. The output of the install of the workload looks like this:
so we're only seeing
Microsoft.Android.Runtime.35.android-xxx
are installed. The dotnet publish looks like this (withENVIRONMENT
BUILD_TOOLS_VERSIONto
34.0.0``):dotnet publish 'src/ArieTech.MedSR.Client.App/ArieTech.MedSR.Client.App.csproj' -c Release -f net8.0-android --no-restore /p:RuntimeIdentifier=android-arm64 /p:AndroidPackageFormat=aab /p:ApplicationVersion='60' /p:ApplicationDisplayVersion='0.8.1.60'
which results in the following error (
Microsoft.Android.Runtime.34.android-arm64 was not downloaded
):Steps to Reproduce
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.100" />
<TargetFrameworks>net8.0-android</TargetFrameworks>
Did you find any workaround?
No.
We fought for about whole working day to find a workaround for creating a new release of our .NET8-based Android-App. Things we tried:
dotnet workload install maui-android
todotnet install maui-android --version 8.0.402
TargetFramework
tonet8.0-android35.0
BUILD_TOOLS_VERSION
to35.0.0
Relevant log output
The text was updated successfully, but these errors were encountered: