compile报下面的错误
Error:(2, 0) No service of type Factory<LoggingManagerInternal> available in PRojectScopeServices.11点击open file 会跳转到apply plugin: 'com.github.dcendents.Android-maven'这行。 解决方案更新maven-plugin的依赖 classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
到jcenter查看最新版本android-maven-gradle
在项目的build.gradle文件中将
dependencies { classpath 'com.android.tools.build:gradle:2.1.0' classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4' classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'//改成1.5 classpath 'com.jakewharton:butterknife-gradle-plugin:8.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files classpath 'com.antfortune.freeline:gradle:0.8.4'}
新闻热点
疑难解答