Could not resolve all files for configuration ‘:app:debugCompileClasspath

* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find nativecrashreport.jar (com.tencent.bugly:nativecrashreport:3.9.0).
  Searched in the following locations:
      https://jcenter.bintray.com/com/tencent/bugly/nativecrashreport/3.9.0/nativecrashreport-3.9.0.jar


解决方案:

第一种解决方案:

maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}  新增这个软件源是可以解决仓库找不到的错误

第二种解决方案:

我是bugly问题,用第二种解决了

把
implementation 'com.tencent.bugly:nativecrashreport:latest.release'
换成
implementation 'com.tencent.bugly:nativecrashreport:3.8.0'
编译即可

你可能感兴趣的:(Android开发遇到的问题)