Failed to Sync Gradle, could not find com.android.support:support-annotations:23.3.0

关于Could not find com.android.support-annotations23.3.0Bug解决


这几天从头开始学习Android,使用到了ButterKnife,添加Compile之后编译失败

Error:Could not find com.android.support:support-annotations:23.3.0.
Required by:
    Butter:app:unspecified
    Butter:app:unspecified > com.jakewharton:butterknife:8.0.1
    Butter:app:unspecified > com.jakewharton:butterknife-compiler:8.0.1 > com.jakewharton:butterknife-annotations:8.0.1

报了一段这样的错误,最后在StackOverFlow上面找到了答案

这里写图片描述

解决方法就是将AndroidSupportRepository更新,所以各位童鞋把Repository更新就可以解决问题啦。

有的刚用AndroidStudio的童鞋可能会有疑问,在这里没有看到update这个选项啊,更新操作只要把你要更新的资源选择,然后apply就可以更新了。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值