我已经面临这个错误:
"未能成功 解决:com.github.ygorbarboza:AKParallax-机器人:fce9eac521"
"显示错误:未找到Gradle DSL方法:' maven()' "
这是我的build.gradle
文件。
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.example.abhishek.experiment"
minSdkVersion 11
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile fileTree(include: ['*.aar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:design:23.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.github.ygorbarboza:AKParallax-Android:fce9eac521'
}
我甚至添加了存储库
repositories {
maven {
url "https://jitpack.io"
}
}