Add dependency in flutter project. Than give error regarding that dependency.

Поділитися
Вставка
  • Опубліковано 8 лют 2025
  • Error solution Code is :- www.onlinenotepad.io/?edit-id=L1Bqtpfo4O3ea12d8d
    subprojects {
    afterEvaluate { (--- in video ---)
    if (project.hasProperty('android')) {
    project.android {
    if (namespace == null) {
    namespace project.group
    }
    }
    }
    }
    }
    FAILURE: Build failed with an exception.
    What went wrong:
    A problem occurred configuring project ':flutter_file_downloader'.
    --- Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
    --- Namespace not specified. Specify a namespace in the module's build file. See https:/d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
    If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https:/d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
    Try:
    -- Run with --stacktrace option to get the stack trace.
    -- Run with --info or --debug option to get more log output.
    -- Run with --scan to get full insights.
    -- Get more help at https:/help.gradle.org.
    BUILD FAILED in 20s
    Error: Gradle task assembleDebug failed with exit code 1
    Exited (1).
    #dependencyerrorinflutter #flutterdependencyerror #vappsstudio #flutterfiledownloadererror #flutter #fluttertutorials #fluttertutorial #VAppsStudio #vappsstudioinflutter #dependencyerrorinfluttervappsstudio
    #dependencyerrorinflutter #fluttererror #vappsstudioerror #flutterdependencyerrorvappsstudio
    #vappsstudioerrors #vappsstudioerror #v #fluttererrors #dependencyerror #dependencyerrorbyv
    #dependencyerror

КОМЕНТАРІ • 7

  • @ahmadrifai3659
    @ahmadrifai3659 6 днів тому

    this is what i'm looking for thanx a lot

  • @harshsutariya2667
    @harshsutariya2667 Місяць тому

    are thanks bhai ♥♥

  • @vinayraj8272
    @vinayraj8272 Місяць тому

    thank you bhai aapne meri izzat rakh di mein bahut paresaan ho rahaa thaa es videos ko kabhi delete mat karna bhai god aapko hamesa khusi de or taraki de love you bhai😊😊❤❤

    • @VAppsStudio
      @VAppsStudio  Місяць тому

      Thank you bhai❤️
      "If you need any type of error fixes, widget implementations, or task solutions in the future, feel free to comment, and I'll provide a solution."

    • @qazitehmas4620
      @qazitehmas4620 Місяць тому

      @@VAppsStudio a new error was thrown
      * Where:
      Build file 'android\build.gradle' line: 15
      * What went wrong:
      A problem occurred evaluating root project 'android'.
      > A problem occurred configuring project ':app'.
      > Could not find method hasPoperty() for arguments [android] on project ':app' of type org.gradle.api.Project.

    • @VAppsStudio
      @VAppsStudio  Місяць тому

      mail me your Full code and error

  • @harshsutariya2667
    @harshsutariya2667 Місяць тому

    did you find any solution for the problem 3:50 ?