flutter_login
flutter_login copied to clipboard
Update to Gradle 8.1.1
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.
What worked for me is that I deleted the build folder then issued
flutter create .
in the project directory.
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.