Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am trying to add firebase functions to my flutter app in Android Studio. I have been following a YouTube video (https://www.youtube.com/watch?v=7UcM6Y12LEk) but when I run Put get I get the following errors:

Because build_node_compilers >=0.3.1 depends on build_modules ^2.11.3 which depends on analyzer >0.35.0 <0.40.0, build_node_compilers >=0.3.1 requires analyzer >0.35.0 <0.40.0.
Because build_resolvers >=1.4.0 <1.4.4 depends on analyzer ^0.40.1 and build_resolvers >=1.4.4 depends on analyzer >=0.40.1 <0.42.0, build_resolvers >=1.4.0 requires analyzer >=0.40.1 <0.42.0.
Thus, build_node_compilers >=0.3.1 is incompatible with build_resolvers >=1.4.0.
And because build_runner >=1.10.3 depends on build_resolvers ^1.4.0, build_node_compilers >=0.3.1 is incompatible with build_runner >=1.10.3.
So, because tonnah depends on both build_runner ^1.11.1 and build_node_compilers ^0.3.1, version solving failed.
pub get failed (1; So, because tonnah depends on both build_runner ^1.11.1 and build_node_compilers ^0.3.1, version solving failed.)

As you can see I would need to be able to reference 2 versions of the analyzer dependency. How can I resolve this issue?

question from:https://stackoverflow.com/questions/66055079/cant-resolve-dependencies-flutter

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...