# how to build event capture android app

**URL:** <https://community.dhis2.org/t/how-to-build-event-capture-android-app/32891>\
**Category:** Support - Assistance technique\
**Created:** [4 April 2016 08:53 UTC](https://community.dhis2.org/t/how-to-build-event-capture-android-app/32891 "2016-04-04T08:53:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rudi\_hidayat](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/r/c5a1d2/32.png) [@rudi\_hidayat](https://community.dhis2.org/u/rudi_hidayat)\
**Post date:** [4 April 2016 08:53 UTC](https://community.dhis2.org/t/how-to-build-event-capture-android-app/32891/1 "2016-04-04T08:53:41Z")

</div>

Hi all

I am trying to load Event Capture android app in android studio 1.5.1

I created folder like this :

- eventcapture

—dhis2-android-eventcapture

—dhis2-android-sdk

i’ve already cloning from github repo dhis2-android-eventcapture and dhis2-android-sdk

when I build the project I got this error :

Error:(107, 0) Gradle DSL method not found: ‘debugCompile()’

Possible causes:

- 

- 

is there anything I am not doing right ?

regards

**rudi hidayat**

([rudihidayat@gmail.com](mailto:rudihidayat@gmail.com))

---

<div class="post-metadata">

**Author:** ![Erling\_Fjeldstad](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/e/76d3ee/32.png) [@Erling\_Fjeldstad](https://community.dhis2.org/u/Erling_Fjeldstad)\
**Post date:** [4 April 2016 08:57 UTC](https://community.dhis2.org/t/how-to-build-event-capture-android-app/32891/2 "2016-04-04T08:57:11Z")

</div>

Hi Rudi,

Try to write in git shell for both Event capture and Android SDK project: _git checkout 2.22-legacy_

Regards,

Erling

> **···**
>
> On Mon, Apr 4, 2016 at 10:53 AM, rudi hidayat [rudihidayat@gmail.com](mailto:rudihidayat@gmail.com) wrote:
> 
> > Hi all
> 
> > I am trying to load Event Capture android app in android studio 1.5.1
> 
> > 
> 
> > I created folder like this :
> 
> > 
> 
> > - eventcapture
> 
> > —dhis2-android-eventcapture
> 
> > —dhis2-android-sdk
> 
> > 
> 
> > i’ve already cloning from github repo dhis2-android-eventcapture and dhis2-android-sdk
> 
> > 
> 
> > when I build the project I got this error :
> 
> > Error:(107, 0) Gradle DSL method not found: ‘debugCompile()’
> 
> > Possible causes:
> > 
> > -
> 
> > Open Gradle wrapper file
> > 
> > -
> 
> > Apply Gradle plugin
> 
> > 
> 
> > is there anything I am not doing right ?
> 
> > 
> 
> > 
> 
> > **rudi hidayat**
> 
> > ([rudihidayat@gmail.com](mailto:rudihidayat@gmail.com))
> 
> > regards
> 
> > * * *
> > 
> > Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
> > 
> > Post to : [dhis2-devs@lists.launchpad.net](mailto:dhis2-devs@lists.launchpad.net)
> > 
> > Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
> > 
> > More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)

---

<div class="post-metadata">

**Author:** ![Natesh\_Relhan](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/n/e47774/32.png) [@Natesh\_Relhan](https://community.dhis2.org/u/Natesh_Relhan)\
**Post date:** [4 April 2016 11:03 UTC](https://community.dhis2.org/t/how-to-build-event-capture-android-app/32891/3 "2016-04-04T11:03:05Z")

</div>

Fetch and check legacy branch.

> **···**
>
> On Mon, Apr 4, 2016 at 10:53 AM, rudi hidayat [rudihidayat@gmail.com](mailto:rudihidayat@gmail.com) wrote:
> 
> > Hi all
> 
> > I am trying to load Event Capture android app in android studio 1.5.1
> 
> > 
> 
> > I created folder like this :
> 
> > 
> 
> > - eventcapture
> 
> > —dhis2-android-eventcapture
> 
> > —dhis2-android-sdk
> 
> > 
> 
> > i’ve already cloning from github repo dhis2-android-eventcapture and dhis2-android-sdk
> 
> > 
> 
> > when I build the project I got this error :
> 
> > Error:(107, 0) Gradle DSL method not found: ‘debugCompile()’
> 
> > Possible causes:
> > 
> > -
> 
> > Open Gradle wrapper file
> > 
> > -
> 
> > Apply Gradle plugin
> 
> > 
> 
> > is there anything I am not doing right ?
> 
> > 
> 
> > 
> 
> > **rudi hidayat**
> 
> > ([rudihidayat@gmail.com](mailto:rudihidayat@gmail.com))
> 
> > regards
> 
> > * * *
> > 
> > Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
> > 
> > Post to : [dhis2-devs@lists.launchpad.net](mailto:dhis2-devs@lists.launchpad.net)
> > 
> > Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
> > 
> > More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
