Ski*_*iba 4 android gradle firebase crashlytics
我正在开发多风格 Android 应用程序将 Android Gradle 插件更新到版本7.0.2(从“4.1.1”开始)以访问新的变体 API 后,我在应用程序构建过程中收到以下错误:
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':app:injectCrashlyticsMappingFileIdRandstadAccDebug' (type 'InjectMappingFileIdTask').
- Type 'com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectMappingFileIdTask' property 'mappingFileId' of mutable type 'org.gradle.api.provider.Property' is writable.
Reason: Properties of type 'org.gradle.api.provider.Property' are already mutable.
Possible solution: Remove the 'setMappingFileId' method.
Please refer to https://docs.gradle.org/7.0.2/userguide/validation_problems.html#mutable_type_with_setter for more details about this problem.
- Type 'com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectMappingFileIdTask' property 'resourceFile' of mutable type 'org.gradle.api.file.RegularFileProperty' is writable.
Reason: Properties of type 'org.gradle.api.file.RegularFileProperty' are already mutable.
Possible solution: Remove the 'setResourceFile' method.
Please refer to https://docs.gradle.org/7.0.2/userguide/validation_problems.html#mutable_type_with_setter for more details about this problem.
* Try:
Run with --stacktrace option to get the stack trace. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Run Code Online (Sandbox Code Playgroud)
我正在使用最新版本的 firebase BOM 28.4.1。
有没有解决这个问题的方法?
| 归档时间: |
|
| 查看次数: |
5929 次 |
| 最近记录: |