执行pub get后,我收到下列错误(第一次建置)
Because file_picker >=5.0.0 depends on ffi ^2.0.1 and open_file_safe 3.2.3 depends on ffi ^1.0.0, file_picker >=5.0.0 is incompatible with open_file_safe 3.2.3.
And because no versions of open_file_safe match >3.2.3 <4.0.0, file_picker >=5.0.0 is incompatible with open_file_safe ^3.2.3.
So, because app depends on both open_file_safe ^3.2.3 and file_picker ^5.2.2, version solving failed.
pub get failed (1; So, because app depends on both open_file_safe ^3.2.3 and file_picker ^5.2.2, version solving failed.)
我尝试运行pub get
命令,并希望它能成功运行,没有任何错误。
1条答案
按热度按时间xa9qqrwz1#
作为目前的快速解决方案,您可以使用
https://pub.dev/packages/open_filex
当且仅当您的应用仅在移动操作系统上运行时