question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.NoSuchMethodError: No static method getGeoDataClient() v 5.0.0

See original GitHub issue

java.lang.NoSuchMethodError: No static method getGeoDataClient(Landroid/app/Activity;Lcom/google/android/gms/location/places/PlacesOptions;)Lcom/google/android/gms/location/places/GeoDataClient; in class Lcom/google/android/gms/location/places/Places; or its super classes (declaration of 'com.google.android.gms.location.places.Places' appears in /data/app/com.valyangadi.androidapp-2/base.apk:classes2.dex)

i enabled api and added api key but it is showing above error on start

                  ```
      startActivityForResult( new LocationPickerActivity.Builder()
                                    .withLocation(41.4036299, 2.1743558)
                                    .withGeolocApiKey("key=myapikey")
                                    .withSearchZone("es_ES")
                                    .shouldReturnOkOnBackPressed()
                                    .withStreetHidden()
                                    .withCityHidden()
                                    .withZipCodeHidden()
                                    .withSatelliteViewHidden()
                                    .build(getApplicationContext()), 654);

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ferranponscommented, Oct 23, 2018

@Midhilaj @gvsharma version 5.1.1 will be published soon. Please wait a bit.

please wait

1reaction
gvsharmacommented, Oct 23, 2018

try 5.1.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.lang.NoSuchMethodError: No static method 'myMethod'
The app installs without any errors; but when the method is invoked at runtime it gives me the following error: java.lang.NoSuchMethodError: No ......
Read more >
Accompanist is crashing java.lang.NoSuchMethodError: ...
Describe the bug Accompanist is crashing the minified proguard app in release version 0.20.0 using compose version 1.0.5.
Read more >
java.lang.NoSuchMethodError: No static method - androidx ...
The issue appearing in build which is obfuscated with r8 and a proguard rule. Not appearing in development builds. What exactly changes needs...
Read more >
No static method hashCode(Z)I in class Ljava/lang ...
NoSuchMethodError : No static method hashCode(Z)I in class Ljava/lang/Boolean; or its super classes (declaration of 'java.lang.Boolean' appears in /system/ ...
Read more >
Java.Lang.NoSuchMethodError: 'No static method ...
Android Binding Library - Java.Lang.NoSuchMethodError: 'No static method checkNotNullFromProvides(Ljava/lang/Object;)Ljava/lang/Object;.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found