dragon_and_tree 2021-12-10 17:52 采纳率: 0%
浏览 71

哪位哥了解过这种问题 Could not find crashreport-4 0 0 jar (com tencent bugly:crashreport:4 0 0)

问题遇到的现象和发生背景

导入一个新项目 出现了这个问题

问题相关代码,请勿粘贴截图

Execution failed for task ':basecomponent:kaptGenerateStubsDebugKotlin'

Could not resolve all files for configuration ':basecomponent:debugCompileClasspath'
Could not find crashreport-4 0 0.jar (com tencent bugly:crashreport:4.0 0)
Searched in the following locations:
http://maven.aliyun.com/nexus/content/repositories/jcenter/com/tencent/bugly/crashreport/4.0 0/crashreport-4.0 0.jar

Possible solution:

  • Declare repository providing the artifact, see the documentation at https://docs gradle org/current/userguide/declaring_repositories.html
    我的解答思路和尝试过的方法
    也在网上了解过一些了类似的解决方法 第一种:明确bugly的版本号

img


//行不通
第二种 :导入本地仓库 也行不通

我想要达到的结果

想大概了解一下 这个问题在我这边能解决吗 或者是阿里云镜像仓库那边出问题了

  • 写回答

1条回答 默认 最新

  • hua-sky 2021-12-13 13:51
    关注

    直接引用不行么,我其他的maven仓库都没添加,还是官方的一样正常,
    implementation 'com.tencent.bugly:crashreport_upgrade:latest.release'

    评论

报告相同问题?

问题事件

  • 创建了问题 12月10日