当我跑步时pub get
,我面临以下错误:
The plugin geocoder 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.
新的 flutter 版本已弃用 GeoCoder 包。但您可以使用这种替代方案。这与较新的 flutter 版本兼容并且完美工作。
使用这个替代方案:https://pub.dev/packages/geocode https://pub.dev/packages/geocode
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)