Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Geo locator giving error when added in project

Execution failed for task ‘:location:compileDebugKotlin’.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

After adding the Geo locator permission it is giving the above error.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Code snippet for pubspec.yaml

pubspec.yaml

I have add this dependency and and then did the AGP upgrade but not able to get a proper solution.

>Solution :

You can try adding dependencies like pubspec.yaml
After that just try perform the above mentioned steps.

  1. flutter clean
  2. flutter pub get
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading