我正在尝试使用这个 blbioteca android-maps-extensions因为我需要在我的地图上修复 1000 多个标记。
在我的项目中添加了项目依赖项:
compile project (':android-maps-extensions')
但是当我更新 build.gradle 得到以下错误:
没有这样的属性:对于 sonatypeUserName 类:org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
用户名和密码似乎不正确或什么的,这段代码是我正在 build.gradle 项目的一部分,无论库如何:
...
pom.project {
name 'Android Maps Extensions'
description 'Library extending capabilities of Google Maps Android API v2'
inceptionYear '2013'
url 'http://AndroidMapsExtensions.com'
packaging 'aar'
developers {
developer {
name 'Maciej Górski'
id 'mg6maciej'
email 'maciek.gorski@gmail.com'
url 'http://mg6.pl'
}
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
scm {
url 'https://github.com/mg6maciej/android-maps-extensions'
connection 'scm:git:https://github.com/mg6maciej/android-maps-extensions.git'
developerConnection 'scm:git:https://github.com/mg6maciej/android-maps-extensions.git'
}
}
...
有什么建议么 ?