且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到如何修复ID为'com.github.dcendents.android-maven'的插件.在android studio中

更新时间:2023-11-16 13:40:52

在顶层build.gradle依赖项中,粘贴此类路径. 我不知道为什么我不能在网站上看到这种方法. 无论如何,我都是用这种方式修复的.

In top level build.gradle dependencies, paste this classpaths. I wonder why cant i've seen this method in websites. Anyway, I fixed it using this way.

dependencies {
    //YOUR DEPEDENCIES
    classpath 'com.github.dcendents:android-maven-plugin:1.2'
    classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}