Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

.NET 11 RC2 MAUI app fails to compile (NativeAOT) with MAUI Community Toolkit

オープン
#13,143 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@simonrozsival がすでに取り組んでいます。

2026年10月14日 から。

  • #13147 @simonrozsival による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
android, csharp, java

調査の方向性

The failure is in the generated typemap file BoundServiceBinder.java under obj/Release/net11.0-android/typemap/java/, which references MediaControlsService from a package that is not generated. Linked pull request #13147 is already open against this work, so read it first and avoid duplicating it. Reproducing needs a NativeAOT Android publish of the MAUI Community Toolkit sample, which the issue does not provide. Done means the Android publish succeeds with NativeAOT on a clean build.

索引モデルが issue の本文から書いたものです。

説明

Area: App+Library Build needs-triage
Android framework version

net11.0-android (Preview)

Affected platform version

.NET 11 RC2

Description

The following exception occurs at build time (after clean bin/obj folders) when trying to publish an Android application with NativeAOT turned on. macOS/iOS build and run NativeAOT fine.

obj\Release\net11.0-android\typemap\java\scrc64243bbae2d1378c01\BoundServiceBinder.java:24: error: package scrc64d4e0e3a6d812f4d7 does not exist
    public BoundServiceBinder (scrc64d4e0e3a6d812f4d7.MediaControlsService p0)
                                                     ^
obj\Release\net11.0-android\typemap\java\scrc64243bbae2d1378c01\BoundServiceBinder.java:32: error: package scrc64d4e0e3a6d812f4d7 does not exist
    private native void nctor_2 (scrc64d4e0e3a6d812f4d7.MediaControlsService p0);
                                                       ^
2 errors
3 warnings
Steps to Reproduce

N/A - haven't tried to reproduce it

Did you find any workaround?

No

Relevant log output

主要言語
C#
スター
2.1k
フォーク
579
平均マージ
1日 13時間
マージ済み PR(30日)
238

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/android のほかの issue

dotnet/android の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。