[NativeAOT] XAJVC0000 with Xamarin.GooglePlayServices.Ads.Lite
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- android, csharp
- Área
- build-system, mobile
Línea de trabajo
Start by reproducing with the listed .NET 11 Android SDK and Xamarin.GooglePlayServices.Ads.Lite 123.4.0, then compare the generated Java callable wrapper for IMediationBannerListenerImplementor under NativeAOT and Mono. The reported failure is in MediationBannerListenerImplementor.java:78; investigate the trimmable typemap generation and confirm the generated method matches its Java supertype. Done means NativeAOT publish succeeds, including the optional user implementation case.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Android framework version
net11.0-android (Preview)
Affected platform version
.NET SDK 11.0.100-rc.2.26504.105
Description
With the trimmable typemap (default for PublishAot=true), javac fails on the generated Java callable wrapper for
Android.Gms.Ads.Mediation.IMediationBannerListenerImplementor from Xamarin.GooglePlayServices.Ads.Lite
Steps to Reproduce
dotnet new android -n AdsOverrideRepro && cd AdsOverrideRepro
dotnet add package Xamarin.GooglePlayServices.Ads.Lite --version 123.4.0
dotnet publish -c Release -r android-arm64 -p:PublishAot=true - fails with XAJVC0000 in MediationBannerListenerImplementor.java:78
dotnet publish -c Release -r android-arm64 (Mono) - succeeds
Optional: add a Java.Lang.Object subclass implementing IMediationBannerListener (implement only the abstract members) and instantiate it from MainActivity. NativeAOT fails additionally in its generated wrapper; Mono succeeds and its wrapper contains zza without @Override.
Did you find any workaround?
A target after _GenerateTrimmableTypeMap that removes @Override from the generated MediationBannerListenerImplementor.java (only covers the Implementor, not user types).
Relevant log output
error XAJVC0000: .../typemap/java/mono/com/google/android/gms/ads/mediation/MediationBannerListenerImplementor.java:78: error: method does not override or implement a method from a supertype
- Lenguaje dominante
- C#
- Estrellas
- 2.1k
- Forks
- 579
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 228
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de dotnet/android
-
Area: App+Library Build
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
EditText.getText() isn't boundAbiertoArea: Mono.Android
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
dotnet/android#9192 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 4/5 1-2 días Aptitud para principiantes 51/100
Los mantenedores suelen responder en 1 día
-
Area: App Runtime
Dificultad 3/5 1-2 días Aptitud para principiantes 63/100
dotnet/android#13247 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
agentic-workflows needs-triage
Dificultad 3/5 1-2 días Aptitud para principiantes 43/100
Los mantenedores suelen responder en 1 día
Todos los issues de dotnet/android
Issues similares
-
dev/release: verify-release-candidate.sh runs 0 Java tests with Debian's MavenPosiblemente ocupada @kou la tomó hoy. AbiertoType: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/arrow-adbc#4947 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
microsoft/fluentui-blazor#5535 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 74/100
AvaloniaUI/Avalonia#22582 ·
Los mantenedores suelen responder en 2 días
-
:watch: Not Triaged CAC
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
dotnet/AspNetCore.Docs#38001 ·
Los mantenedores suelen responder en 1 día
-
HTTP logging truncates catch-all route parameters in the formatted request pathPosiblemente ocupada @johnkaram02 la tomó hoy. Abiertoarea-telemetry untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
dotnet/extensions#7883 ·
Los mantenedores suelen responder en 1 día