我最近将 Firebase Appdistribution Gradle 插件的版本1.4.0
从2.0.1
.
从那时起,詹金斯开始给出下面的构建时间错误:
Execution failed for task app:appDistributionUpload[Variant]. Could not find the APK. Make sure you build first by running ./gradlew assemble[Variant], or set the api Path parameter to point to your APK
这是我在 Jenkins 上的 Gradle 脚本:
... ./gradlew cleanBuildCache :app:testDebugUnitTest :app:appDistributionUpload[Variant] ...