我正在尝试编译该应用程序,但出现了这些错误,我该怎么办?
Error:Failed to resolve: com.android.support:cardview-v7:23.4.0 Error:Failed to resolve: com.android.support:support-v4:23.4.0 Error:Failed to resolve: com.android.support:customtabs:23.4.0
源码是
apply plugin: 'com.android.application'
android
{
signingConfigs {}
compileSdkVersion 21
buildToolsVersion '21.1.2'
defaultConfig
{
applicationId "com.boonex.oo"
minSdkVersion 15
targetSdkVersion 21
}
buildTypes
{
release
{
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
repositories
{
jcenter()
}
dependencies
{
compile 'com.facebook.android:facebook-android-sdk:4.+'
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.android.support:support-v4:23.1.1'
}
最佳答案
尝试更早的更具体版本的 Facebook SDK。
compile 'com.facebook.android:facebook-android-sdk:4.0.0'
关于java - 错误 : Failed to resolve: com. android.support :cardview-v7:23. 4.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37879596/