Skip to content

MAUI app and Error java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: #351

@LukasKuchta

Description

@LukasKuchta

Bug Information

Version Number of Plugin: 4.5.0.6
Device Tested On: Android
Simulator Tested On:
Version of VS: Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview
Version 17.2.0 Preview 6.0

Version of Xamarin:
Xamarin 17.2.0.171 (d17-2@7554231)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 17.2.0.244 (remotes/origin/d17-2@197e1a0b7)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 17.2.15 (2e3b60e)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 12.3.0.3 (d17-2/bbba5a2)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: adf1bc4
Java.Interop: xamarin/java.interop/d17-2@9760f0a9
ProGuard: Guardsquare/proguard@912d149
SQLite: xamarin/sqlite@7b1e016
Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-2@fc3c2ac
Versions of other things you are using:

Steps to reproduce the Behavior

Add plugin into MAUI app and try to complile procject

Expected Behavior

Project is sucessfuly compiled and running fine.

Actual Behavior

Compilation error

Code snippet

Severity Code Description Project File Line Suppression State
Error java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: obj\Debug\net6.0-android\lp\15\jl\bin\classes.jar : android/support/v4/app/INotificationSideChannel$Stub$Proxy.class MobileUi C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.300-rc.2.27\tools\Xamarin.Android.D8.targets 79

Screenshotst

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions