java.lang.NoClassDefFoundError: Failed resolution of: Ldagger/internal/Preconditions;

GitHub | luispereira | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    java.lang.NoClassDefFoundError: Failed resolution of: dagger/internal/Preconditions

    GitHub | 9 months ago | luispereira
    java.lang.NoClassDefFoundError: Failed resolution of: Ldagger/internal/Preconditions;

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Failed resolution of: Ldagger/internal/Preconditions;

      at com.test.dagger.DaggerTestComponent$Builder.testModule()
    2. com.test.dagger
      Injector.initializeApplicationComponent
      1. com.test.dagger.DaggerTestComponent$Builder.testModule(DaggerTestComponent.java:186)
      2. com.test.dagger.Injector.initializeApplicationComponent(Injector.java:31)
      2 frames
    3. com.test.app
      Test.setup
      1. com.test.app.Test.<init>(Test.java:48)
      2. com.test.app.Test.setup(Test.java:71)
      2 frames
    4. com.test
      SampleApp.onCreate
      1. com.test.SampleApp.onCreate(SampleApp.java:24)
      1 frame
    5. Android Platform
      ActivityThread.handleBindApplication
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4751)
      2 frames