Open dottam opened 5 days ago
Same problem here. warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.Process 2.8.5.1 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.5.1 && < 2.8.6) but version Xamarin.AndroidX.Lifecycle.Runtime 2.8.6 was resolved.
This error brakes "publish" for Android on .MAUI 9
Publish will fail with such configuration:
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0-android|AnyCPU'">
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>copyused</TrimMode>
<DebugSymbols>False</DebugSymbols>
<Optimize>True</Optimize>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<RunAOTCompilation>False</RunAOTCompilation>
<AndroidEnableProfiledAot>False</AndroidEnableProfiledAot>
<AndroidEnableSGenConcurrent>False</AndroidEnableSGenConcurrent>
<AndroidPackageFormat>aab</AndroidPackageFormat>
<AndroidUseAapt2>True</AndroidUseAapt2>
<AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
</PropertyGroup>
In version 9 (and 8 as well) all
Xamarin.AndroidX.Lifecycle.*
NuGets are referencing an older version (2.8.6) which makes it impossible to upgrade to i.e. my app requiresXamarin.GooglePlayServices.Cast.Framework
v122.0.0.1 which requires v2.8.7.1 of thoseXamarin.AndroidX.Lifecycle.*
NuGetsDoes the library requires exact version of those libraries?