今天,一位好友,问我知道AndroidViewHover么图文详情,这个我还真没接触过,就去github上面找了,看着还不错,就下载研究一下,我想自己对于导入已经很熟悉了,哈哈(只要版本有,就行哈)无奈我还得下载android-20,好吧,导入的时候竟然出现了以下Error:
No such property: GROUP for class: org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer
这个问题,不象是没有这个方法,找不到这个方法,好了吧,那就找点资料解决吧,我看了一下他的build.gradle;
apply plugin: 'com.android.application'
android {
compileSdkVersion 20
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.daimajia.androidviewmenu.demo"
minSdkVersion 8
targetSdkVersion 20
renderscriptTargetApi 19
renderscriptSupportModeEnabled true
versionCode 2
versionName "1.0.1"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':library')
compile 'com.android.support:appcompat-v7:20.+'
compile 'com.makeramen:roundedimageview:1.3.0'
}
apply from: 'gradle-mvn-push.gradle'
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
原因就是最后一句,删除了,在一次编译,完美解决。上下运行的图片吧,有空好好研究一下: