Skip to content

运行或打包时出现build failed #6

@ZTnezftt

Description

@ZTnezftt

你好,
请问下,我在编译或者打包的过程中,有几率会出现编译失败的情况,但这个情况不是每次都出现,而且只要多运行几次就能编译过去了,现在用的是最新的版本

Task :app:transformClassesWithDebounceForRelease
Wrote file status to file:///Users/zhangtao/project/YBJK_Android/app/build/outputs/debounce/logs/release/files.txt
====> COST: 18147 msavaResource

Task :app:outputMappingForRelease FAILED
Wrote TXT report to file:///Users/zhangtao/project/YBJK_Android/app/build/outputs/debounce/logs/release/classes.txt

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:outputMappingForRelease'.

Cannot invoke method hasDebouncedMethod() on null object

  • 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 1m 40s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions