title: Cannot run application after adding Geolocator package
body: <p>I am trying to use Geolocator in my Flutter project. I have put the latest package in the pubspec.yaml and also put the permission to access user location in AndroidManifest.xml</p>
  <p>And I try to get the user location by:</p>
  <pre><code>void getLocation() async{
      Position position = await Geolocator.getCurrentPosition(desiredAccuracy: LocationAccuracy.low);
      print(position);
  }
  </code></pre>
  <p>But I am not able to run the application. Below is the error produced. Does anyone have any idea on this?</p>
  <p><a href="https://i.stack.imgur.com/iIX70.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iIX70.png" alt="enter image description here" /></a></p>
  <p>Below is the app\build.gradle
  <a href="https://i.stack.imgur.com/PNkCi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PNkCi.png" alt="enter image description here" /></a></p>