Skip to content

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':generateCrashlyticsSymbolFileDebug' #6700

Open
@shokarta

Description

@shokarta

Hello,

I initialy opened 6633 but was closed with link to another issue as duplicated, however its not duplicated and rootcause is very different.

so when I call "gradlew.bat assembleRelease uploadCrashlyticsSymbolFileRelease" I am having the errors described in the issue 6633.

I also tried opening a case 10331162 to help, and after trying CLI which had similar result we figured out its windows issue of long paths...
so when via CLI i UNSUCESSFULLY tried:
firebase crashlytics:symbols:upload --app=1:9332----8766:android:eed9b7067----95e69a43f c:\Qt\Projects\Builds\build-filmtoro-Android_Qt_6_8_2_Clang_arm64_v8a-Release\android-build-filmtoroMobile\build\intermediates\stripped_native_libs\release\stripReleaseDebugSymbols

  • which obviously failed due to this bug of long path

I tried this instead:

Image

converion form long to short path was done via:
cmd /c for %A in ("c:\Qt\Projects\Builds\build-filmtoro-Android_Qt_6_8_2_Clang_arm64_v8a-Release\android-build-filmtoroMobile\build\intermediates\stripped_native_libs\release\stripReleaseDebugSymbols") do @echo %~sA

and for CLI all worked fine...

as far as I can use this workaround by specifying short path instead of long path in CLI (and hopefully somehow also via gradlew.bat or even build.gradle) then you could implement this check and convert to shortpath on build-tools side too... so everyone could benefit and prevent having this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions