gpt4 book ai didi

firebase - 任务 ':firebase_auth:compileDebugJavaWithJavac' 执行失败

转载 作者:IT王子 更新时间:2023-10-29 06:58:36 28 4
gpt4 key购买 nike

将 firebase_auth 从早期版本升级到 ^0.8.0+1 后,我会生成错误。这里有错误

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':firebase_auth:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Finished with error: Gradle task assembleDebug failed with exit code 1

最佳答案

根据变更日志,您必须在 Android 项目中执行到 AndroidX 的迁移。

changes required are here的详细信息.

查看变更日志:

0.8.0 Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.

关于firebase - 任务 ':firebase_auth:compileDebugJavaWithJavac' 执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54522633/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com