首页 > 其他分享 >No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.

No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.

时间:2023-05-01 11:31:50浏览次数:40  
标签:available service No type plugin gradle build android com


最近从GitHub上down下来一个项目,却在导入到AS的时候一直报Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.这个错误

No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices._android

clean一下项目之后,报出了详细错误信息

No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices._ci_02

接下来仔细看异常信息,Could not create plugin of type 'AndroidMavenPlugin'.这个意思是说meaven原因,修改也比较简单,找到项目底下的build.gradel文件,修改它的版本就可以了

dependencies {
     

    
'com.android.tools.build:gradle:2.2.0'


    
"org.jfrog.buildinfo:build-info-extractor-gradle:3.1.1"


    
'com.github.dcendents:android-maven-gradle-plugin:1.3'


    
'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'


    
 
     


    
// NOTE:


    
// in the individual module build.gradle files


    

       }

我目前的版本是1.3,将它改成1.4.1就可以了,如果还是不行那就在改下版本试一试


dependencies {
     


    
'com.android.tools.build:gradle:2.2.0'


    
"org.jfrog.buildinfo:build-info-extractor-gradle:3.1.1"


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


    
'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'


    
 
     


    
// NOTE:


    
// in the individual module build.gradle files


    

       }


最近从GitHub上down下来一个项目,却在导入到AS的时候一直报Error:No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices.这个错误

No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices._android

clean一下项目之后,报出了详细错误信息

No service of type Factory<LoggingManagerInternal> available in ProjectScopeServices._ci_02

接下来仔细看异常信息,Could not create plugin of type 'AndroidMavenPlugin'.这个意思是说meaven原因,修改也比较简单,找到项目底下的build.gradel文件,修改它的版本就可以了


dependencies {
     


    
'com.android.tools.build:gradle:2.2.0'


    
"org.jfrog.buildinfo:build-info-extractor-gradle:3.1.1"


    
'com.github.dcendents:android-maven-gradle-plugin:1.3'


    
'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'


    
 
     


    
// NOTE:


    
// in the individual module build.gradle files


    

       }

我目前的版本是1.3,将它改成1.4.1就可以了,如果还是不行那就在改下版本试一试

dependencies {
     

    
'com.android.tools.build:gradle:2.2.0'


    
"org.jfrog.buildinfo:build-info-extractor-gradle:3.1.1"


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


    
'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'


    
 
     


    
// NOTE:


    
// in the individual module build.gradle files


    

       }

标签:available,service,No,type,plugin,gradle,build,android,com
From: https://blog.51cto.com/u_14523369/6238640

相关文章

  • 【字节二面算法】NO662 二叉树最大宽度
    [字节二面算法]662.二叉树最大宽度给你一棵二叉树的根节点root,返回树的最大宽度。树的最大宽度是所有层中最大的宽度。每一层的宽度被定义为该层最左和最右的非空节点(即,两个端点)之间的长度。将这个二叉树视作与满二叉树结构相同,两端点间会出现一些延伸到这一层的n......
  • Mac终端出现 brew command not found 解决
    MacOS上您需要安装unrar以支持PaddlePaddle,可以使用命令brewinstallunrar执行命令后发现brew不存在jimmy@MacBook-Pro~%brewinstallunrarzsh:commandnotfound:brewjimmy@MacBook-Pro~%解决方案输入命令:jimmy@MacBook-Pro~%/bin/zsh-c"$(curl-fsS......
  • 再解 [NOI2017] 整数
    提供一个来自CF大佬adament的有趣思路。首先我们知道的是一个只增加的\(b\)进制整数计数器,如果\(b\)是常数那么复杂度是均摊\(O(1)\)的。证明只需要考虑将\(b\)进制中为\(b-1\)的所有位的位数当成势能,那么每一次进位一定是\(b-1\to0\)一定会消耗势能函数。但这......
  • NOI / 1.8编程基础之多维数组
    11:图像旋转1.描述输入一个n行m列的黑白图像,将它顺时针旋转90度后输出。2.输入第一行包含两个整数n和m,表示图像包含像素点的行数和列数。1<=n<=100,1<=m<=100。接下来n行,每行m个整数,表示图像的每个像素点灰度。相邻两个整数之间用单个空格隔开,每个元素均在0~255之间3.......
  • VNC server: no dispalys configured [FAILED])
    检查配置文件(取消如下两行注释),图中的两行根据实际情况修改,再启动服务查看注意:检查防火墙和selinux不然有可能会连接不上。......
  • android异常:Can not p…
    本人某个android项目开发阶段一直运行良好,直到上线前夕,在某款跑着android4.03系统的手机运行却报出一下异常,导致forceclose:java.lang.IllegalStateException:CannotperformthisactionafteronSaveInstance!首先得了解一下我那项目的一些基本情况,UI结构是TabActivity包含着5......
  • Credit note or Credit memo
    Acreditnoteorcreditmemoisacommercialdocumentissuedbyasellertoabuyer.Creditnotesactasasourcedocumentforthesalesreturnjournal.Inotherwords,thecreditnoteisevidenceofthereductioninsales.Acreditmemo,acontractionof......
  • mac太空射击游戏:Nova Drift (新星漂移)中文版
    NovaDrift是一款激动人心的太空射击游戏。NovaDriftMac整合了现代独立游戏风格和游戏历史上最深的根源。它不仅具有时尚和性感的外观,而且具有平稳的控制功能。玩家控制着一艘不断开发的生物机械船,面对敌人的大量奇怪而致命的疲劳,将垂死的星星驱逐出空隙。NovaDriftMac游戏介......
  • vue3 vueRouter4 :No match found for location with path ***
    0.采用vue+router4做路由导航.首次载入控制台很干净.F5刷新后,控制台爆出警告,但点击路由正常工作.1.经过排查发现,是menu中使用了<router-link>这玩意,后来改造成  @click="router.push(ele.path)"即可消除警告 2.网络上各种方式我均尝试过,都是无效方案,比如:......
  • 2 第2章 Python语言基础、IPython及Jupyter notebook
    IPython基础运行IPython:在终端输入ipython运行Jupyternotebook:在终端输入jupyternotebookShift+Enter来执行命令当在命令行输人表达式时,按下Tab键即可为任意变量(对象、函数等)搜索命名空间;当输入任意路径(甚至是Python字符串)时,按下Tab键将补全你的计算机文件系统文件名;......