Open joshua750 opened 8 months ago
Same here :(
Error: Failed running flutter pub get... Because wakelock_windows >=0.2.1 depends on win32 ^3.0.0 and wakelock_windows <0.2.1 depends on win32 ^2.0.0, every version of wakelock_windows requires win32 ^2.0.0 or ^3.0.0. And because file_picker >=5.3.2 depends on win32 ^5.0.2, file_picker >=5.3.2 is incompatible with wakelock_windows. And because better_player >=0.0.82 depends on wakelock ^0.6.1+2 which depends on wakelock_windows ^0.2.0, file_picker >=5.3.2 is incompatible with better_player >=0.0.82. So, because custom_widget depends on both better_player ^0.0.83 and file_picker 6.1.1, version solving failed.
You can try the following suggestion to make the pubspec resolve:
/Applications/flutter/bin/flutter --no-color pub get Resolving dependencies... Because wakelock_windows <0.2.1 depends on win32 ^2.0.0 and wakelock >=0.5.6 depends on wakelock_windows ^0.2.0, wakelock >=0.5.6 requires win32 ^2.0.0 or wakelock_windows ^0.2.1. And because wakelock_windows >=0.2.1 depends on win32 ^3.0.0, wakelock >=0.5.6 requires win32 ^2.0.0 or ^3.0.0. (1) So, because package_info_plus >=4.0.1 depends on win32 >=4.0.0 <6.0.0 and better_player >=0.0.82 depends on wakelock ^0.6.1+2, package_info_plus >=4.0.1 is incompatible with better_player >=0.0.82.
You can try the following suggestion to make the pubspec resolve: