Glide: Error:(1, 0) Gradle sync failed: Process 'command 'git'' finished with non-zero exit value 128

Created on 14 Mar 2017  ·  10Comments  ·  Source: bumptech/glide

new-- import project
Gradle sync failed: Process 'command 'git'' finished with non-zero exit value 128
Error:(1, 0) Process 'command 'git'' finished with non-zero exit value 128 Open File
what‘s wrong ?who can help me? Thanks a lot .

non-library question

Most helpful comment

I also encountered this problem,This problem can be solved
VCS->Enable Control Integration->Select "Git"

All 10 comments

First get a successful build from the command line, if that happened, only then start importing into IDEA, see https://github.com/bumptech/glide#development:

Follow the steps in the Build section to setup the project and then [...]

Thanks,but the problem was not solved。

Did you get a successful command line build? Do you have git on your PATH? Is your IDEA configured correctly for git?

See also #1283, http://stackoverflow.com/a/35941193/253468, and http://stackoverflow.com/a/36333284/253468

Thank you very much,the problem has been solved,the reason is that the version is inconsistent,Can not be updated to the latest version.
but, after rebuilding,show a lot of informations about"Error:(200, 14) 警告: [deprecation] Options中的inDither已过时""Error:(402, 38) 警告: [deprecation] RequestBuilder中的load(URL)已过时
其中, TranscodeType是类型变量:
TranscodeType扩展已在类 RequestBuilder中声明的Object",“”Error:(164, 15) 警告: [deprecation] Fragment中的onAttach(Activity)已过时“”Isn't the source code really using outdated code? Is this normal ?
Thanks a lot.

There are some deprecated API usage, because Glide also works on old API versions. I use it in my app with minSdk=10 to load SVGs.

Thank you for patient guidance !

I also encountered this problem,This problem can be solved
VCS->Enable Control Integration->Select "Git"

thanks @hoooou

new problem

Could not get unknown property 'sourceSets' for project ':third_party:disklrucache' of type org.gradle.api.Project. Open File

@kangdawei see #2371, let's resolve there.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tryking picture Tryking  ·  3Comments

mttmllns picture mttmllns  ·  3Comments

PatrickMA picture PatrickMA  ·  3Comments

MrFuFuFu picture MrFuFuFu  ·  3Comments

FooBarBacon picture FooBarBacon  ·  3Comments