美文网首页
Unable to resolve dependency for

Unable to resolve dependency for

作者: 岩巴上的枯松 | 来源:发表于2020-04-27 13:45 被阅读0次

问题:ERROR: Unable to resolve dependency for ':app@shupingDebug/compileClasspath': Could not resolve com.serenegiant:common:1.5.20.

问题.png

有的朋友可能只是后面版本不一样~
怎么产生的呢?也许你跟我一样,工程中引用了AndroidUSBCamera开源库:
GitHub源码地址:https://github.com/jiangdongguo/AndroidUSBCamera
我折腾了好长时间,也在网上查了,基本方法都用遍了,也还是不行,这里贴一下最后的解决方案:

修改.png

将根目录build.gradle中的“maven { url 'https://github.com/saki4510t/libcommon/tree/master/repository/' }”修改为“maven {url 'https://gitee.com/liuchaoya/libcommon/raw/master/repository/'}”。

这里需要感谢下这位作者:https://gitee.com/liuchaoya/libcommon

相关文章

网友评论

      本文标题:Unable to resolve dependency for

      本文链接:https://www.haomeiwen.com/subject/uaeywhtx.html