Android USB 摄像头开发时ERROR: Unable to resolve dependency for ‘:libusbcamera@debugcompileClasspath‘ 出错解

    技术2022-07-10  79

    USB摄像头开发时 引入依赖 同步出错,出现类似下面的报错,按照下面解决即可。

    ERROR: Unable to resolve dependency for ':libusbcamera@debug/compileClasspath': Could not download common.aar (com.serenegiant:common:1.5.20) 解决方案:

    修改项目的build.gradle中下面的配置

    //maven { url 'http://raw.github.com/saki4510t/libcommon/master/repository/' }替换成下面地址 maven { url 'https://gitee.com/liuchaoya/libcommon/raw/master/repository/' }  

    Processed: 0.010, SQL: 9