anarchuser / mic_stream

Flutter plugin to get an infinite audio stream from the microphone
https://pub.dev/packages/mic_stream
GNU General Public License v3.0
100 stars 68 forks source link

Resolving dependencies... (1.2s) The current Dart SDK version is 3.1.4. Because mic_stream 0.7.1+1 requires SDK version >=3.0.0 <=3.1.3 and no versions of mic_stream match >0.7.1+1 <0.8.0, mic_stream ^0.7.1+1 is forbidden. So, because ai_mockinterview depends on mic_stream ^0.7.1+1, version solving failed. You can try the following suggestion to make the pubspec resolve: * Try using the Flutter SDK version: 3.13.7. 4edoc@192 ai_mockinterview % #85

Closed fisforfaheem closed 10 months ago

fisforfaheem commented 10 months ago

Resolving dependencies... (1.2s) The current Dart SDK version is 3.1.4.

Because mic_stream 0.7.1+1 requires SDK version >=3.0.0 <=3.1.3 and no versions of mic_stream match >0.7.1+1 <0.8.0, mic_stream ^0.7.1+1 is forbidden. So, because ai_mockinterview depends on mic_stream ^0.7.1+1, version solving failed.

You can try the following suggestion to make the pubspec resolve:

anarchuser commented 10 months ago

Hey, could you please share your pubspec.yaml (or your versions configured for Flutter, Dart, ai_mockinterview, and mic_stream), as well as your current Flutter SDK version?

As a first thought, where does the >0.7.1+1 <0.8.0 come from? 0.7.1+1 is the newest version, so anything with >0.7.1+1 will fail to resolve.

anarchuser commented 10 months ago

Okay, so this issue is the result of me setting the Dart SDK constraints too tightly. I've published a fixup as 0.7.1+2, so you should be able to resolve this issue simply by running flutter ugprade. Please reopen if the issue does persist.

fisforfaheem commented 10 months ago

Thanks it happened after latest flutter upgrade and permission control pakg

On Sun, Oct 22, 2023, 2:12 PM Aaron Alef @.***> wrote:

Closed #85 https://github.com/anarchuser/mic_stream/issues/85 as completed.

— Reply to this email directly, view it on GitHub https://github.com/anarchuser/mic_stream/issues/85#event-10732904532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIRXJSFY7SQAAVQVV7NTCLTYATPP3AVCNFSM6AAAAAA6IODDDGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQG4ZTEOJQGQ2TGMQ . You are receiving this because you authored the thread.Message ID: @.***>