[NativeAOT] XAJVC0000 with Xamarin.GooglePlayServices.Ads.Lite
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- android, csharp
- Lĩnh vực
- build-system, mobile
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C#
- Star
- 2.1k
- Fork
- 579
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 215
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dotnet/android
-
Area: App+Library Build
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
EditText.getText() isn't boundĐang mởArea: Mono.Android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
dotnet/android#9192 · 4 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area: App Runtime needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Area: App+Library Build needs-triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[aw] No-Op RunsĐang mởagentic-workflows needs-triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
dotnet/android#13251 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của dotnet/android
Issue tương tự
-
affected/v17 area/frontend type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
umbraco/Umbraco-CMS#24323 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
dotnet/roslynator#1859 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-ex documentation medium-priority testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
DigiBanks99/menlo#489 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:jobads-cv BE P3
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 74/100
klasolsson81/jobbliggaren#2240 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
k2-fsa/sherpa-onnx#4100 ·
Maintainer thường phản hồi trong vòng 2 ngày