【发布时间】:2018-07-21 09:47:04
【问题描述】:
我想在我的 Android 应用中制作一个扩展面板,但我尝试了很多库,但它们都无法在我的 Android Studio 中同步。
这是我的build.gradle:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.1.1'
compile 'com.github.florent37:expansionpanel:1.1.1'
}
apply plugin: 'com.google.gms.google-services'
这就是同步后发生的情况:
错误:无法解决:com.android.support:appcompat-v7:26.1.0 安装存储库并同步项目
打开文件
在项目结构对话框中显示
【问题讨论】: