java.lang.NoClassDefFoundError: {package}/dagger/provider/DebugNetworkModule$ModuleAdapter$ProvideCacheEnabledOkClientProvidesAdapter E/AndroidRuntime(23858): at {package}.dagger.provider.DebugNetworkModule$ModuleAdapter.getBindings(DebugNetworkModule$ModuleAdapter.java:36) E/AndroidRuntime(23858): at {package}.dagger.provider.DebugNetworkModule$ModuleAdapter.getBindings(DebugNetworkModule$ModuleAdapter.java:16)

Google Groups | Xiaofeng Han | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android: Use dagger in test get ClassNotFound error when running tests with proguard release config

    Google Groups | 2 years ago | Xiaofeng Han
    java.lang.NoClassDefFoundError: {package}/dagger/provider/DebugNetworkModule$ModuleAdapter$ProvideCacheEnabledOkClientProvidesAdapter E/AndroidRuntime(23858): at {package}.dagger.provider.DebugNetworkModule$ModuleAdapter.getBindings(DebugNetworkModule$ModuleAdapter.java:36) E/AndroidRuntime(23858): at {package}.dagger.provider.DebugNetworkModule$ModuleAdapter.getBindings(DebugNetworkModule$ModuleAdapter.java:16)

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      {package}/dagger/provider/DebugNetworkModule$ModuleAdapter$ProvideCacheEnabledOkClientProvidesAdapter E/AndroidRuntime(23858): at {package}.dagger.provider.DebugNetworkModule$ModuleAdapter.getBindings(DebugNetworkModule$ModuleAdapter.java:36) E/AndroidRuntime(23858): at {package}.dagger.provider.DebugNetworkModule$ModuleAdapter.getBindings(DebugNetworkModule$ModuleAdapter.java:16)

      at dagger.ObjectGraph$DaggerObjectGraph.makeGraph()
    2. Dagger
      ObjectGraph$DaggerObjectGraph.access$000
      1. dagger.ObjectGraph$DaggerObjectGraph.makeGraph(ObjectGraph.java:185)
      2. dagger.ObjectGraph$DaggerObjectGraph.access$000(ObjectGraph.java:138)
      2 frames