Unable to resolve dependency for ':app@Debug/compileClasspath': Could not resolve com.serenegiant...

问题: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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容