build event tracker fail

hello All

I am trying to build android dhis2 event capture app ,

I have already clone project dhis2 event capture and dhis2 android sdk

please see folder structure attached picture

I am using android studio 1.5.1

in android studio , I choose menu ‘Open’, and choose build.graddle file in project dhis2 event capture

but Error:Configuration with name ‘default’ not found.

Is there anything I am not doing right ?

image

···

regards

rudi hidayat

(rudihidayat@gmail.com)

Hi Rudi,

You need to switch both SDK and EventCapture repositories to develop branch.

From terminal, navigate to dhis2-android-sdk folder and execute next command:

git checkout develop

Then try to do the same in dhis2-android-eventcapture.

Let me know if that does not solve the problem.

Best regards,

Araz

···

On Jun 13, 2016 6:43 AM, “rudi hidayat” rudihidayat@gmail.com wrote:

hello All

I am trying to build android dhis2 event capture app ,

I have already clone project dhis2 event capture and dhis2 android sdk

please see folder structure attached picture

I am using android studio 1.5.1

in android studio , I choose menu ‘Open’, and choose build.graddle file in project dhis2 event capture

but Error:Configuration with name ‘default’ not found.

Is there anything I am not doing right ?


regards

rudi hidayat

(rudihidayat@gmail.com)


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

Hi Araz,

I think the current stable branch is worth mentioning in README.md so that everyone would be able to build the apps on their own.

Regards,

Sultan Ahamar.

···

On Mon, Jun 13, 2016 at 11:04 AM, Araz Abishov araz@dhis2.org wrote:

Hi Rudi,

You need to switch both SDK and EventCapture repositories to develop branch.

From terminal, navigate to dhis2-android-sdk folder and execute next command:

git checkout develop

Then try to do the same in dhis2-android-eventcapture.

Let me know if that does not solve the problem.

Best regards,

Araz

On Jun 13, 2016 6:43 AM, “rudi hidayat” rudihidayat@gmail.com wrote:

hello All

I am trying to build android dhis2 event capture app ,

I have already clone project dhis2 event capture and dhis2 android sdk

please see folder structure attached picture

I am using android studio 1.5.1

in android studio , I choose menu ‘Open’, and choose build.graddle file in project dhis2 event capture

but Error:Configuration with name ‘default’ not found.

Is there anything I am not doing right ?


regards

rudi hidayat

(rudihidayat@gmail.com)


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


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

Hi Sultanahamar,

Both master and develop branches are stable at the moment (you should be able to build from both of them). The only difference is that develop branch is ahead of master and has dependency on latest android plugin for gradle (which can probably fix aforementioned problem of Rudi).

Best regards,

···

On Mon, Jun 13, 2016 at 11:04 AM, Araz Abishov araz@dhis2.org wrote:

Hi Rudi,

You need to switch both SDK and EventCapture repositories to develop branch.

From terminal, navigate to dhis2-android-sdk folder and execute next command:

git checkout develop

Then try to do the same in dhis2-android-eventcapture.

Let me know if that does not solve the problem.

Best regards,

Araz

On Jun 13, 2016 6:43 AM, “rudi hidayat” rudihidayat@gmail.com wrote:

hello All

I am trying to build android dhis2 event capture app ,

I have already clone project dhis2 event capture and dhis2 android sdk

please see folder structure attached picture

I am using android studio 1.5.1

in android studio , I choose menu ‘Open’, and choose build.graddle file in project dhis2 event capture

but Error:Configuration with name ‘default’ not found.

Is there anything I am not doing right ?


regards

rudi hidayat

(rudihidayat@gmail.com)


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


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

Hi Araz

thanks for your info, I can build successfully after checkout source code from develop branch

thanks so much :slight_smile:

···

On Mon, Jun 13, 2016 at 3:55 PM, Araz Abishov araz@dhis2.org wrote:

Hi Sultanahamar,

Both master and develop branches are stable at the moment (you should be able to build from both of them). The only difference is that develop branch is ahead of master and has dependency on latest android plugin for gradle (which can probably fix aforementioned problem of Rudi).

Best regards,

Araz Abishov,

Android developer, DHIS 2

University of Oslo

https://www.dhis2.org/

On June 13, 2016 at 10:46:28 AM, Sultanahamar Mohammad (sultanm@thoughtworks.com) wrote:

Hi Araz,

I think the current stable branch is worth mentioning in README.md so that everyone would be able to build the apps on their own.

Regards,

Sultan Ahamar.

regards

rudi hidayat

(rudihidayat@gmail.com)

On Mon, Jun 13, 2016 at 11:04 AM, Araz Abishov araz@dhis2.org wrote:

Hi Rudi,

You need to switch both SDK and EventCapture repositories to develop branch.

From terminal, navigate to dhis2-android-sdk folder and execute next command:

git checkout develop

Then try to do the same in dhis2-android-eventcapture.

Let me know if that does not solve the problem.

Best regards,

Araz

On Jun 13, 2016 6:43 AM, “rudi hidayat” rudihidayat@gmail.com wrote:

hello All

I am trying to build android dhis2 event capture app ,

I have already clone project dhis2 event capture and dhis2 android sdk

please see folder structure attached picture

I am using android studio 1.5.1

in android studio , I choose menu ‘Open’, and choose build.graddle file in project dhis2 event capture

but Error:Configuration with name ‘default’ not found.

Is there anything I am not doing right ?


regards

rudi hidayat

(rudihidayat@gmail.com)


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


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