title: Failed resolution of: Lcom/google/android/gms/location/LocationRequest
body: <p>I am using gradle dependency of </p>
  
  <pre><code>implementation 'com.google.android.gms:play-services-location:15.0.1'
  </code></pre>
  
  <p>at runtime I get below error</p>
  
  <pre><code>java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/location/LocationRequest;
  </code></pre>
  
  <p>I am trying to fetch lat long using LocationRequest and when I am using this code in a standalone project it works. And when I am trying to build a library with same code I get above error.</p>
  
  <p>I have checked, both standalone project and library project have same dependencies and versions. </p>