Giter VIP home page Giter VIP logo

Comments (5)

oldmankit avatar oldmankit commented on June 23, 2024 3

@AbdeMohlbi Thanks for the suggestion. I actually don't have anything that looks like that in my settings.gradle file. But your hint got me looking in the right place, and I found that by upgrading the Android Gradle Plugin using Android Studio's "AGP upgrade assistant", this actually fixed the problem I was having. After running the upgrade assistant, the following line was changed within settings.gradle:

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version '7.3.0' apply false
}

became

plugins {
    id "dev.flutter.flutter-plugin-loader" version "1.0.0"
    id "com.android.application" version '7.4.2' apply false
}

And after that I could build the project successfully.

from flutter.

AbdeMohlbi avatar AbdeMohlbi commented on June 23, 2024 1

i know this issue has been closed but for anyone in the near future who had stuck to open the AGP assistant like my case try this :
https://stackoverflow.com/questions/70880154/agp-upgrade-assistant-window-not-opening-in-android-studio

from flutter.

AbdeMohlbi avatar AbdeMohlbi commented on June 23, 2024

your may need this first :
https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration
try updating android>settings.gradle file by replacing this line
id "org.jetbrains.kotlin.android" version "{kotlin.version_1}" apply false
with :
id "org.jetbrains.kotlin.android" version "{kotlin.version_2}" apply false
try this by making the kotlin compiler and api version and language version in setting>kotlin compiler inside android studio that could help as i have the same issue

from flutter.

AbdeMohlbi avatar AbdeMohlbi commented on June 23, 2024

@oldmankit Exactly brother what i was trying to say is that you can do that from settings also and it will configure the files by itself .
I think someone may find this issue in the near future helpfull .

from flutter.

github-actions avatar github-actions commented on June 23, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

from flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.