After cloning build fails
See original GitHub issueAfter a clean clone I get the following error while building:
Gradle Sync Issues
build.gradle :
ERROR: For input string: ""
When opening the file it mentions:
ext {
// query git for the commit count to automate versioning.
gitCommitCount = 100 +
Integer.parseInt('git rev-list --count HEAD'.execute([], project.rootDir).text.trim())
}
But I do not see the issue?
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (1 by maintainers)
Top Results From Across the Web
Error with build after cloning repo #3518 - GitHub
The build fails. The error indicates that there is an errant quote in the path to cppwinrt. But I'm wondering if the underlying...
Read more >After Successful Cloning, my projects comes up with ...
If you try to build this solution, will it works fine or failed. Per the error message, please have a try with the...
Read more >How to solve this Gradle build error that happens after cloning ...
I just cloned a project and I got this error. My collegue who cloned the same project does not have this error. I...
Read more >Build fails to clone repository - Atlassian Community
Solved: Bamboo build fails to pull code from Bitbucket server. ... After creating a new branch, code pull now works correctly.
Read more >Why doesn't my project build after cloning from git?
Then I cloned to another machine. The clone appeared to work ok. However when I tried to run the project, I am getting...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I had the same issue on Catalina. i managed to fix it by removing both the params from the execute() function.
What helped me building plaid was to get rid of gitCommitCount and set version code manually. I also had an issue with a ClientAuthInterceptor class:
where url is package private, so I had to use a public url method. So far seems to be working just fine: