Yousuf Awan
Yousuf Awan

Reputation: 1

The system cannot find the file specified, Gradle project sync failed

Error:(20, 0) CreateProcess error=2, The system cannot find the file specified

enter image description here

Gradle is not syncing the project "GnuCash" form "github"

any help would be appreciated.

Upvotes: -1

Views: 2053

Answers (1)

Sachin Chauhan
Sachin Chauhan

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:

https://jitpack.io

repositories {
    // ...
    maven { url "https://jitpack.io" }
}

Step 2. Add the dependency in the form

dependencies {
    compile 'com.github.User:Repo:Tag'
} 

Upvotes: 0

Related Questions