【问题标题】:Execution failed for task ':app:compileReleaseKotlin'任务“:app:compileReleaseKotlin”执行失败
【发布时间】:2022-01-03 11:41:48
【问题描述】:

e: {path}/Application.kt: (11, 51): 未解析的引用:setPluginRegistrant e: {path}/Documents/User app and web/android/app/src/main/kotlin/com/{path}/FirebaseCloudMessagingPluginRegistrant.kt: (15, 44): Unresolved reference: registerWith

FAILURE:构建失败并出现异常。

  • 出了什么问题: 任务 ':app:compileReleaseKotlin' 执行失败。

编译错误。查看日志了解更多详情

  • 尝试: 使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。运行 --scan 以获得完整的见解。

  • 通过https://help.gradle.org获得更多帮助

【问题讨论】:

    标签: android flutter dart debugging


    【解决方案1】:
    1. 点击 Gradle(右侧栏)->
    2. 然后在:app下
    3. 然后选择 assembleDebug(如果您使用风味,则选择 assembleYourFlavor)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-03-07
      • 2023-03-15
      • 1970-01-01
      • 1970-01-01
      • 2018-08-20
      • 2016-05-02
      • 2022-01-19
      • 2021-11-14
      相关资源
      最近更新 更多