gpt4 book ai didi

gradle - url_launcher软件包出现问题(Flutter)

转载 作者:行者123 更新时间:2023-12-03 05:28:34 24 4
gpt4 key购买 nike

我正在做一个Flutter项目。我从柜台应用程序开始。如果使用以下软件包,我没有任何问题:

cupertino_icons: ^0.1.3
flutter_markdown: ^0.3.3
google_fonts: ^0.3.9
google_maps_flutter: ^0.5.23+1
intl: ^0.16.1
provider: ^4.0.4
rive: ^0.0.1
rxdart: ^0.23.1
shared_preferences: ^0.5.6+1

但是,如果我使用 url_launcher: ^5.4.1包,则会收到此错误:
Launching lib\main.dart on Android SDK built for x86 in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':url_launcher:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':url_launcher:debugCompileClasspath'.
> Could not resolve androidx.annotation:annotation:1.1.0.
Required by:
project :url_launcher
[...]

我该如何解决?谢谢!

最佳答案

使用软件包的5.4.2版本似乎可以解决该问题。

关于gradle - url_launcher软件包出现问题(Flutter),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60269988/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com