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上面找到了答案

Failed to Sync Gradle, could not find com.android.support:support-annotations:23.3.0_第1张图片

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

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

你可能感兴趣的:(android)