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.

Can instantiate RxBleClient with last Dagger release

See original GitHub issue

Summary

I faced an issue yesterday with the new Dagger release (2.14.1). At the RxBleClient creation ( RxBleClient.create(context);) the app crash (with 2.13 and less it’s ok)

Library version

1.4.3

Logs from the application running with setting

                                                               Process: myapp.id, PID: 23473
                                                               java.lang.NoSuchMethodError: No static method injectMembers(Ldagger/MembersInjector;Ljava/lang/Object;)Ljava/lang/Object; in class Ldagger/internal/MembersInjectors; or its super classes (declaration of 'dagger.internal.MembersInjectors' appears in /data/app/myapp.id-2/base.apk:classe
at com.polidea.rxandroidble.RxBleAdapterStateObservable_Factory.get(RxBleAdapterStateObservable_Factory.java:28)
                                                       at com.polidea.rxandroidble.RxBleAdapterStateObservable_Factory.get(RxBleAdapterStateObservable_Factory.java:10)
                                                       at com.polidea.rxandroidble.RxBleClientImpl_Factory.get(RxBleClientImpl_Factory.java:104)
                                                       at com.polidea.rxandroidble.RxBleClientImpl_Factory.get(RxBleClientImpl_Factory.java:23)
                                                       at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
                                                       at com.polidea.rxandroidble.DaggerClientComponent.rxBleClient(DaggerClientComponent.java:419)
                                                       at com.polidea.rxandroidble.RxBleClient.create(RxBleClient.java:54)`

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

5reactions
dariuszseweryncommented, Jan 29, 2018

1.5.0-SNAPSHOT 😉 Sorry for misunderstanding

3reactions
GuillaumeBourgecommented, Jan 5, 2018

It’s working with the last Snapshot 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can instantiate RxBleClient with last Dagger release #342
Summary I faced an issue yesterday with the new Dagger release (2.14.1). At the RxBleClient creation ( RxBleClient.create(context);) the app ...
Read more >
Updating Firebase causes RxBLE crash - Stack Overflow
My app uses BLE and I have a static class which I initialize on app launch, this typically works with no issue. Today...
Read more >
RxBLELibraries/RxAndroidBle - Gitter
Hi, I am using this library in our app I am facing the issue like before notification is disabled app is disconnecting from...
Read more >
Dagger - Square Open Source
Dependency injection isn't just for testing. It also makes it easy to create reusable, interchangeable modules. You can share the same AuthenticationModule ...
Read more >
com.polidea.rxandroidble:dagger-library-shadow 1.7.1 on ...
You can use singleton, scoped Dagger component or whatever else you want. RxBleClient rxBleClient = RxBleClient.create(context); ...
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