我的項目工作正常,但是當我重新安裝android studio時,我在導入butterknife和sdp庫時出錯。這是我的gradle這個文件:錯誤:(23,13)無法解決:com.intuit.sdp:sdp-android:1.0.2
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.works.vipul.brainturner"
minSdkVersion 13
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.intuit.sdp:sdp-android:1.0.2'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.google.android.gms:play-services-ads:8.1.0'
}
,這是我得到的錯誤:
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not resolve com.intuit.sdp:sdp-android:1.0.2.
Required by:
BrainTurner:app:unspecified
> Could not resolve com.intuit.sdp:sdp-android:1.0.2.
> Could not get resource 'https://jcenter.bintray.com/com/intuit/sdp/sdp-android/1.0.2/sdp-android-1.0.2.pom'.
> Could not GET 'https://jcenter.bintray.com/com/intuit/sdp/sdp-android/1.0.2/sdp-android-1.0.2.pom'.
> peer not authenticated
> Could not resolve com.jakewharton:butterknife:7.0.1.
Required by:
BrainTurner:app:unspecified
> Could not resolve com.jakewharton:butterknife:7.0.1.
> Could not get resource 'https://jcenter.bintray.com/com/jakewharton/butterknife/7.0.1/butterknife-7.0.1.pom'.
> Could not GET 'https://jcenter.bintray.com/com/jakewharton/butterknife/7.0.1/butterknife-7.0.1.pom'.
> peer not authenticated
的可能的複製([進口的同時在Eclipse搖籃項目同行未通過身份驗證] http://stackoverflow.com/questions/22887829/peer-not-authenticated -while-imports-gradle-project-in-eclipse) –
如何解決這個問題請親切建議 –
我無法在android studio中導入任何第三方庫。我得到錯誤anroid(23,13) –