您的位置:首页 > 移动开发

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

2017-04-13 17:09 561 查看
配置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(正确配置方式)
    
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐