Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shokarta opened this issue Feb 13, 2025 · 1 comment
Labels

Comments

@shokarta
Copy link

shokarta commented Feb 13, 2025

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.

@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@lehcar09 lehcar09 added api: crashlytics type: question Further information is requested type: feature request New feature or request and removed needs-triage api: crashlytics type: question Further information is requested labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants