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

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

将根目录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
网友评论