我正在尝试在 android studio 中导入现有项目,但遇到以下错误
Could not find com.github.SilenceDut:ExpandableLayout:1.2.0.
有人可以帮忙吗?
最佳答案
仅供引用,SilenceDut:ExpandableLayout
已弃用。
您应该在项目级别 build.gradle
部分添加以下内容。
allprojects {
repositories {
maven { url "https://jitpack.io" } // Need this
}
}
注意 - compile
是旧的。使用实现
。
implementation 'com.github.SilenceDut:ExpandableLayout:1.2.0'
关于java - 错误: Failed to resolve ExpandableLayout,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61669447/