Android 导入工程报错:Plugin with id 'com.github.dcendents.android-maven' not found.

版权声明:注明转载出处 https://blog.csdn.net/qq_38629981/article/details/84649671

Android studio 3.2 导入工程源码时报错:Plugin with id 'com.github.dcendents.android-maven' not found.

解决:

1、找到工程根目录 build.gradle文件

2、打开添加:

classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'

如下图:

3、Clean Project 结束。

猜你喜欢

转载自blog.csdn.net/qq_38629981/article/details/84649671