Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LukasKuchta opened this issue May 27, 2022 · 5 comments

Comments

@LukasKuchta
Copy link

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

@jamesmontemagno
Copy link
Owner

I have not re-compiled for .NET MAUI.

Standard geolocation is supported in .NET MAUI already.... I don't really want to bring this over as it is really out of date, i would rather people put their code into the project or contribute to APIs in .NET MAUI.

@LukasKuchta
Copy link
Author

Ok. Thnaks. Where is the right place to give the help for MAUI project ? Can i create pull request into maui on git hub ?

@inforithmics
Copy link

Someone is adding the missing functionality here.

dotnet/maui#9572

@orwo1
Copy link

orwo1 commented Jan 3, 2023

MAUI Essentials is missing some features this package provides,
that even Xamarin.Forms never provided support for.
Location changed/error events, start/stop listening, for example.
Is it possible to port this package to support MAUI so we won't lose functionality when porting our app to MAUI?

@ndegheselle
Copy link

MAUI essentials will have the listening feature soon (version 8.0.0 in preview) : dotnet/maui#9572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants