Open sylvainjack opened 3 years ago
I have the same problem, help would be great. Thanks.
This resolved the issue for me. Replace the original code in your android/settings.gradle file to:
include ':app'
def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
def plugins = new Properties()
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
if (pluginsFile.exists()) {
pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
}
plugins.each { name, path ->
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
include ":$name"
project(":$name").projectDir = pluginDirectory
}
Found this from: https://stackoverflow.com/a/62349448/6911518 Hope this helps!
I keep getting this message when compiling : "Plugin project :flutter_rounded_progress_bar not found. Please update settings.gradle." Am I forgetting to do something ? Thanks for your help :)