记录studio的一个错误
Could not find any matches for com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+ as no versions处理:
前言:昨天运行项目遇到很奇葩的报错,我上一分钟运行项目还是好好的什么都没改动,下一分钟运行就报错了,特此记录下
Error:Could not find any matches for com.tencent.mm .opensdk:wechat-sdk-android-with-mta:+ as no versions of com.tencent.mm .opensdk:wechat-sdk-android-with-mta are available. Required by: project :userapp <a href="searchInBuildFiles">Search in build.gradle files</a>
这时候基本上是网络不好,在maven仓库下载以来失败导致的,解决办法很简单: