A problem occurred configuring root project ‘android‘.> Could not resolve all artifacts for configu

这篇具有很好参考价值的文章主要介绍了A problem occurred configuring root project ‘android‘.> Could not resolve all artifacts for configu。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1.异常描述android studio 构建报错提示无法加载dependencies中的插件

A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve commons-io:commons-io:2.6.
     Required by:
         project :
      > Could not resolve commons-io:commons-io:2.6.

a problem occurred configuring root project 'android'. > could not resolve a,android文章来源地址https://www.toymoban.com/news/detail-773552.html

 问题解决:buildscript中的repositories仓库中添加以以下仓库地址

repositories {
        google()
        jcenter()
        mavenCentral()
        maven { url "https://jitpack.io" }
    }

a problem occurred configuring root project 'android'. > could not resolve a,android

到了这里,关于A problem occurred configuring root project ‘android‘.> Could not resolve all artifacts for configu的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Android问题笔记二十五:在构建提示“Could not resolve all files for configuration ‘:app:debugRuntimeClasspath”

    专栏分享 点击跳转=Unity3D特效百例 点击跳转=案例项目实战源码 点击跳转=游戏脚本-辅助自动化 点击跳转=Android控件全解手册 点击跳转=Scratch编程案例 点击跳转=软考全系列 众所周知,人生是一个漫长的流程,不断 克服困难 ,不断反思前进的过程。在这个过程中会产生很多对

    2024年02月03日
    浏览(38)
  • 记录AS运行Flutter项目,运行报错: Could not get unknown property ‘android‘ for project ‘:app‘ of type org.gradle

    1.问题: 由于要学习Flutter,搭建好Flutter各种环境配置后,android studio创建一个Flutter项目,编译运行后报错:Could not get unknown property \\\'android\\\' for project \\\':app\\\' of type org.gradle。刚开始以为是Flutter SDK 没有配置好,但是运行flutter doctor命令是OK的。网上查了很久才怀疑是项目中gradle版

    2024年02月03日
    浏览(55)
  • Could not resolve dependencies for project

    maven 打包Could not resolve dependencies for project和无效的目标发行版: 1.8 1.maven 打包Could not resolve dependencies for project 最近项目上使用的是idea ide的多模块话,需要模块之间的依赖,比如说系统管理模块依赖授权模块进行认证和授权,而认证授权模块需要依赖系统管理模块进行,然后

    2024年02月08日
    浏览(49)
  • Maven编译报错:Could not resolve dependencies for project

    编译项目时 出现报错: Failed to execute goal on project xxx-mybatis: Could not resolve dependencies for project com.xxx:xxx-mybatis:jar:0.0.1-SNAPSHOT: Could not transfer artifact org.mybatis:mybatis:jar:3.4.5 from/to central ( https://repo.maven.apache.org/maven2): GET request of: org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar from central failed: Pr

    2024年02月03日
    浏览(39)
  • Could not resolve all files for configuration ‘:app:androidApis‘

     我在第一次使用AndroidStudio时,编译项目遇到了此问题 Could not resolve all files for configuration \\\':app:androidApis\\\'. Failed to transform file \\\'android.jar\\\' to match attributes {artifactType=android-mockable-jar, returnDefaultValues=false} using transform MockableJarTransform Cannot create mockable android.jar inval

    2024年02月04日
    浏览(39)
  • Could not resolve all files for configuration ‘:app:androidJdkImage‘.

    在使用 ./gradlew build 编译项目时候遇到了该问题,整体错误如下: 可以看出使用的sdk版本为34,java版本为21. 解决办法为,修改java版本为17。本地重新下载Java17的jdk,这样本地就会有21、17两个版本,然后在项目中指定依赖的java版本17并配置路径(也可以配置环境变量) gradle.prope

    2024年02月01日
    浏览(41)
  • fatal: could not read Username for ‘https://git.xxx.com‘: Device not configured

    使用sourcetree完成当前项目时报错 1、创建的feature分支,完成当前项目时 2、创建的hotfix分支,完成当前项目时 1.在使用 webhook 自动部署时测试出现此问题 2.这里是因为你的git仓库是有用户名和密码,但是你没有配置git仓库的用户名和密码,而导致的问题 1、在你的私有库文件

    2024年02月12日
    浏览(54)
  • Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred……

    本人使用 idea 创建 web 工程后,运行 tomcat 服务器时出现报错: 并且 tomcat 出现错误信息: 本人尝试更换 JDK 版本,但并没有什么变化。最后发现是忘了修改 Project Structure... 中的 SDK 。 由于需要修改配置的地方较多,很容易漏掉一小步,下面整理了比较全面的需要修改的地方

    2024年02月07日
    浏览(52)
  • A fatal error occurred. The required library hostfxr.dll could not be found.错误处理

    一个可控制台程序使用.NET 6开发,发行版运行出现如下错误: A fatal error occurred. The required library hostfxr.dll could not be found. If this is a self-contained application, that library should exist in [D:xxxServer]. If this is a framework-dependent application, install the runtime in the global location [C:Program Files (x86)d

    2024年02月12日
    浏览(40)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包