CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

Unable to Add Android Project-Level Plugin Dependencies to MAUI

未关闭
#83 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
249
派生
48
PR 合并指标
30 天内没有已合并 PR

描述

I have tried multiple approaches, but I’m unable to add project-level build.gradle plugin dependencies to MAUI. Specifically, I attempted to integrate the [Instana Android Agent](https://github.com/instana/android-agent) into a MAUI project. While I was able to include the runtime library, the plugin itself could not be integrated.

```
plugins {
id("com.android.application")
id("com.instana.android-agent-plugin")
}
```

The plugin is included in the .aar package but is not applied when running MAUI. It seems that only build.gradle libraries at the app level are successfully included, while project-level plugin dependencies are not being applied.

I’m looking for a way to support the integration of project-level plugins in MAUI, as this behavior seems to affect other plugin-level injections as well.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先复现 MAUI 与 Instana Android Agent 的集成,并将应用级库的行为与项目级 build.gradle 中的插件声明进行比较。检查 .aar 包的使用方式;当运行 MAUI 时应用了项目级 Android 插件,而不仅仅是运行时库时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, csharp
领域
build-system, mobile-dev
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。