Bil*_*lda 12 android gradle android-gradle-plugin firebase-app-distribution
我正在使用 Android Gradle 插件版本7.0.0-alpha14和 Gradle 版本7.0,当我尝试通过 Gradle 插件版本将应用程序上传到应用程序分发时,2.1.0它在任务失败app:appDistributionUploadDebug并出现错误
> Task :app:appDistributionUploadDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':app:appDistributionUploadDebug' (type 'UploadDistributionTask').
- Type 'UploadDistributionTask' property 'COMMAND_LINE_PREFIX' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
- Type 'UploadDistributionTask' property 'appDistributionProperties' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
Run Code Online (Sandbox Code Playgroud)
我想该插件与 Gradle 7 不兼容,但它是一个已知问题吗?是否有一些解决方法?谢谢
新版本的插件2.1.1已发布,修复了此问题。
classpath 'com.google.firebase:firebase-appdistribution-gradle:2.1.1'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2273 次 |
| 最近记录: |