Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Gradle 8.1.1 #454

Open
mrcklwhn opened this issue Sep 14, 2023 · 2 comments
Open

Update to Gradle 8.1.1 #454

mrcklwhn opened this issue Sep 14, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@mrcklwhn
Copy link

After updating to Gradle 8.1.1 the Flutter Login Plugin doenst work anymore.

My build.gradle:

buildscript {
    ext.kotlin_version = '1.7.20'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:8.1.1'
        classpath 'com.google.gms:google-services:4.3.10'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':libphonenumber_plugin'.

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.

Looks like libphonenumber_plugin is a dependency ths isnt updated to Gradle 8.1.1 jet.

Please fix this ASAP.

@mrcklwhn mrcklwhn added the bug Something isn't working label Sep 14, 2023
@xuniluser
Copy link

What worked for me is that I deleted the build folder then issued

flutter create .

in the project directory.

@ZakBrinlee
Copy link

Has anyone figured out a workaround for this issue? I tried to delete the build folder, ran flutter create . as well as the suggestion here by the package maintainer but to no prevail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants