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.

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 "android.support.test.runner.AndroidJUnitRunner"
        multiDexEnabled  true // important

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

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


    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(this);
    }

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: com.react.imyth.xxx, 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 'com.google.android.gms.location.places.Places' appears in /data/app/com.react.imyth.xxxx-1/base.apk)
                                                                                  at com.schibstedspain.leku.LocationPickerActivity.setUpMainVariables(LocationPickerActivity.java:167)
                                                                                  at com.schibstedspain.leku.LocationPickerActivity.onCreate(LocationPickerActivity.java:144)
                                                                                  at android.app.Activity.performCreate(Activity.java:6021)
                                                                                  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
                                                                                  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
                                                                                  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2405)
                                                                                  at android.app.ActivityThread.access$800(ActivityThread.java:155)
                                                                                  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1323)
                                                                                  at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                  at android.os.Looper.loop(Looper.java:135)
                                                                                  at android.app.ActivityThread.main(ActivityThread.java:5376)
                                                                                  at java.lang.reflect.Method.invoke(Native Method)
                                                                                  at java.lang.reflect.Method.invoke(Method.java:372)
                                                                                  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
                                                                                  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
    implementation 'com.google.android.gms:play-services-maps:11.0.2'
    implementation 'com.google.android.gms:play-services-location:11.0.2'
    implementation 'com.google.android.gms:play-services-ads:11.0.2'
    implementation 'com.google.android.gms:play-services-places:11.0.2'
   implementation ('com.schibstedspain.android:leku:4.0.0') {
        exclude group: 'com.google.android.gms'
        exclude group: 'com.android.support'
    }

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

3reactions
JesperLRcommented, Feb 24, 2018

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

1reaction
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.comhttp://twitter.com/soundsandgearI 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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found