我无法添加依赖项。它一直在向我抛出错误:
Failed to resolve com.affectiva.android:affdexsdk:3.2
。
我添加了maven存储库,但它仍然给我错误。
Project Gradle:
allprojects {
repositories {
jcenter()
maven { url "https://maven.google.com" }
maven { url "http://maven.affectiva.com" }
maven { url 'https://jitpack.io' }
}
}
App Gradle:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.affectiva.android:affdexsdk:3.2'
testCompile 'junit:junit:4.12'
}
我收到以下错误
Error:(28, 13) Failed to resolve: com.affectiva.android:affdexsdk:3.2