xamarin / AndroidX

AndroidX bindings for .NET for Android
MIT License
173 stars 42 forks source link

Error : Records are not supported : com.android.tools.r8.internal.YI0: #777

Closed ishaileshmishra closed 10 months ago

ishaileshmishra commented 10 months ago

Android application type

Not applicable

Affected platform version

Using android studio : Android Studio Giraffe | 2022.3.1 Patch 1 and Java -11

Description

I am not sure this is the right place to put this error and asking for the solution still I'm trying to seek help in the below error i'm getting while trying to run android tests on simulator:

The tools I'm using are below:

Android Studio Giraffe | 2022.3.1 Patch 1 Build #AI-223.8836.35.2231.10671973, built on August 17, 2023 Runtime version: 17.0.6+0-17.0.6b829.9-10027231 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 13.5 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 12 Metal Rendering is ON Registry: external.system.auto.import.disabled=true ide.text.editor.with.preview.show.floating.toolbar=false

Non-Bundled Plugins: Dart (223.8950) io.flutter (75.1.2)

Java - 11

Screenshot 2023-08-24 at 5 54 18 PM

Relevant log output

No response

jpobst commented 10 months ago

This doesn't appear to be a Xamarin.Android or .NET for Android project.

Do you perhaps mean to use Google's Android bug tracker? https://source.android.com/docs/setup/contribute/report-bugs

sgjesse commented 10 months ago

Not sure what your setup is, but the compilers have supported Java records since Android Studio Flamingo (with the Android 14 SDK), see https://android-developers.googleblog.com/2023/06/records-in-android-studio-flamingo.html.