title: Plugin project :location_web not found. Please update settings.gradle. How do I fix this?
body: <p>I was using the google maps api and location pub,dev package in my android flutter app, and tried to bring up an image using the url from the api.
  This was the url with some code:</p>
  <pre><code>class LocationHelper{
    static String mapviewpointer({double latitude, double longitude}){
      return &quot;https://maps.googleapis.com/maps/api/staticmap?center=$latitude,$longitude&amp;zoom=13&amp;size=600x300&amp;maptype=roadmap&amp;markers=color:pink%7Clabel:C%7C$latitude,$longitude&amp;key=$GOOGLE_API_KEY&quot;;
    }
  }
  </code></pre>
  <p>it threw the following error message:</p>
  <p><code>Plugin project :location_web not found. Please update settings.gradle; </code></p>
  <p>I'm not sure how to fix this error.</p>
  <p>This was the other error I received in my terminal:</p>
  <pre><code>I/flutter (21880): Invalid argument(s): No host specified in URI file:///Instance%20of%20'Future%3CString%3E'
  </code></pre>
  <p>The Area in which I get the error message above is here in my code:</p>
  <pre><code>Future &lt;String&gt; _getUserLocation() async{
    final locData = await Location().getLocation();
    final staticMapUrl = LocationHelper.mapviewpointer(
      latitude: locData.latitude, 
      longitude: locData.longitude,
      );
      return staticMapUrl;
  }
  
  final mapview = _getUserLocation();
  
  
  class NearbyScreen extends StatelessWidget {
    @override
    //LocationHelper.mapviewpointer(latitude: )
    
    Widget build(BuildContext context) {
      return  Column(
              children: &lt;Widget&gt;[
                Container(height:170, width: double.infinity,
                child:Image.network(mapview.toString())
                ),
                Text(&quot;hello&quot;),
              ],
            );
    }
  }
  </code></pre>
  <p>Does it have something to do with the fact that I am returning a <code>Future&lt;String&gt;</code> instead of just a <code>string</code> in my <code>_getUserlocation</code> function? How could I fix this?</p>