刚开始接触gradle项目的时候遇到这个问题,网上搜索发现没有想要的答案,然后自己摸来摸去发现这个问题貌似就是idea没选好本地gradle文件导致的,想想没有答案也对,有哪个憨憨会和我一样啊(lll¬ω¬)!

A problem occurred configuring root project 'xxx'.
> Could not resolve all dependencies for configuration ':classpath'.> Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://ip/repository/maven-public/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.1.1/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details. * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

拉项目的时候只有7.1.1的文件,但是我本地应该是6.7.1版本的,我发现一直加载不到

检查根据上图配置,然后"重启idea",如果有和我一样的,希望有用

A problem occurred configuring root project ‘xxx‘.相关推荐

  1. Flutter run:What went wrong: A problem occurred configuring root project ‘android‘ 解决方案

    报错(Error) 首先你要确保你的 Flutter 环境是没有问题的,可以 flutter doctor 检查一下: 首先声明一下,我的 Flutter 开发环境是在 Window10 下 AS 工 ...

  2. Android studio中打包生成release版本时提示 A problem occurred evaluating root project ‘My‘出错问题的解决方法

    在Android studio中打包生成release版本时,下面的build output 提示 :   A problem occurred evaluating root project 'My ...

  3. 【错误记录】Android Studio 编译报错 ( VirtualApp 编译 NDK 报错 | Error:A problem occurred configuring project ‘: )

    文章目录 一.报错信息 二.解决方案 一.报错信息 编译 VirtualApp ( https://github.com/asLody/VirtualApp ) 时 , 弹出如下错误 ; Error: ...

  4. Error:A problem occurred configuring project ':app'. failed to find target with hash string 'andro

    在导入安卓项目时,报如题所示错误: Error:A problem occurred configuring project ':app'. > failed to find target wi ...

  5. idea跑android项目报A problem occurred configuring project ‘:app‘

    问题描述 本人idea2019.1.3升级到2019.3跑android项目时报A problem occurred configuring project ':app' 异常信息 A problem ...

  6. android studio问题: A problem occurred configuring project ‘:app‘. android ndk location灰色,位置无效,无法更换

    android studio问题: A problem occurred configuring project ':app'. android ndk location灰色,位置无效,无法更换 设备 ...

  7. 2021-09-03 Android Studio 无法运行main方法的java文件,提示A problem occurred configuring project

    一.用android studio 编译单个java文件的时候提示A problem occurred configuring project ':app' 1:52:36 PM: Executing ...

  8. Task xxx not found in root project xxx.

    Task xxx not found in root project xxx. 我遇到这个错误是因为有一个idea工程是包含多个module的,其中有一些module是使用gradle的,而有的工程是 ...

  9. Error:A problem occurred configuring project ‘:app‘. > Failed to find target with hash string ‘andro

    问题描述: SDK platform-tools version (25.0.3)  too old  android sdk版本问题 问题解决: 我是30.0.3所以安装的这个 还遇到一个问题是不能 ...

最新文章

  1. 纯CSS实现圆角矩形框
  2. Eclipse 运行Openfire源码(Windows)
  3. Android 第十八课 强大的滚动控件 RecyclerView
  4. wordl流程图怎么写字_DLG的制作流程图
  5. ADS1.2开发环境创建与简要介绍
  6. iOS 史上最详细的app测试或者上架AppStore流程
  7. html table导出到Excel中,走后台保存文件,js并调用另保存
  8. cad图框尺寸标准图_基于AutoCAD2020的动态图框制作与图纸比例问题
  9. 反驳生命的起点是rna_科学家提出了生命分子的手性起源新假说,源自宇宙射线...
  10. 已知两点坐标,求两点连成的直线中的某一点坐标
  11. 通向AGI(通用人工智能)的另类书单
  12. 移动 app 测试工具 bugtags
  13. 读取FBX文件踩坑清单
  14. Opencv python之车辆识别项目(附代码)
  15. java疯狂龙卷风游戏_疯狂龙卷风游戏
  16. Pygame Surface对象
  17. Jmeter性能测试简单示例
  18. MATLAB学习笔记2:MATLAB基础知识(下)
  19. 模型量化论文阅读#3----Up or Down? Adaptive Rounding for Post-Training Quantization
  20. 关闭Win10自动磁盘碎片整理

热门文章

  1. ftp的20 21端口和主动被动模式
  2. OpenFOAM学习笔记 案例1之Cavity(1)
  3. 传统大华海康宇视安防摄像头RTSP流如何转webrtc直播低延时无插件浏览器视频播放
  4. 几种能让Mac“飞”起来的系统空间清理方法
  5. 数字全角转半角VBA
  6. vscode启动Python调试 找不到指定模块
  7. 汽车芯片:缺货将诱发产业变革
  8. python当前运行目录_Python获取运行目录与当前脚本目录的方法
  9. 销售订单(Sales Order)流程
  10. 毕业5年决定人的一生(大家有空一定要看看)