-
Notifications
You must be signed in to change notification settings - Fork 206
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
Cant compile th project Error:(12, 0) CreateProcess error=2 #188
Comments
Hm, looks like an issue with some Gradle Plugin running on Windows. @vanniktech any ideas? |
Oh jeez. Nope I've never ran AS on Windows so no ideas. From this SO question it looks like you didn't configure the JDK. |
Looks like so, @lectricas please check SO question ^ and report back. Thanks @vanniktech! |
@vanniktech |
removing this lines from app build gradle solved the issue. Is it save to live gradle without this lines? |
Those are just coming from this plugin. Might be worth opening an issue there or inviting @zsoltk into this discussion. |
Can someone translate the Russian error message in the screenshot, to begin with? Also, @lectricas do you have command line git installed? |
@zsoltk "CreateProcess error=2, can't find specified file" |
Thanks @serj-lotutovici . My second question is still unanswered though, @lectricas . |
Do you have console git installed? On Tue, 2 Aug 2016, 19:02 Zsolt Kocsi, [email protected] wrote:
|
Sorry for the delay. Yes, I have. Don't you have any windows PC or boot camp to reproduce the problem? |
What I'm not sure is that my git is reachable from default cmd because I'm using stand alone shell provided by git installer. I'll check this tomorrow. |
I believe it's the problem, I do have windows PC but just for gaming, not On Tue, 2 Aug 2016, 19:15 alexey polusov, [email protected] wrote:
|
@lectricas First you must install 1.8 jdk, android studio 2.2 has an embedded one inside but for some reason it doesn't work, after than configure the jdk inside from AS. Second open the cmd.exe and run "git.exe", does it exist? If not, then this is why it fails. Download https://git-scm.com/download/win and let it modify your environmental paths. Third go to "File ->settings -> under git", click test, does it work? |
Can't compile it "from the box".
What am I doing wrong?
The text was updated successfully, but these errors were encountered: