哪位哥了解过这种问题 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的版本号
//行不通
第二种 :导入本地仓库 也行不通
我想要达到的结果
想大概了解一下 这个问题在我这边能解决吗 或者是阿里云镜像仓库那边出问题了
答
直接引用不行么,我其他的maven仓库都没添加,还是官方的一样正常,
implementation 'com.tencent.bugly:crashreport_upgrade:latest.release'