当前位置:网站首页>出现Could not find com.scwang.smart:refresh-layout-kernel:2.0.3.Required by: project :app 无法加载第三方包情况
出现Could not find com.scwang.smart:refresh-layout-kernel:2.0.3.Required by: project :app 无法加载第三方包情况
2022-06-13 04:06:00 【yu-Knight】
在android studio版本中
出现导入第三方依赖是出现一下问题
Could not find com.scwang.smart:refresh-layout-kernel:2.0.3.
Required by:
project :app
Search in build.gradle files
解决方式:
settings.gradle 文件中加入:
google()
jcenter()
maven { url 'https://repo1.maven.org/maven2/' }
即可解决;
完整代码是:
pluginManagement {
repositories {
gradlePluginPortal()
google()
jcenter()
maven { url 'https://repo1.maven.org/maven2/' }
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
jcenter()
maven { url 'https://repo1.maven.org/maven2/' }
maven { url 'https://jitpack.io' }
}
}
rootProject.name = "Paging3Demo"
include ':app'
边栏推荐
- [Yugong series] June 2022 Net architecture class 081 API customization task of distributed middleware schedulemaster
- 建模杂谈系列143 数据处理、分析与决策系统开发的梳理
- Modeling discussion series 143 data processing, analysis and decision system development
- Principle and control program of single chip microcomputer serial port communication
- Lambda termination operation find and match nonematch
- Solution to failure to download files by wechat scanning QR code
- Principle, composition and functions of sensors of Dajiang UAV flight control system
- Single chip microcomputer: a/d differential input signal
- Promise combined with await
- leetcode.1 --- 两数之和
猜你喜欢
USB-IF BC1.2充电协议解读
dumi 搭建文檔型博客
Single chip microcomputer: pcf8591 application program
不卷了!团队又一位成员离职了。。
Alipay native components (hotel time selection)
Unity Shader 学习 004-Shader 调试 平台差异性 第三方调试工具
史上最详细的Swin-Transformer 掩码机制(mask of window attentation)————shaoshuai
四旋翼飞行器避障系统基础
单片机:I2C通信协议讲解
Fundamentals of robot obstacle avoidance system
随机推荐
手机私有充电协议解读
四旋翼飞行器避障系统基础
5G China unicom 直放站 网管协议 实时性要求
单片机:PCF8591硬件接口
Single chip microcomputer: basic concepts of a/d and d/a
缓存读写--写
[zeloengine] localization process /imgui Chinese culture
[Yugong series] June 2022 Net architecture class 080 master cluster and database switching of distributed middleware schedulemaster
【ZeloEngine】本地化流程/ImGui中文化
No more! Another member of the team left..
Use ASE encryption and decryption cache encapsulation in Vue project
SCM: introduction and operation of EEPROM
Lambda end operation find and match allmatch
OKR和KPI的区别
Lambda end operation reduce merge
10 minutes to thoroughly understand how to configure sub domain names to deploy multiple projects
Interpretation of usb-if bc1.2 charging protocol
环评图件制作-数据处理+图件制作
机器人避障系统基础
Lambda termination operation Max & min