While building an App, I came across an error:
I'm guessing the error was saying I needed to update the location package in order to use it. While researching how to update the package, I came across this website :
It basically said in order to update the kotlin grade plugin version, I would have to change the ext.kotlin_version's number in the package's android/build.gradle file then create a path to the file in pubspec.yaml. I made the proper changes to location package like the website said, but the problem came when I tried creating a path to the file:
Is this even allowed? The website said to create a link straight from your computer's downloads file but Flutter isn't letting me. Are version numbers like "1.1.1" the only thing that can be accepted? I tried getting rid of the path: but that didn't work. A little help would be appreciated.


This happens because Communities has not developed a stable version of the
locationpackage that matches thelocationpackage with your kotlin version. Because of that, temporary solution can be proposed. Specify thelocationpackage in yourpubspec.yamlfile like this. this is working for me.replaced
with this in pubspec.yaml and ran flutter pub get
I hope this is fixed in v4 by the maintainer of this extension soon.