how to build event capture android app

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:

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 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:

  • The project ‘dhis2-android-eventcapture’ may be using a version of Gradle that does not contain the method.

Open Gradle wrapper file

  • The build file may be missing a Gradle plugin.

  • Apply Gradle plugin

    is there anything I am not doing right ?

    rudi hidayat

    (rudihidayat@gmail.com)

    regards


    Mailing list: https://launchpad.net/~dhis2-devs

    Post to : dhis2-devs@lists.launchpad.net

    Unsubscribe : https://launchpad.net/~dhis2-devs

    More help : https://help.launchpad.net/ListHelp

    Fetch and check legacy branch.

    ···

    On Mon, Apr 4, 2016 at 10:53 AM, rudi hidayat 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:

    • The project ‘dhis2-android-eventcapture’ may be using a version of Gradle that does not contain the method.

    Open Gradle wrapper file

  • The build file may be missing a Gradle plugin.

  • Apply Gradle plugin

    is there anything I am not doing right ?

    rudi hidayat

    (rudihidayat@gmail.com)

    regards


    Mailing list: https://launchpad.net/~dhis2-devs

    Post to : dhis2-devs@lists.launchpad.net

    Unsubscribe : https://launchpad.net/~dhis2-devs

    More help : https://help.launchpad.net/ListHelp