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.

Tow many problems adding the library

See original GitHub issue
android {
    compileSdkVersion 27
    buildToolsVersion '27.0.2'
    defaultConfig {
        applicationId "xxxx"
        minSdkVersion 16
        targetSdkVersion 27
        versionCode 3
        versionName "1.2"
        testInstrumentationRunner ""
        multiDexEnabled  true // important

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), ''
    lintOptions {
        disable 'MissingTranslation'

    dexOptions {
        //you can specify the heap size for the dex process
        javaMaxHeapSize "4g"

    protected void attachBaseContext(Context base) {

android.enableD8=true ,, when setting this to false you will get 4 error and you cant build

and when i bilut it buld fine , but it crash with this error

 E/AndroidRuntime: FATAL EXCEPTION: main
                                                                              Process:, PID: 28904
                                                                              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 '' appears in /data/app/com.react.imyth.xxxx-1/base.apk)
                                                                                  at com.schibstedspain.leku.LocationPickerActivity.setUpMainVariables(
                                                                                  at com.schibstedspain.leku.LocationPickerActivity.onCreate(
                                                                                  at android.os.Handler.dispatchMessage(
                                                                                  at android.os.Looper.loop(
                                                                                  at java.lang.reflect.Method.invoke(Native Method)
                                                                                  at java.lang.reflect.Method.invoke(
    implementation ''
    implementation ''
    implementation ''
    implementation ''
   implementation ('') {
        exclude group: ''
        exclude group: ''

I had to update my android studio so i can just put this lib , and i reached this error after a lot of errors before

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

JesperLRcommented, Feb 24, 2018

Awesome - it works! Thanks a lot for solving so quickly 😃

ferranponscommented, Feb 23, 2018

@saefbadwan @JesperLR It’s now solved. Please download the new version 4.0.1.

Thanks for reporting and sorry for the inconvenience

Read more comments on GitHub >

github_iconTop Results From Across the Web

Addition and subtraction word problems worksheet
Grade 4 Word Problems Worksheet ... 120 books, how many fiction books are there? 2. From the boxes just delivered, a librarian takes...
Read more >
Open Problem Library - WeBWorK_wiki
Currently, there are approximately 35,000 problems in the OPL, and new problems are added regularly. The OPL was initially formed from several ......
Read more >
Adding libraries to Kontakt fixing the library not found error
How to add libraries to Kontakt and fix the library not found error.http://soundsandgear.com get asked a ...
Read more >
Error on add library project in eclipse - Stack Overflow
How to Add Support Lib in Project : To add latest support lib to your android project do these steps : Right click...
Read more >
How to Respond to Challenges and Concerns about Library ...
They may complain and request that such resources be removed. Below are step-by step suggestions about how to respond. These suggestions are not...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found