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
screengrab exiting with status 127 (FastlaneCore::Interface::FastlaneShellError) #15981
Comments
I just debugged this and it appears the issue is a backslash added to the I will further investigate how to fix it properly (probably in Update 1: Shellwords.escape('~/Library/Android/sdk/platform-tools/adb')
=> "\\~/Library/Android/sdk/platform-tools/adb" Update 2: |
I think your problem could be caused by your
Seems to me there is a bug when you use
Probably we should expand that path before using it or something... that would avoid having the problem you describe with |
* [screengrab] Fix escaping issue with `adb` path (#15981) * Feedback addressed @janpio * [screengrab] Fix an issue with tests after expanding adb_path * Feedback addressed @janpio * [screengrab] Update tests to use absolute path * [screengrab] Fix issue with relativ paths in tests * [screengrab] Also fix tests on Windows * [screengrab] Fix wrong order of expanding path in tests
New Issue Checklist
Issue Description
When I run
fastlane screengrab
in my Android project directory, I get an error statingFastlaneCore::Interface::FastlaneShellError
withexit status 127
. While I will post my complete env and output below, please note that I also downloaded the latestmaster
of this repository as a ZIP file and have the same issue when I runfastlane screengrab
in the example directory.I also followed all the other steps to configure fastlane in my project according to the docs. Should be correct as it's also failing in the example project.
Here's my
fastlane/Screengrabfile
contents:Command executed
fastlane screengrab
(before, I had successfully run./gradlew assembleDebug assembleAndroidTest
and/orfastlane build_for_screengrab
)Complete output when running fastlane, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: