How to Fix Flutter (Android) upgrade/Gradle Issues

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 23

  • @AMPTechGrade
    @AMPTechGrade  Год назад +3

    See description for the actual code I changed to get mine working.

  • @delmontee
    @delmontee 8 месяцев назад +11

    I hate gradle and everything about it. I have two projects with the same gradle setup. One works. The other gives gradle errors!
    Surely all the necessary upgrade content could be pulled remotely at compile time?

    • @AMPTechGrade
      @AMPTechGrade  5 месяцев назад +5

      This is the sole reason I refuse to do Android dev, and updating flutter broke my code. I’m moving to React and never looking back, gradle is the most annoying piece of shit I’ve ever had to deal with, it should just work without this much headache

  • @rafaelthome2948
    @rafaelthome2948 11 месяцев назад +3

    Dude, you saved my life.

  • @CarlJdP
    @CarlJdP 5 месяцев назад +1

    thanks so much for sharing. I've been trying to solve the same gradle issues for days

  • @losantosw
    @losantosw Год назад +2

    Thank you very much, helped me a lot!

  • @YaseenYaseen-fg1hx
    @YaseenYaseen-fg1hx 7 месяцев назад +8

    I've been through the same issues and even tougher, especially after upgrades, it's simply hell, a nightmare, definitely flutter/gradle/Android suck, you need way more than 24 hours per day to develop on this platform, instead of focusing on the dev process itself, you're stuck on config, versions, settings, you name it !!!

    • @AMPTechGrade
      @AMPTechGrade  7 месяцев назад +2

      Couldn’t have said it better! Who ever designed the complexity of gradle deserves a special place in hell!
      I feel like it’s just easier to just use react and copy code to a new project if it ever gives you trouble because the rest of my code is broken due to a flutter update

    • @terlumunjoseph6779
      @terlumunjoseph6779 Месяц назад

      I'm in the same shoes. It makes me hate flutter development entirely

  • @tfozo
    @tfozo 4 месяца назад +1

    I regretted saying Flutter Upgrade on the cmd. I cant wait to implement this omg cant wait to get to my PC
    My issue was i was using image cropped package ehich uses different versions of kotlin kinda and I gave up and started building my own image cropper and now i found this video hopefully it works and fuck GPT they completely fucked my code Base
    Its been so nice coming back to RUclips to fix bugs lol

    • @AMPTechGrade
      @AMPTechGrade  4 месяца назад

      Problem is it could also break your code as the latest version of flutter ended up making a change that disallowed null values and my whole project is crapped out. I’m so sick of this shit I’m trying to move to react as we speak

    • @tfozo
      @tfozo 4 месяца назад

      ​@@AMPTechGrade Don't decide fast, you can always get rid of the packages that were affecting the issue for me it was Image cropper and geolocator
      I removed them and it's working
      Also I have fixed the issue thanks to you
      My plan with the geolocator was to get my current location and convert it to plus code for my users automatically instead I said well I guess users have to open up Google maps and told them instructions to do so if they don't have exact address
      It's rigged a little but it's working now after 4days of stress

  • @enmuh
    @enmuh 3 месяца назад +2

    i can't find buildscript in my build.gradle

    • @harisonline3239
      @harisonline3239 3 месяца назад

      did you find out the solution ?

    • @enmuh
      @enmuh 3 месяца назад

      @@harisonline3239 not yet

  • @chipekowasa6571
    @chipekowasa6571 8 месяцев назад +1

    Thanks for the help

  • @moyasarmuthanna860
    @moyasarmuthanna860 3 месяца назад +1

    you're him.

  • @Alm305-mw3tw
    @Alm305-mw3tw 7 месяцев назад +1

    should I unzip the file?

  • @AyushSingh-cc2ys
    @AyushSingh-cc2ys 2 месяца назад

    Please help me.. gradle update version 2024..?

  • @darkside0094
    @darkside0094 4 месяца назад

    Flutter is fun but gradle and android studio are so annoying

    • @AMPTechGrade
      @AMPTechGrade  4 месяца назад +2

      Gradle is a dealbreaker, worst piece of shit I’ve ever had to work with. I’m not sure if react is better or not but the easiest route is start a brand new project and port your code over, here’s to hoping react isn’t dogshit

    • @darkside0094
      @darkside0094 4 месяца назад

      ​@AMPTechGrade I'm currently using kotlin it's amazing and much faster than Flutter

  • @hassanplanet_1100
    @hassanplanet_1100 9 месяцев назад

    was not interest full not never