Gradle sync failed
mesibo-user opened this issue · comments
mesibo-user commented
15:29 Gradle sync started
15:30 Gradle sync failed: For input string: ""
whats wrong with this:
static def gitVersionCode() {
def process = "git rev-list --count HEAD".execute()
return process.text.toInteger()
}
Gene commented
You probably don't have git installed or configured for your project folder.
mesibo-user commented
Gene commented
Then git is probably not initialised in your project folder. What do you see when you run git rev-list --count HEAD
from your project folder?