Open ideasidus opened 6 months ago
I'm running into this same problem.
This issue was reported on agent_dart: https://github.com/AstroxNetwork/agent_dart/issues/76 and resolved in agent_dart 1.0.0-dev.23
: https://github.com/AstroxNetwork/agent_dart/pull/77
But if I update to that version of agent_dart, I'm still unable to build my flutter app, because magic_sdk is incompatible with that version of agent_dart:
Because agent_dart >=1.0.0-dev.21 depends on flutter_rust_bridge ^1.82.6 which depends on uuid ^4.1.0, agent_dart >=1.0.0-dev.21 requires uuid ^4.1.0.
And because magic_sdk 6.0.1 depends on uuid ^3.0.7 and no versions of magic_sdk match >6.0.1 <7.0.0, agent_dart >=1.0.0-dev.21 is incompatible with magic_sdk ^6.0.1.
So, because recap depends on both magic_sdk ^6.0.1 and agent_dart ^1.0.0-dev.23, version solving failed.
I have the same issue on my side, upgrading agent_dart 1.0.0-dev.23:
break other dependencies
@rsnay this might be a temporary fix:
dependency_overrides:
agent_dart: ^1.0.0-dev.23
flutter_rust_bridge: ^1.82.6
uuid: ^4.1.0
I've forced the dependencies like this, seems that it broke something else, but maybe it works on your side.
I tried to build a test demo for Flutter, but it throws an exception
I tried the agent_dart package in the error message below with both 1.0.0-dev.8, which is a requirement of secp256r1: 0.1.0-dev.7, and 1.0.0-dev.22, the most recent version, but only 1.0.0-dev.20 was available in the dependency check.
Does agent_dart need any modification or do I need to use a specific flutter & dart version?
Attempted Solutions:
agent_dart
(1.0.0-dev.8 and 1.0.0-dev.22), but the issue persists.Desired Outcome:
I would appreciate any guidance on resolving this type mismatch error and successfully building my Flutter project.
Environment:
Error Message: