After running pub get i am getting the following error (First time build)
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.)
I tried to run pub get
command and expected it to run successfully without any error.
As a fast solution for now you can use
https://pub.dev/packages/open_filex
if and only if your app is only running on mobile OS
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.