我使用了以下软件包-
cupertino_icons: ^1.0.1
flutter_svg: ^0.19.2+1
emoji_picker: ^0.1.0
shared_preferences: ^0.5.12+4
permission_handler: ^5.1.0+2
contacts_service: ^0.4.6
camera: ^0.8.0
path_provider: ^2.0.1
path: ^1.8.0
现在它给我一个错误,相机插件的版本需要箭袋的版本3,而contacts_service需要箭袋的版本2。现在我该怎么办??如果我要更改其中一个包的版本,其他包也会开始出现错误。
以下是错误-
Because camera >=0.8.0 depends on quiver ^3.0.0 and contacts_service 0.4.6 depends on quiver ^2.0.0, camera >=0.8.0 is incompatible with contacts_service 0.4.6.
And because no versions of contacts_service match >0.4.6 <0.5.0, camera >=0.8.0 is incompatible with contacts_service ^0.4.6.
So, because flutter_whatsapp depends on both contacts_service ^0.4.6 and camera ^0.8.0, version solving failed.
pub get failed (1; So, because flutter_whatsapp depends on both contacts_service ^0.4.6 and camera ^0.8.0, version solving failed.)
转载请注明出处:http://www.sxboan.com/article/20230330/1070967.html