Open File">Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found. Open File

 

不上图说个***

Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found. <a href="openFile:I:\API\PermissionGen-master\permissiongen\build.gradle">Open File</a>

报这个错的原因是因为 你在project中的build.gradle 少写了两句话 所以报这个错

你只需要在build.gradle中添加

Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found. <a href="openFile:I:\API\PermissionGen-master\permissiongen\build.gradle">Open File</a>

classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0"

刚开始我添加的时候 是
classpath 'com.github.dcendents:android-maven-gradle-plugin:0.0.6'
尼玛 这完全就是个坑啊 百度上也是这么说的 添加完全不好使 只需要把这个版本提高一下就好了 ,真坑
弄好之后 重新编译一下project就好了 完美解决
----------------------------------------------------------------------------------------------------------------------
如果帮到你了 记得关注我哦!
转载请注明出处!!

相关文章:

  • 2021-04-11
  • 2021-11-01
  • 2021-10-03
  • 2022-12-23
  • 2021-11-01
  • 2021-12-24
猜你喜欢
  • 2021-03-31
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2021-11-07
相关资源
相似解决方案