Android(安卓)studio中关于 No cached version of **** available for of处理办法
16lz
2022-05-24
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_iranDebugCompile'.
> Could not resolve com.facebook.network.connectionclass:connectionclass:1.0.1.
Required by:
doctor:app:unspecified
> No cached version of com.facebook.network.connectionclass:connectionclass:1.0.1 available for offline mode.
> Could not resolve all dependencies for configuration ':app:_iranDebugCompile'.
> Could not resolve com.facebook.network.connectionclass:connectionclass:1.0.1.
Required by:
doctor:app:unspecified
> No cached version of com.facebook.network.connectionclass:connectionclass:1.0.1 available for offline mode.
在添加Facebook 中一个关于网络的库的时候,一直添加不上去,最后是发现,原来我的gradle设置的有问题
设置-》Gradle -> 看看右侧的
offline work 是否打钩了,如果打钩了,取消掉,然后重新gradle一下,应该就正常了
更多相关文章
- Android开发EditText属性
- ViewPager
- NestedScrollView中添加一个android:fillViewport="true"
- android 用代码编写linearlayout布局
- android调用邮件应用发送email
- android 的popwindow弹窗
- Android:ImageView 设置图片
- Android(安卓)添加桌面快捷方式操作
- android之service