.NET11 RC2 AndroidTypeMapImplementation trimmable doesn't generate java callable wrappers for classes marked with Register attribute
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 46/100
調査の方向性
Start by reading the .NET for Android changes to the trimmable type map implementation and how it handles classes marked with Register and methods marked with Export. Reproduce the issue using the provided FeaturesLib example and inspect the build output for Java callable wrappers. Done means the wrappers are generated for registered classes when AndroidTypeMapImplementation is set to trimmable.
索引モデルが issue の本文から書いたものです。
説明
We have been using Register attribute on Java.Lang.Object derived classes and Export attribute on its methods to generate Java callable wrappers for Android. E.g.
[Register("AndroidFeatures.FeaturesLib")]
public class FeaturesLib : Java.Lang.Object
{
private MutableLiveData _data = new MutableLiveData(new Intent());
[Export("Initialize")]
public void Initialize(MutableLiveData data)
{
_data = data;
}
[Export("GetFeatureStr")]
public string GetFeatureStr(string jString)
{
return jString;
}
[Export("GetDigitalValue")]
public int GetDigitalValue()
{
return -999;
}
}
I tried to use .NET11's new trimmable typemap using trimmable. The resulting build output doesn't contain the Java callable wrappers for the classes.
Can this be addressed?
@jonathanpeppers
- 主要言語
- C#
- スター
- 2.1k
- フォーク
- 581
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 237
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/android のほかの issue
-
Area: App+Library Build
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Area: Mono.Android
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dotnet/android#9192 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows needs-triage
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
メンテナーはふだん 1 日以内に返信
-
Area: App+Library Build needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
KnifeLemon/Filee#294 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
gavin-wolfe/wolfden#104 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Still libmicrohttpd dependency is not removed properly from External-Dependency-Info.txt file対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンtype/bug
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area:framework
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
validate_environment_path strips executable extensions from directory names, not only from the end of the path対応中かも @auraseb が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Unity-Technologies/ml-agents#6332 ·