title: Cant resolve setMapStyle() while creating custom styled map in android map v2
body: <p>I was trying to achieve a custom color scheme in The map in my app. So i called a custom JSON (JSON was created with the tool provided by google) inside the onMapReady() function as per google instructed. my onMapready function is as given below</p>
  
  <pre><code>  @Override
  public void onMapReady(GoogleMap googleMap) {
      mMap = googleMap;
                 try {
              // Customise the styling of the base map using a JSON object defined
              // in a raw resource file.
              boolean success = mMap.setMapStyle(MapStyleOptions.loadRawResourceStyle(
                              this, R.raw.style_json));
  
              if (!success) {
                  Log.e("MapsActivityRaw", "Style parsing failed.");
              }
          } catch (Resources.NotFoundException e) {
              Log.e("MapsActivityRaw", "Can't find style.", e);
          }
      }
  </code></pre>
  
  <p>But whatever I tried it shows error in the function setMapStyle().</p>
  
  <p><img src="https://i.stack.imgur.com/sl4LK.png" alt="error"></p>
  
  <p>I'm a beginner in android programming so if it's even kind of small obvious solution please do help.. I have searched a lot to get the sollution..</p>
  
  <p>Thanks In advance </p>