【发布时间】:2016-02-16 08:45:38
【问题描述】:
我是使用 android studio 的新手 android 应用程序开发人员,我正在尝试使用来自 https://github.com/emilsjolander/StickyListHeaders 的粘性列表标题。我通过 File -> New -> Import Module 执行此操作,然后添加依赖项。但是我收到错误
Error:No such property: GROUP for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer
我的项目 build.gradle 是:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "testingapp.dylanzammit.com.anothernewproj"
minSdkVersion 21
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'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'se.emilsjolander:stickylistheaders:2.7.0'
}
【问题讨论】: