解决:ERROR: Plugin with id 'com.github.dcendents.android-maven' not found.

在导入项目时,出现这个错误
ERROR: Plugin with id ‘com.github.dcendents.android-maven’ not found.
看了几个博文,需要在如图这个地方加上代码
classpath ‘com.github.dcendents:android-maven-gradle-plugin:1.5’
classpath “com.jfrog.bintray.gradle:gradle-bintray-plugin:1.5”
在这里插入图片描述
但是啊,gradle版本的不同,android-maven-gradle-plugin的版本对应也有不同。
https://github.com/dcendents/android-maven-gradle-plugin

在这里插入图片描述

发布了27 篇原创文章 · 获赞 1 · 访问量 1234

猜你喜欢

转载自blog.csdn.net/qq_40484416/article/details/90214695
今日推荐