Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Error on line 32, column 5 of pubspec.yaml: A dependency may only have one source.

Isijola Ademie answered on March 8, 2023 Popularity 6/10 Helpfulness 1/10

Contents


More Related Answers

  • Error on line 38, column 3 of pubspec.yaml: A package may not list itself as a dependency. ╷ 38 │ sqflite: ^2.3.0 │ ^^^^^^^ ╵

  • Error on line 32, column 5 of pubspec.yaml: A dependency may only have one source.

    0

    Indention is important you are accidentally adding shared_preference package below flutter dependency. So the error "A dependency may only have one source"

    Correct format below: 

    Popularity 6/10 Helpfulness 1/10 Language whatever
    Tags: line whatever
    Link to this answer
    Share Copy Link
    Contributed on Mar 08 2023
    Isijola Ademie
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.