-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
Android application type
Not applicable
Affected platform version
.NET 6 / .NET 7
Description
Hello,
Are you supporting MAUI?
I added nuget package: Xamarin.AndroidX.Core.SplashScreen to maui boilerpate from VS 17.6.4 and I got issues like that:

I have tried with package versions: 1.0.1.1 (latest) and 1.0.0.3. and latest versions of sdks .NET 6 and 7.
Do you any workaround for that issue?
Steps to Reproduce
- Create new project using ".NET MAUI App" template.
- Install latest Xamarin.AndroidX.Core.SplashScreen to your just created project.
- Try to build
Did you find any workaround?
Not so far
Relevant log output
Build started...
1>------ Build started: Project: MauiSplashScreen, Configuration: Debug Any CPU ------
1>Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers.
1>MauiSplashScreen -> X:\Praca\MauiSplashScreen\MauiSplashScreen\bin\Debug\net6.0-android\MauiSplashScreen.dll
1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.485\tools\Xamarin.Android.Common.targets(1438,3): warning XA4214: The managed type `Kotlin.IO.Path.IExperimentalPathApi` exists in multiple assemblies: Xamarin.Kotlin.StdLib, Xamarin.Kotlin.StdLib.Jdk7. Please refactor the managed type names in these assemblies so that they are not identical.
1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.485\tools\Xamarin.Android.Common.targets(1438,3): warning XA4214: References to the type `Kotlin.IO.Path.IExperimentalPathApi` will refer to `Kotlin.IO.Path.IExperimentalPathApi, Xamarin.Kotlin.StdLib`.
1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.485\tools\Xamarin.Android.Common.targets(1438,3): error XA4215: The Java type `kotlin.io.path.ExperimentalPathApi` is generated by more than one managed type. Please change the [Register] attribute so that the same Java type is not emitted.
1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.485\tools\Xamarin.Android.Common.targets(1438,3): error XA4215: `kotlin.io.path.ExperimentalPathApi` generated by: Kotlin.IO.Path.IExperimentalPathApi, Xamarin.Kotlin.StdLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.485\tools\Xamarin.Android.Common.targets(1438,3): error XA4215: `kotlin.io.path.ExperimentalPathApi` generated by: Kotlin.IO.Path.IExperimentalPathApi, Xamarin.Kotlin.StdLib.Jdk7, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
1>Done building project "MauiSplashScreen.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 11:20 PM and took 07.179 seconds ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
========== Deploy started at 11:20 PM and took 07.179 seconds ==========joseluisct
Metadata
Metadata
Assignees
Labels
No labels