-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
java.lang.RuntimeException when Debugging to an Android Emulator #3
Comments
Same problem. |
Seems like I'm also facing this same problem. Happens when I try deploying on both Pixel XL (API 30) and iPhone 11 (iOS 15). Is there a fix/workaround for it? |
Same problem. |
1 similar comment
Same problem. |
I had the same issue. I found a workaround that worked for me. In the .csproj file of your Maui project, find the <PropertyGroup> tag that contains the <PackageReference> elements, and add the following additional <PackageReference> element to that list:
You may have to change the 'net7.0-android' in the condition based on your own TargetFrameworks. |
I had the same problem but this workaround fixed it for me. Except i had to adapt the version of that package because in my project it was 1.0.0.17 referenced |
Seems to work on the windows machine when debugging, but when deplying to an emulator for a Pixel 5 - API 30 The following exception occurs and the build fails.
Severity Code Description Project File Line Suppression State Error java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: ...\packages\xamarin.google.guava.listenablefuture\1.0.0.5\buildTransitive\net6.0-android31.0\..\..\jar\guava-listenablefuture.jar : com/google/common/util/concurrent/ListenableFuture.class ...\dotnet\packs\Microsoft.Android.Sdk.Windows\32.0.301\tools\Xamarin.Android.D8.targets 79
The text was updated successfully, but these errors were encountered: