如何在本机代码上使用颤音插件

发布于 2025-02-08 08:15:39 字数 633 浏览 1 评论 0原文

我正在尝试使用我在本机代码上开发的扑动库。它使用 device_info_plus 。但是,对于某些插件,您需要更新build.gradle依赖项(在add-to-app中管理插件和依赖项)我相信这个软件包就是一个这样的示例,但是我不知道什么添加我的build.gradle或在哪里寻求帮助。

当我在Android上使用FlutterFragment时,该应用程序会运行,但它会给我nistpluginexception错误。

关于如何解决这个 /找到我需要的deps的想法吗?

在此先感谢您的帮助。

I'm trying to use a flutter library that I developed on native code. It uses device_info_plus. However, for certain plugins, you need to update your build.gradle dependencies (Managing plugins and dependencies in add-to-app) I believe this package is one such example, however I don't know what to add on my build.gradle or where to look for help.

When I use FlutterFragment on Android, the app runs, but it gives me the MissingPluginException error.

Any thoughts on how to solve this / find the deps I need?

Thanks in advance for helping.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文