Error:Execution failed for task ':app:prepareDebugAndroidTestDependencies'. > Dependency Error解决方法

    xiaoxiao2021-04-12  28

    配置dagger2时出现此异常

     解决方法:

    要写成 apt 'com.google.dagger:dagger-compiler:2.4'  而不要写成compile 'com.google.dagger:dagger-compiler:2.4' 把compile 一定要写成apt  http://blog.csdn.net/lisdye2/article/details/51942511(正确配置方式)

        

    转载请注明原文地址: https://ju.6miu.com/read-668023.html

    最新回复(0)