Reputation: 1
Error:(20, 0) CreateProcess error=2, The system cannot find the file specified
Gradle is not syncing the project "GnuCash" form "github"
any help would be appreciated.
Upvotes: -1
Views: 2053
Reputation: 366
If you are trying to get github dependency in you project. First you have to specify the repository in build.gradle and then add that dependency in you project.
What you can do for git repository
Step 1. Add the JitPack repository to your build file Add it in your build.gradle at the end of repositories:
repositories {
// ...
maven { url "https://jitpack.io" }
}
Step 2. Add the dependency in the form
dependencies {
compile 'com.github.User:Repo:Tag'
}
Upvotes: 0