Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help me #1480

Closed
zhulujiang opened this issue Sep 22, 2016 · 7 comments
Closed

help me #1480

zhulujiang opened this issue Sep 22, 2016 · 7 comments

Comments

@zhulujiang
Copy link

when I import files into the studio, the Message Gradle Sync control-panel show the follow errors:

Error:CreateProcess error=2, 系统找不到指定的文件。
Gradle 'glide-master' project refresh failed

what's wrong with this? can you help me?

@TWiStErRob
Copy link
Collaborator

Make sure you can build from command line first: https://github.com/bumptech/glide/blob/master/README.md#build

Why do you need to build the code yourself?

@rbiggers
Copy link

I am actually having the same issue. I am able to build successfully from the command line but when I try to build through Android Studio I get this error.

@TWiStErRob
Copy link
Collaborator

error 2 means file not found, maybe there's a PATH issue. The master branch calls git from settings.gradle.

@rbiggers
Copy link

rbiggers commented Oct 25, 2016

I think I figured out what it was. I found some information on another issue that lead me to the solution. I had cloned the master branch but was calling v3.7.0 from maven. So once I checked out the 3.0 branch everything worked as expected.

@TWiStErRob
Copy link
Collaborator

@rbiggers the 3.0 doesn't have that commandLine call as far as I know.

@rbiggers
Copy link

rbiggers commented Oct 25, 2016

@TWiStErRob Once I switched to the3.0 branch Android Studio took over and synced Gradle and the command line was no longer needed.

@CoKoOne
Copy link

CoKoOne commented Nov 24, 2017

@zhulujiang 请问一下 你导入成功了吗,我用Android studio 导入时也出现Error:CreateProcess error=2, 系统找不到指定的文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants