java - Android Studio Gradle CreateProcess error=2 -
i m new in android studio. m using android studio 1.0 rc 2 build #ai-135.1611497 , jdk: 1.8.0_25. trying import project, , getting error. allready tried delete .gradle.. gradle setted use default gradle wrapper. idea solve it?
2014-12-02 10:52:19,643 [3351320] info - s.plugins.gradle.gradlemanager - instructing gradle use java c:\program files\java\jdk1.8.0_25\ 2014-12-02 10:52:19,647 [3351324] info - s.plugins.gradle.gradlemanager - instructing gradle use java c:\program files\java\jdk1.8.0_25\ 2014-12-02 10:52:19,649 [3351326] info - ls.idea.gradle.util.gradleutil - looking embedded maven repo @ 'c:\users\tomas\android-studio\gradle\m2repository' 2014-12-02 10:52:19,652 [3351329] info - .project.gradleexecutionhelper - passing command-line args gradle tooling api: [-pandroid.injected.build.model.only=true, -pandroid.injected.invoked.from.ide=true, --init-script, c:\users\tomas\appdata\local\temp\aslocalrepo4461828038903261980.gradle] 2014-12-02 10:52:21,777 [3353454] info - .project.gradleprojectresolver - gradle project resolve error org.gradle.tooling.buildexception: not run build action using gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'. @ org.gradle.tooling.internal.consumer.resulthandleradapter.onfailure(resulthandleradapter.java:57) @ org.gradle.tooling.internal.consumer.async.defaultasyncconsumeractionexecutor$1$1.run(defaultasyncconsumeractionexecutor.java:57) @ org.gradle.internal.concurrent.defaultexecutorfactory$stoppableexecutorimpl$1.run(defaultexecutorfactory.java:64) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ java.lang.thread.run(thread.java:745) @ org.gradle.tooling.internal.consumer.blockingresulthandler.getresult(blockingresulthandler.java:46) @ org.gradle.tooling.internal.consumer.defaultbuildactionexecuter.run(defaultbuildactionexecuter.java:46) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver.doresolveprojectinfo(gradleprojectresolver.java:186) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver.access$300(gradleprojectresolver.java:64) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver$projectconnectiondatanodefunction.fun(gradleprojectresolver.java:361) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver$projectconnectiondatanodefunction.fun(gradleprojectresolver.java:333) @ org.jetbrains.plugins.gradle.service.project.gradleexecutionhelper.execute(gradleexecutionhelper.java:203) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver.resolveprojectinfo(gradleprojectresolver.java:116) @ org.jetbrains.plugins.gradle.service.project.gradleprojectresolver.resolveprojectinfo(gradleprojectresolver.java:64) @ com.intellij.openapi.externalsystem.service.remote.remoteexternalsystemprojectresolverimpl$1.produce(remoteexternalsystemprojectresolverimpl.java:41) @ com.intellij.openapi.externalsystem.service.remote.remoteexternalsystemprojectresolverimpl$1.produce(remoteexternalsystemprojectresolverimpl.java:37) @ com.intellij.openapi.externalsystem.service.remote.abstractremoteexternalsystemservice.execute(abstractremoteexternalsystemservice.java:59) @ com.intellij.openapi.externalsystem.service.remote.remoteexternalsystemprojectresolverimpl.resolveprojectinfo(remoteexternalsystemprojectresolverimpl.java:37) @ com.intellij.openapi.externalsystem.service.remote.wrapper.externalsystemprojectresolverwrapper.resolveprojectinfo(externalsystemprojectresolverwrapper.java:49) @ com.intellij.openapi.externalsystem.service.internal.externalsystemresolveprojecttask.doexecute(externalsystemresolveprojecttask.java:48) @ com.intellij.openapi.externalsystem.service.internal.abstractexternalsystemtask.execute(abstractexternalsystemtask.java:137) @ com.intellij.openapi.externalsystem.service.internal.abstractexternalsystemtask.execute(abstractexternalsystemtask.java:123) @ com.intellij.openapi.externalsystem.util.externalsystemutil$2.execute(externalsystemutil.java:406) @ com.intellij.openapi.externalsystem.util.externalsystemutil$3$1.run(externalsystemutil.java:474) @ com.intellij.openapi.progress.impl.progressmanagerimpl$taskrunnable.run(progressmanagerimpl.java:471) @ com.intellij.openapi.progress.impl.progressmanagerimpl$6.run(progressmanagerimpl.java:281) @ com.intellij.openapi.progress.impl.progressmanagerimpl$2.run(progressmanagerimpl.java:178) @ com.intellij.openapi.progress.progressmanager.executeprocessunderprogress(progressmanager.java:209) @ com.intellij.openapi.progress.impl.progressmanagerimpl.executeprocessunderprogress(progressmanagerimpl.java:212) @ com.intellij.openapi.progress.impl.progressmanagerimpl.runprocess(progressmanagerimpl.java:171) @ com.intellij.openapi.application.impl.applicationimpl$10$1.run(applicationimpl.java:645) @ com.intellij.openapi.application.impl.applicationimpl$8.run(applicationimpl.java:419) @ java.util.concurrent.executors$runnableadapter.call(executors.java:511) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ java.lang.thread.run(thread.java:745) @ com.intellij.openapi.application.impl.applicationimpl$1$1.run(applicationimpl.java:149) caused by: org.gradle.internal.exceptions.locationawareexception: problem occurred evaluating project ':app'. @ org.gradle.initialization.defaultexceptionanalyser.transform(defaultexceptionanalyser.java:77) @ org.gradle.initialization.multiplebuildfailuresexceptionanalyser.transform(multiplebuildfailuresexceptionanalyser.java:47) @ org.gradle.initialization.stacktracesanitizingexceptionanalyser.transform(stacktracesanitizingexceptionanalyser.java:30) @ org.gradle.initialization.defaultgradlelauncher.dobuild(defaultgradlelauncher.java:108) @ org.gradle.initialization.defaultgradlelauncher.getbuildanalysis(defaultgradlelauncher.java:97) @ org.gradle.launcher.exec.inprocessbuildactionexecuter$defaultbuildcontroller.configure(inprocessbuildactionexecuter.java:84) @ org.gradle.tooling.internal.provider.clientprovidedbuildaction.run(clientprovidedbuildaction.java:43) @ org.gradle.tooling.internal.provider.clientprovidedbuildaction.run(clientprovidedbuildaction.java:31) @ org.gradle.tooling.internal.provider.configuringbuildaction.run(configuringbuildaction.java:119) @ org.gradle.launcher.exec.inprocessbuildactionexecuter.execute(inprocessbuildactionexecuter.java:36) @ org.gradle.launcher.exec.inprocessbuildactionexecuter.execute(inprocessbuildactionexecuter.java:26) @ org.gradle.launcher.daemon.server.exec.executebuild.dobuild(executebuild.java:47) @ org.gradle.launcher.daemon.server.exec.buildcommandonly.execute(buildcommandonly.java:34) @ org.gradle.launcher.daemon.server.exec.daemoncommandexecution.proceed(daemoncommandexecution.java:119) @ org.gradle.launcher.daemon.server.exec.watchfordisconnection.execute(watchfordisconnection.java:35) @ org.gradle.launcher.daemon.server.exec.daemoncommandexecution.proceed(daemoncommandexecution.java:119) @ org.gradle.launcher.daemon.server.exec.resetdeprecationlogger.execute(resetdeprecationlogger.java:24) @ org.gradle.launcher.daemon.server.exec.daemoncommandexecution.proceed(daemoncommandexecution.java:119) @ org.gradle.launcher.daemon.server.exec.startstopifbuildandstop.execute(startstopifbuildandstop.java:33) @ org.gradle.launcher.daemon.server.exec.daemoncommandexecution.proceed(daemoncommandexecution.java:119) @ org.gradle.launcher.daemon.server.exec.forwardclientinput$2.call(forwardclientinput.java:71) @ org.gradle.launcher.daemon.server.exec.forwardclientinput$2.call(forwardclientinput.java:69) @ org.gradle.util.swapper.swap(swapper.java:38) @ org.gradle.launcher.daemon.server.exec.forwardclientinput.execute(forwardclientinput.java:69) @ org.gradle.launcher.daemon.server.exec.daemoncommandexecution.proceed(daemoncommandexecution.java:119) @ org.gradle.launcher.daemon.server.exec.logtoclient.dobuild(logtoclient.java:60) @ org.gradle.launcher.daemon.server.exec.buildcommandonly.execute(buildcommandonly.java:34) @ org.gradle.launcher.daemon.server.exec.daemoncommandexecution.proceed(daemoncommandexecution.java:119) @ org.gradle.launcher.daemon.server.exec.establishbuildenvironment.dobuild(establishbuildenvironment.java:70) @ org.gradle.launcher.daemon.server.exec.buildcommandonly.execute(buildcommandonly.java:34) @ org.gradle.launcher.daemon.server.exec.daemoncommandexecution.proceed(daemoncommandexecution.java:119) @ org.gradle.launcher.daemon.server.exec.daemonhygieneaction.execute(daemonhygieneaction.java:39) @ org.gradle.launcher.daemon.server.exec.daemoncommandexecution.proceed(daemoncommandexecution.java:119) @ org.gradle.launcher.daemon.server.exec.startbuildorrespondwithbusy$1.run(startbuildorrespondwithbusy.java:46) @ org.gradle.launcher.daemon.server.daemonstatecoordinator$1.run(daemonstatecoordinator.java:246) @ org.gradle.internal.concurrent.defaultexecutorfactory$stoppableexecutorimpl$1.run(defaultexecutorfactory.java:64) caused by: org.gradle.api.gradlescriptexception: problem occurred evaluating project ':app'. @ org.gradle.groovy.scripts.internal.defaultscriptrunnerfactory$scriptrunnerimpl.run(defaultscriptrunnerfactory.java:54) @ org.gradle.configuration.defaultscriptpluginfactory$scriptpluginimpl.apply(defaultscriptpluginfactory.java:148) @ org.gradle.configuration.project.buildscriptprocessor.execute(buildscriptprocessor.java:39) @ org.gradle.configuration.project.buildscriptprocessor.execute(buildscriptprocessor.java:26) @ org.gradle.configuration.project.configureactionsprojectevaluator.evaluate(configureactionsprojectevaluator.java:34) @ org.gradle.configuration.project.lifecycleprojectevaluator.evaluate(lifecycleprojectevaluator.java:59) @ org.gradle.api.internal.project.abstractproject.evaluate(abstractproject.java:504) @ org.gradle.api.internal.project.abstractproject.evaluate(abstractproject.java:83) @ org.gradle.execution.taskpathprojectevaluator.configurehierarchy(taskpathprojectevaluator.java:47) @ org.gradle.configuration.defaultbuildconfigurer.configure(defaultbuildconfigurer.java:35) @ org.gradle.initialization.defaultgradlelauncher.dobuildstages(defaultgradlelauncher.java:129) @ org.gradle.initialization.defaultgradlelauncher.dobuild(defaultgradlelauncher.java:106) ... 32 more caused by: org.gradle.process.internal.execexception: problem occurred starting process 'command 'git'' @ org.gradle.process.internal.defaultexechandle.setendstateinfo(defaultexechandle.java:196) @ org.gradle.process.internal.defaultexechandle.failed(defaultexechandle.java:325) @ org.gradle.process.internal.exechandlerunner.run(exechandlerunner.java:83) ... 1 more caused by: net.rubygrapefruit.platform.nativeexception: not start 'git' @ net.rubygrapefruit.platform.internal.defaultprocesslauncher.start(defaultprocesslauncher.java:27) @ net.rubygrapefruit.platform.internal.windowsprocesslauncher.start(windowsprocesslauncher.java:22) @ net.rubygrapefruit.platform.internal.wrapperprocesslauncher.start(wrapperprocesslauncher.java:36) @ org.gradle.process.internal.exechandlerunner.run(exechandlerunner.java:65) ... 1 more caused by: java.io.ioexception: cannot run program "git" (in directory "c:\users\tomas\eman\cuckoo-an"): createprocess error=2, system cannot find file specified @ net.rubygrapefruit.platform.internal.defaultprocesslauncher.start(defaultprocesslauncher.java:25) ... 4 more caused by: java.io.ioexception: createprocess error=2, system cannot find file specified ... 5 more
problem in path git.
correct 1 is: c:\program files (x86)\git\cmd\git.exe
Comments
Post a Comment