Error when transferring odk collect code to Android Studio

Hello,
i imported ODK collect to Android studio, i get this error
Error:(13, 0) CreateProcess error=2, The system cannot find the file
specified

I have attached the error log file.
Kindy assist.

Newton Andebe.

idea.log (140 KB)

Look at the log and find an error that seems simple to fix. e.g.,

Caused by: net.rubygrapefruit.platform.NativeException: Could not start
'git'

For some reason, the gradlew.bat is not able to find an installation of git
on your system.

searching the web for "Could not start 'git'" gives:

git needs to be on your PATH.

··· On Tue, Sep 8, 2015 at 3:53 PM, newton juma wrote:

Hello,
i imported ODK collect to Android studio, i get this error
Error:(13, 0) CreateProcess error=2, The system cannot find the file
specified

I have attached the error log file.
Kindy assist.

Newton Andebe.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Please be aware that we are still actively tweaking our build scripts and
AndroidStudio support is only on the 'development' branch. Things may or
may not work.

··· On Tue, Sep 8, 2015 at 4:04 PM, Mitch Sundt wrote:

Look at the log and find an error that seems simple to fix. e.g.,

Caused by: net.rubygrapefruit.platform.NativeException: Could not start
'git'

For some reason, the gradlew.bat is not able to find an installation of
git on your system.

searching the web for "Could not start 'git'" gives:
http://stackoverflow.com/questions/17007244/android-studio-cant-start-git

git needs to be on your PATH.

On Tue, Sep 8, 2015 at 3:53 PM, newton juma newtonandebe@gmail.com wrote:

Hello,
i imported ODK collect to Android studio, i get this error
Error:(13, 0) CreateProcess error=2, The system cannot find the file
specified

I have attached the error log file.
Kindy assist.

Newton Andebe.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks Mitch.
Let me have a look at it.I will keep you posted on how it goes.

Kind Regards,
Newton.

··· On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt wrote:

Look at the log and find an error that seems simple to fix. e.g.,

Caused by: net.rubygrapefruit.platform.NativeException: Could not start
'git'

For some reason, the gradlew.bat is not able to find an installation of
git on your system.

searching the web for "Could not start 'git'" gives:
http://stackoverflow.com/questions/17007244/android-studio-cant-start-git

git needs to be on your PATH.

On Tue, Sep 8, 2015 at 3:53 PM, newton juma newtonandebe@gmail.com wrote:

Hello,
i imported ODK collect to Android studio, i get this error
Error:(13, 0) CreateProcess error=2, The system cannot find the file
specified

I have attached the error log file.
Kindy assist.

Newton Andebe.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks Mitch.
Let me have a look at it.I will keep you posted on how it goes.

Kind Regards,
Newton.

Look at the log and find an error that seems simple to fix. e.g.,

Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'git'

For some reason, the gradlew.bat is not able to find an installation of git on your system.

searching the web for "Could not start 'git'" gives:
http://stackoverflow.com/questions/17007244/android-studio-cant-start-git

git needs to be on your PATH.

Hello,
i imported ODK collect to Android studio, i get this error
Error:(13, 0) CreateProcess error=2, The system cannot find the file specified

I have attached the error log file.
Kindy assist.

Newton Andebe.

--

You received this message because you are subscribed to the Google Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

You received this message because you are subscribed to a topic in the Google Groups "ODK Developers" group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe.

To unsubscribe from this group and all its topics, send an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hi Newton,

I was wondering if you were able to fix this error using Mitch's advice? I cannot install Git onto my laptop right now so I cannot try the fix, that he posted, myself.

Kind regards,
Ryan

··· On Tuesday, September 8, 2015 at 10:08:47 PM UTC-7, newton juma wrote: > On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt wrote: > On Tue, Sep 8, 2015 at 3:53 PM, newton juma wrote:

I have added a README.md to the collect project that describes how to set
up this project with AndroidStudio.

··· On Tue, Oct 13, 2015 at 10:14 AM, wrote:

On Tuesday, September 8, 2015 at 10:08:47 PM UTC-7, newton juma wrote:

Thanks Mitch.
Let me have a look at it.I will keep you posted on how it goes.

Kind Regards,
Newton.

On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt mitche...@gmail.com wrote:

Look at the log and find an error that seems simple to fix. e.g.,

Caused by: net.rubygrapefruit.platform.NativeException: Could not start
'git'

For some reason, the gradlew.bat is not able to find an installation of
git on your system.

searching the web for "Could not start 'git'" gives:

http://stackoverflow.com/questions/17007244/android-studio-cant-start-git

git needs to be on your PATH.

On Tue, Sep 8, 2015 at 3:53 PM, newton juma newton...@gmail.com wrote:

Hello,
i imported ODK collect to Android studio, i get this error
Error:(13, 0) CreateProcess error=2, The system cannot find the file
specified

I have attached the error log file.
Kindy assist.

Newton Andebe.

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hi Newton,

I was wondering if you were able to fix this error using Mitch's advice?
I cannot install Git onto my laptop right now so I cannot try the fix, that
he posted, myself.

Kind regards,
Ryan

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks Sir for the heads up!

··· On Tue, Oct 13, 2015 at 9:17 PM, Mitch Sundt wrote:

I have added a README.md to the collect project that describes how to set
up this project with AndroidStudio.

On Tue, Oct 13, 2015 at 10:14 AM, rbendo28@gmail.com wrote:

On Tuesday, September 8, 2015 at 10:08:47 PM UTC-7, newton juma wrote:

Thanks Mitch.
Let me have a look at it.I will keep you posted on how it goes.

Kind Regards,
Newton.

On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt mitche...@gmail.com wrote:

Look at the log and find an error that seems simple to fix. e.g.,

Caused by: net.rubygrapefruit.platform.NativeException: Could not start
'git'

For some reason, the gradlew.bat is not able to find an installation of
git on your system.

searching the web for "Could not start 'git'" gives:

http://stackoverflow.com/questions/17007244/android-studio-cant-start-git

git needs to be on your PATH.

On Tue, Sep 8, 2015 at 3:53 PM, newton juma newton...@gmail.com wrote:

Hello,
i imported ODK collect to Android studio, i get this error
Error:(13, 0) CreateProcess error=2, The system cannot find the file
specified

I have attached the error log file.
Kindy assist.

Newton Andebe.

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hi Newton,

I was wondering if you were able to fix this error using Mitch's advice?
I cannot install Git onto my laptop right now so I cannot try the fix, that
he posted, myself.

Kind regards,
Ryan

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

--
You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Mitch,

Thank you for adding the README on how to set up the project in Android Studio. It made it a little easier to understand. I've done everything you stated in the README, however, I still keep getting the same error as stated by Newton:

Gradle sync failed: CreateProcess error=2, The system cannot find the file specified

When I look in the error log, I see that git cannot start even though I have set the path to git to the directory of git.exe and it says it is working correctly. So I do not understand why my gradle is failing to sync.

Kind regards,
Ryan

··· On Tuesday, October 13, 2015 at 10:10:01 PM UTC-7, newton juma wrote: > Thanks Sir for the heads up! > > > On Tue, Oct 13, 2015 at 9:17 PM, Mitch Sundt wrote: > > I have added a README.md to the collect project that describes how to set up this project with AndroidStudio. > > > > > > > > > On Tue, Oct 13, 2015 at 10:14 AM, wrote: > On Tuesday, September 8, 2015 at 10:08:47 PM UTC-7, newton juma wrote: > > > Thanks Mitch. > > > Let me have a look at it.I will keep you posted on how it goes. > > > > > > > > > Kind Regards, > > > Newton. > > > > > > > > > On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt wrote: > > > > > > Look at the log and find an error that seems simple to fix. e.g., > > > > > > > > > Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'git' > > > > > > > > > > > > For some reason, the gradlew.bat is not able to find an installation of git on your system. > > > > > > > > > searching the web for "Could not start 'git'" gives: > > > http://stackoverflow.com/questions/17007244/android-studio-cant-start-git > > > > > > > > > > > > git needs to be on your PATH. > > > > > > > > > On Tue, Sep 8, 2015 at 3:53 PM, newton juma wrote: > > > > > > Hello, > > > i imported ODK collect to Android studio, i get this error > > > Error:(13, 0) CreateProcess error=2, The system cannot find the file specified > > > > > > > > > > > > I have attached the error log file. > > > Kindy assist. > > > > > > > > > Newton Andebe. > > > > > > > > > > > > > > > -- > > > > > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > -- > > > > > > Mitch Sundt > > > Software Engineer > > > University of Washington > > > mitche...@gmail.com > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > You received this message because you are subscribed to a topic in the Google Groups "ODK Developers" group. > > > > > > To unsubscribe from this topic, visit https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe. > > > > > > To unsubscribe from this group and all its topics, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > Hi Newton, > > > > I was wondering if you were able to fix this error using Mitch's advice? I cannot install Git onto my laptop right now so I cannot try the fix, that he posted, myself. > > > > > > Kind regards, > > Ryan > > > > > > -- > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > > > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com > > > > > > > > -- > > You received this message because you are subscribed to a topic in the Google Groups "ODK Developers" group. > > To unsubscribe from this topic, visit https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout.

What operating system are you working on? (Windows, Mac, Linux, Linux 64)?

··· On Wed, Oct 14, 2015 at 10:12 AM, wrote:

Hi Mitch,

Thank you for adding the README on how to set up the project in Android
Studio. It made it a little easier to understand. I've done everything you
stated in the README, however, I still keep getting the same error as
stated by Newton:

Gradle sync failed: CreateProcess error=2, The system cannot find the file
specified

When I look in the error log, I see that git cannot start even though I
have set the path to git to the directory of git.exe and it says it is
working correctly. So I do not understand why my gradle is failing to sync.

Kind regards,
Ryan

On Tuesday, October 13, 2015 at 10:10:01 PM UTC-7, newton juma wrote:

Thanks Sir for the heads up!

On Tue, Oct 13, 2015 at 9:17 PM, Mitch Sundt mitche...@gmail.com wrote:

I have added a README.md to the collect project that describes how to
set up this project with AndroidStudio.

On Tue, Oct 13, 2015 at 10:14 AM, rben...@gmail.com wrote:
On Tuesday, September 8, 2015 at 10:08:47 PM UTC-7, newton juma wrote:

Thanks Mitch.

Let me have a look at it.I will keep you posted on how it goes.

Kind Regards,

Newton.

On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt mitche...@gmail.com wrote:

Look at the log and find an error that seems simple to fix. e.g.,

Caused by: net.rubygrapefruit.platform.NativeException: Could not
start 'git'

For some reason, the gradlew.bat is not able to find an installation
of git on your system.

searching the web for "Could not start 'git'" gives:

http://stackoverflow.com/questions/17007244/android-studio-cant-start-git

git needs to be on your PATH.

On Tue, Sep 8, 2015 at 3:53 PM, newton juma newton...@gmail.com wrote:

Hello,

i imported ODK collect to Android studio, i get this error

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

I have attached the error log file.

Kindy assist.

Newton Andebe.

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt

Software Engineer

University of Washington

mitche...@gmail.com

--

You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hi Newton,

I was wondering if you were able to fix this error using Mitch's
advice? I cannot install Git onto my laptop right now so I cannot try the
fix, that he posted, myself.

Kind regards,

Ryan

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

I am using Windows 7

··· On Thursday, October 15, 2015 at 10:27:42 AM UTC-7, Mitch wrote: > What operating system are you working on? (Windows, Mac, Linux, Linux 64)? > > > > > On Wed, Oct 14, 2015 at 10:12 AM, wrote: > Hi Mitch, > > > > Thank you for adding the README on how to set up the project in Android Studio. It made it a little easier to understand. I've done everything you stated in the README, however, I still keep getting the same error as stated by Newton: > > > > Gradle sync failed: CreateProcess error=2, The system cannot find the file specified > > > > When I look in the error log, I see that git cannot start even though I have set the path to git to the directory of git.exe and it says it is working correctly. So I do not understand why my gradle is failing to sync. > > > > > > Kind regards, > > Ryan > > > > On Tuesday, October 13, 2015 at 10:10:01 PM UTC-7, newton juma wrote: > > > Thanks Sir for the heads up! > > > > > > > > > On Tue, Oct 13, 2015 at 9:17 PM, Mitch Sundt wrote: > > > > > > I have added a README.md to the collect project that describes how to set up this project with AndroidStudio. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Oct 13, 2015 at 10:14 AM, wrote: > > > On Tuesday, September 8, 2015 at 10:08:47 PM UTC-7, newton juma wrote: > > > > > > > Thanks Mitch. > > > > > > > Let me have a look at it.I will keep you posted on how it goes. > > > > > > > > > > > > > > > > > > > > > Kind Regards, > > > > > > > Newton. > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt wrote: > > > > > > > > > > > > > > Look at the log and find an error that seems simple to fix. e.g., > > > > > > > > > > > > > > > > > > > > > Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'git' > > > > > > > > > > > > > > > > > > > > > > > > > > > > For some reason, the gradlew.bat is not able to find an installation of git on your system. > > > > > > > > > > > > > > > > > > > > > searching the web for "Could not start 'git'" gives: > > > > > > > http://stackoverflow.com/questions/17007244/android-studio-cant-start-git > > > > > > > > > > > > > > > > > > > > > > > > > > > > git needs to be on your PATH. > > > > > > > > > > > > > > > > > > > > > On Tue, Sep 8, 2015 at 3:53 PM, newton juma wrote: > > > > > > > > > > > > > > Hello, > > > > > > > i imported ODK collect to Android studio, i get this error > > > > > > > Error:(13, 0) CreateProcess error=2, The system cannot find the file specified > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have attached the error log file. > > > > > > > Kindy assist. > > > > > > > > > > > > > > > > > > > > > Newton Andebe. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > > > > > > > > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > Mitch Sundt > > > > > > > Software Engineer > > > > > > > University of Washington > > > > > > > mitche...@gmail.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > You received this message because you are subscribed to a topic in the Google Groups "ODK Developers" group. > > > > > > > > > > > > > > To unsubscribe from this topic, visit https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe. > > > > > > > > > > > > > > To unsubscribe from this group and all its topics, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > Hi Newton, > > > > > > > > > > > > I was wondering if you were able to fix this error using Mitch's advice? I cannot install Git onto my laptop right now so I cannot try the fix, that he posted, myself. > > > > > > > > > > > > > > > > > > Kind regards, > > > > > > Ryan > > > > > > > > > > > > > > > > > > -- > > > > > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > Mitch Sundt > > > Software Engineer > > > University of Washington > > > mitche...@gmail.com > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > You received this message because you are subscribed to a topic in the Google Groups "ODK Developers" group. > > > > > > To unsubscribe from this topic, visit https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe. > > > > > > To unsubscribe from this group and all its topics, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > -- > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com

Drat! That's what I support :frowning: It will be a considerable while before I
can look into this.

You should search the Intellij / Android Studio lists for similar errors /
issues.

I remember fighting with Intellij, Java, and git when I was setting up my
environment.
Don't remember the steps.

If you find a resolution, please let us know and I will update the README.md

··· On Thu, Oct 15, 2015 at 10:48 AM, wrote:

I am using Windows 7

On Thursday, October 15, 2015 at 10:27:42 AM UTC-7, Mitch wrote:

What operating system are you working on? (Windows, Mac, Linux, Linux
64)?

On Wed, Oct 14, 2015 at 10:12 AM, rben...@gmail.com wrote:
Hi Mitch,

Thank you for adding the README on how to set up the project in Android
Studio. It made it a little easier to understand. I've done everything you
stated in the README, however, I still keep getting the same error as
stated by Newton:

Gradle sync failed: CreateProcess error=2, The system cannot find the
file specified

When I look in the error log, I see that git cannot start even though I
have set the path to git to the directory of git.exe and it says it is
working correctly. So I do not understand why my gradle is failing to sync.

Kind regards,

Ryan

On Tuesday, October 13, 2015 at 10:10:01 PM UTC-7, newton juma wrote:

Thanks Sir for the heads up!

On Tue, Oct 13, 2015 at 9:17 PM, Mitch Sundt mitche...@gmail.com wrote:

I have added a README.md to the collect project that describes how to
set up this project with AndroidStudio.

On Tue, Oct 13, 2015 at 10:14 AM, rben...@gmail.com wrote:

On Tuesday, September 8, 2015 at 10:08:47 PM UTC-7, newton juma wrote:

Thanks Mitch.

Let me have a look at it.I will keep you posted on how it goes.

Kind Regards,

Newton.

On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt mitche...@gmail.com wrote:

Look at the log and find an error that seems simple to fix. e.g.,

Caused by: net.rubygrapefruit.platform.NativeException: Could not
start 'git'

For some reason, the gradlew.bat is not able to find an installation
of git on your system.

searching the web for "Could not start 'git'" gives:

http://stackoverflow.com/questions/17007244/android-studio-cant-start-git

git needs to be on your PATH.

On Tue, Sep 8, 2015 at 3:53 PM, newton juma newton...@gmail.com wrote:

Hello,

i imported ODK collect to Android studio, i get this error

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

I have attached the error log file.

Kindy assist.

Newton Andebe.

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it,
send an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt

Software Engineer

University of Washington

mitche...@gmail.com

--

You received this message because you are subscribed to a topic in
the Google Groups "ODK Developers" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hi Newton,

I was wondering if you were able to fix this error using Mitch's
advice? I cannot install Git onto my laptop right now so I cannot try the
fix, that he posted, myself.

Kind regards,

Ryan

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt

Software Engineer

University of Washington

mitche...@gmail.com

--

You received this message because you are subscribed to a topic in the
Google Groups "ODK Developers" group.

To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe
.

To unsubscribe from this group and all its topics, send an email to
opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

You received this message because you are subscribed to the Google
Groups "ODK Developers" group.

To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Ah alright, I see. Thank you for you quick response. You've been really helpful! I'll keep looking into it and if I find a solution, I'll let you know.

Thanks!
Ryan

··· On Thursday, October 15, 2015 at 11:01:48 AM UTC-7, Mitch wrote: > Drat! That's what I support :-( It will be a considerable while before I can look into this. > > > You should search the Intellij / Android Studio lists for similar errors / issues. > > > I remember fighting with Intellij, Java, and git when I was setting up my environment. > Don't remember the steps. > > > If you find a resolution, please let us know and I will update the README.md > > > > > > > On Thu, Oct 15, 2015 at 10:48 AM, wrote: > I am using Windows 7 > > > > On Thursday, October 15, 2015 at 10:27:42 AM UTC-7, Mitch wrote: > > > What operating system are you working on? (Windows, Mac, Linux, Linux 64)? > > > > > > > > > > > > > > > > > On Wed, Oct 14, 2015 at 10:12 AM, wrote: > > > Hi Mitch, > > > > > > > > > > > > Thank you for adding the README on how to set up the project in Android Studio. It made it a little easier to understand. I've done everything you stated in the README, however, I still keep getting the same error as stated by Newton: > > > > > > > > > > > > Gradle sync failed: CreateProcess error=2, The system cannot find the file specified > > > > > > > > > > > > When I look in the error log, I see that git cannot start even though I have set the path to git to the directory of git.exe and it says it is working correctly. So I do not understand why my gradle is failing to sync. > > > > > > > > > > > > > > > > > > Kind regards, > > > > > > Ryan > > > > > > > > > > > > On Tuesday, October 13, 2015 at 10:10:01 PM UTC-7, newton juma wrote: > > > > > > > Thanks Sir for the heads up! > > > > > > > > > > > > > > > > > > > > > On Tue, Oct 13, 2015 at 9:17 PM, Mitch Sundt wrote: > > > > > > > > > > > > > > I have added a README.md to the collect project that describes how to set up this project with AndroidStudio. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Oct 13, 2015 at 10:14 AM, wrote: > > > > > > > On Tuesday, September 8, 2015 at 10:08:47 PM UTC-7, newton juma wrote: > > > > > > > > > > > > > > > Thanks Mitch. > > > > > > > > > > > > > > > Let me have a look at it.I will keep you posted on how it goes. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Kind Regards, > > > > > > > > > > > > > > > Newton. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 9, 2015 at 2:04 AM, Mitch Sundt wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Look at the log and find an error that seems simple to fix. e.g., > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'git' > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > For some reason, the gradlew.bat is not able to find an installation of git on your system. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > searching the web for "Could not start 'git'" gives: > > > > > > > > > > > > > > > http://stackoverflow.com/questions/17007244/android-studio-cant-start-git > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > git needs to be on your PATH. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Sep 8, 2015 at 3:53 PM, newton juma wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > > i imported ODK collect to Android studio, i get this error > > > > > > > > > > > > > > > Error:(13, 0) CreateProcess error=2, The system cannot find the file specified > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have attached the error log file. > > > > > > > > > > > > > > > Kindy assist. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Newton Andebe. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Mitch Sundt > > > > > > > > > > > > > > > Software Engineer > > > > > > > > > > > > > > > University of Washington > > > > > > > > > > > > > > > mitche...@gmail.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > You received this message because you are subscribed to a topic in the Google Groups "ODK Developers" group. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > To unsubscribe from this topic, visit https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > To unsubscribe from this group and all its topics, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi Newton, > > > > > > > > > > > > > > > > > > > > > > > > > > > > I was wondering if you were able to fix this error using Mitch's advice? I cannot install Git onto my laptop right now so I cannot try the fix, that he posted, myself. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Kind regards, > > > > > > > > > > > > > > Ryan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > > > > > > > > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > > Mitch Sundt > > > > > > > Software Engineer > > > > > > > University of Washington > > > > > > > mitche...@gmail.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > You received this message because you are subscribed to a topic in the Google Groups "ODK Developers" group. > > > > > > > > > > > > > > To unsubscribe from this topic, visit https://groups.google.com/d/topic/opendatakit-developers/JA9v3TotnFg/unsubscribe. > > > > > > > > > > > > > > To unsubscribe from this group and all its topics, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > > > > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > -- > > > > > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > > > > > > > > > -- > > > > > > Mitch Sundt > > > Software Engineer > > > University of Washington > > > mitche...@gmail.com > > > > -- > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com

Did anyone manage to get to the bottom of this issue? I have the same problem. Android Studio reports that Gradle project sync failed, with an error from collect\collect_app\build.gradle.

The Event Log reports the following:

15:32:02 Gradle sync started
15:32:12 Gradle sync failed: CreateProcess error=2, The system cannot find the file specified
Consult IDE log for more details (Help | Show Log)

This is a fragment of the idea.log file:

Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command 'git''
at org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:196)
at org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandle.java:325)
at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:83)
... 2 more
Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'git'
at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:27)
at net.rubygrapefruit.platform.internal.WindowsProcessLauncher.start(WindowsProcessLauncher.java:22)
at net.rubygrapefruit.platform.internal.WrapperProcessLauncher.start(WrapperProcessLauncher.java:36)
at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:65)
... 2 more
Caused by: java.io.IOException: Cannot run program "git" (in directory "C:\Users\martin.ingham\FIND ODK\Android\odk\collect\collect_app"): CreateProcess error=2, The system cannot find the file specified
at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
... 5 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
... 6 more

I have set up the directory structure as per instructions in the Readme. The gradle-config project is checked out at tag 9.
I have Git installed, and have fixed the Path to Git executable in the default settings in Android Studio (to the exe in \cmd), and have added the path to the Path environment variable (both System and User just in case!).

Running out of ideas of things to look for now :frowning: Any help would be appreciated!

Martin

I think you've done all the right things, but definitely sounds like a
path issue. Maybe try a reboot or re-install of git?

Yaw

··· -- Need ODK consultants? Nafundi provides form design, server setup, in-field training, and software development for ODK. Go to https://nafundi.com to get started.

On Wed, Nov 11, 2015 at 10:54 PM, ingham.martin@gmail.com wrote:

Did anyone manage to get to the bottom of this issue? I have the same problem. Android Studio reports that Gradle project sync failed, with an error from collect\collect_app\build.gradle.

The Event Log reports the following:

15:32:02 Gradle sync started
15:32:12 Gradle sync failed: CreateProcess error=2, The system cannot find the file specified
Consult IDE log for more details (Help | Show Log)

This is a fragment of the idea.log file:

Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command 'git''
at org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:196)
at org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandle.java:325)
at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:83)
... 2 more
Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'git'
at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:27)
at net.rubygrapefruit.platform.internal.WindowsProcessLauncher.start(WindowsProcessLauncher.java:22)
at net.rubygrapefruit.platform.internal.WrapperProcessLauncher.start(WrapperProcessLauncher.java:36)
at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:65)
... 2 more
Caused by: java.io.IOException: Cannot run program "git" (in directory "C:\Users\martin.ingham\FIND ODK\Android\odk\collect\collect_app"): CreateProcess error=2, The system cannot find the file specified
at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
... 5 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
... 6 more

I have set up the directory structure as per instructions in the Readme. The gradle-config project is checked out at tag 9.
I have Git installed, and have fixed the Path to Git executable in the default settings in Android Studio (to the exe in \cmd), and have added the path to the Path environment variable (both System and User just in case!).

Running out of ideas of things to look for now :frowning: Any help would be appreciated!

Martin

--
You received this message because you are subscribed to the Google Groups "ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

My bad, I had included the git .exe in the Git directory in the Path variable! (facepalm)

··· On Thursday, November 12, 2015 at 1:06:16 AM UTC, Yaw Anokwa wrote: > I think you've done all the right things, but definitely sounds like a > path issue. Maybe try a reboot or re-install of git? > > Yaw > -- > Need ODK consultants? Nafundi provides form design, server setup, > in-field training, and software development for ODK. Go to > https://nafundi.com to get started. > > On Wed, Nov 11, 2015 at 10:54 PM, wrote: > > Did anyone manage to get to the bottom of this issue? I have the same problem. Android Studio reports that Gradle project sync failed, with an error from collect\collect_app\build.gradle. > > > > The Event Log reports the following: > > > > 15:32:02 Gradle sync started > > 15:32:12 Gradle sync failed: CreateProcess error=2, The system cannot find the file specified > > Consult IDE log for more details (Help | Show Log) > > > > This is a fragment of the idea.log file: > > > > Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command 'git'' > > at org.gradle.process.internal.DefaultExecHandle.setEndStateInfo(DefaultExecHandle.java:196) > > at org.gradle.process.internal.DefaultExecHandle.failed(DefaultExecHandle.java:325) > > at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:83) > > ... 2 more > > Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'git' > > at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:27) > > at net.rubygrapefruit.platform.internal.WindowsProcessLauncher.start(WindowsProcessLauncher.java:22) > > at net.rubygrapefruit.platform.internal.WrapperProcessLauncher.start(WrapperProcessLauncher.java:36) > > at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:65) > > ... 2 more > > Caused by: java.io.IOException: Cannot run program "git" (in directory "C:\Users\martin.ingham\FIND ODK\Android\odk\collect\collect_app"): CreateProcess error=2, The system cannot find the file specified > > at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25) > > ... 5 more > > Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified > > ... 6 more > > > > > > I have set up the directory structure as per instructions in the Readme. The gradle-config project is checked out at tag 9. > > I have Git installed, and have fixed the Path to Git executable in the default settings in Android Studio (to the exe in \cmd), and have added the path to the Path environment variable (both System and User just in case!). > > > > Running out of ideas of things to look for now :( Any help would be appreciated! > > > > Martin > > > > -- > > You received this message because you are subscribed to the Google Groups "ODK Developers" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit-developers+unsubscribe@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout.