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

Issues with Template

オープン
#69 コメント 25 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

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

調査の方向性

テンプレートソリューションを開き、Metadata.xml、ネイティブ Android プロジェクト、および .NET MAUI プロジェクトを調査します。まずネイティブ Android プロジェクト、続いて .NET MAUI プロジェクトをビルドして報告された手順を再現し、その後、Android の using ディレクティブが認識されない理由を追跡します。完了とは、文書化されたテンプレートのビルドによって、説明のない手動の AAR 統合なしに、動作する Android の using ディレクティブが生成されることです。

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

説明

Description

The template, as is, does not seem to be working. The using directives are not being recognized, apparently due to the declaration of Metadata.xml.

I tried many different approaches to fix this (mostly by trying to add the generated *. aar file somehow to the project, for instance, as an AndroidLibrary or as an EmbeddedReferenceJar), but I'm getting to the conclusion that the original intention was to have something behind the scenes that would make the conversion specified in the Metadata.xml implementation work.

As per the content generated about the template, I was expecting that a simple build in Android Studio would be enough to make it happen. Before trying to fix this as I mentioned above, I was expecting that a simple build of the native Android project, followed by the build of the .Net Maui project, would be enough, as per the high level discussion on this between @rachelkang and @jamesmontemagno.

Steps to Reproduce
  1. Clone the repository
  2. Open the template solution as is
  3. Build the android native project
  4. Build the .Net Maui
  5. See that the Android using directives are not working;
Link to public reproduction project repository

No response

Environment
  • OS:
  • .NET MAUI:
  • Target platforms:
主要言語
C#
スター
249
フォーク
48
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

CommunityToolkit/Maui.NativeLibraryInterop のほかの issue

CommunityToolkit/Maui.NativeLibraryInterop の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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