从github上clone了一个项目,却出现了Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.的提示

clone项目报:Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.

clean一下项目,终于可以看到详细信息了。

clone项目报:Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.

接下来就继续搜错,could not create plugin of type 'androidmavenplugin'.的因为,说是meaven的原因,修改起来也特别简单,Project下的build.gradel,修改版本就好了。

clone项目报:Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.

将1.3的版本修改为1.4.1即可,如果还是不可以 ,就换一个别的版本号试一下,然后点击 Try Again,就搞定了。

clone项目报:Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.

dependencies{

classpath'com.android.tools.build:gradle:2.2.2'

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

classpath'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.3.1'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

}

相关文章:

  • 2022-12-23
  • 2022-01-20
  • 2021-05-05
  • 2021-05-24
  • 2021-08-16
  • 2021-06-10
  • 2021-07-09
  • 2021-10-13
猜你喜欢
  • 2021-10-18
  • 2022-12-23
  • 2021-07-16
  • 2022-12-23
  • 2021-09-07
  • 2021-06-18
相关资源
相似解决方案