在Terminal中输入gradlew compileDebugSources可查看错误信息

出现以上错误是因为compile已经过时可以换成implementation

Android 报错Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

compile ->implementation
androidTestCompile ->androidTestImplementation
testCompile -> testImplementation

相关文章:

  • 2021-04-15
  • 2021-10-01
  • 2021-08-29
  • 2022-03-08
  • 2021-05-24
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2021-06-24
  • 2021-08-16
  • 2021-04-22
  • 2021-09-23
  • 2021-10-31
  • 2021-11-05
相关资源
相似解决方案