The plugin `fluttertoast` uses a deprecated version of the Android embedding.

这篇博客介绍了如何处理fluttertoast插件使用了Android的弃用版本问题。问题源于fluttertoast依赖的Android内嵌版本已过时,可能导致运行或构建失败。为避免此问题,博主建议检查插件是否支持Android V2嵌入,或考虑更新或移除该插件。提供的解决方案包括在Terminal中运行命令升级fluttertoast到最新版本(从3.1.3升级到8.0.9),并执行`pub get`以成功更新。
摘要由CSDN通过智能技术生成

-The plugin fluttertoast uses a deprecated version of the Android embedding.

问题描述

`The plugin `fluttertoast` uses a deprecated version of the Android embedding.`To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. 
Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

                
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值