Could not get unknown property 'assembleRelease' for project ':app' of type org.gradle.api.Project.

解决方法:

assembleRelease.finalizedBy(check) 
改为:
tasks.whenTaskAdded { task ->
if (task.name == 'assembleRelease') {
task.finalizedBy 'check'
}
}

相关文章:

  • 2021-07-09
  • 2021-05-16
  • 2021-08-03
  • 2021-09-04
  • 2021-07-12
  • 2021-07-22
  • 2021-10-09
  • 2021-12-02
猜你喜欢
  • 2021-12-29
  • 2021-04-02
  • 2021-05-13
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
相关资源
相似解决方案