No such property: sonatypeUserName for class: org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer

后端 未结 6 1200
遇见更好的自我
遇见更好的自我 2020-12-14 10:10

I\'m trying to use this blibioteca android-maps-extensions because I need to fix more than 1000 markers on my map .

Added the project dependencies in my project :

6条回答
  •  借酒劲吻你
    2020-12-14 10:39

    Also, if other suggestions didn't fix the problem, you can try to re-write your lib's build.gradle as usual build.gradle file. More likely its not a good idea, but it worked for me properly:

    apply plugin: 'android'
    
    version = "1.0.1"
    group = "com.edmodo"
    
    android {
    
        compileSdkVersion 21
        buildToolsVersion "21.1.2"
    
        defaultConfig {
            minSdkVersion 7
            targetSdkVersion 21
        }
    
        sourceSets {
            main {
                manifest.srcFile 'AndroidManifest.xml'
                java.srcDirs = ['src']
                res.srcDirs = ['res']
            }
        }
    }
    

提交回复
热议问题