flutter පටන් ගත්තා

lkkolla

Well-known member
  • Sep 28, 2023
    1,053
    1,510
    113
    ElaKiri

    Google map api key eka use kalada?
    ou
     

    ackasanka

    Active member
  • Sep 10, 2007
    127
    54
    28
    මචංලා flutter වලින් පොඩියට app එකක් හදන්න ගත්ත (තාම මුකුත් දන්නෙ නෑ ) මේ error එක fix කරගන්න උදවුක් ඔනේ


    View attachment 231141

    View attachment 231142

    https://github.com/SrunSundy/google_map_tracking
    පුලුවන්ම් උදවුවක් දෙන්න.. (flutter මුල ඉදල ඉගෙන ගන්න ගම්න් ඉන්නෙ, මේක මේ හදාගන්න ඔනේ හදිසියකට )

    Machan note these points

    01. You are using out dateted flutter version, so update you flutter to latest version. Bcoz in new flutter version they have change this gradle plugin loading old way to new optimized way, now almost all plugins tend into migrating into new flutter build system and new version. So you first update flutter
    02. What I suggest to do is,
    -> First update flutter
    -> Create brand new project with same package name in different folder
    -> Migrate your home widget into new project alone with Google Maps keys etc. Finally add your dependencies into new yml file and use the new project
    -> If needed do flutter clean > flutter pub cache clean > flutter pub cache repair -> flutter pub get
     
    • Love
    Reactions: lkkolla

    lkkolla

    Well-known member
  • Sep 28, 2023
    1,053
    1,510
    113
    Machan note these points

    01. You are using out dateted flutter version, so update you flutter to latest version. Bcoz in new flutter version they have change this gradle plugin loading old way to new optimized way, now almost all plugins tend into migrating into new flutter build system and new version. So you first update flutter
    02. What I suggest to do is,
    -> First update flutter
    -> Create brand new project with same package name in different folder
    -> Migrate your home widget into new project alone with Google Maps keys etc. Finally add your dependencies into new yml file and use the new project
    -> If needed do flutter clean > flutter pub cache clean > flutter pub cache repair -> flutter pub get
    Thanks, machan,
    Thank you very much for your advice,