https://blog.csdn.net/ziwang_/article/details/76383203
可能是工具里面的缓存有有问题
在编辑器里面重新刷新下gradle就好了,操作如下:
Windows: gradlew build --refresh-dependencies
Mac: ./gradlew build --refresh-dependencies
请注意:--refresh
与 -dependencies
不应有空格存在,-dependencies
以参数形式依赖于 --refresh