Help to merge 3 files .apk of ODK to one file ODK Tables

I'm build an app for some survey with ODK but when using it, I must have 5
android projects

  • google-play-services_lib -> library
  • Android Common -> library -> include google-play-services_lib
  • ODKSync -> include Android Common
  • ODKSurvey -> include Android Common
  • ODK Tables -> include Android Common

And default, It will build 3 .apk ODKSync.apk, ODKSurvey.apk, ODK
Tables.apk

So I added ODKSync and ODKSurvey to ODK Tables but it has errors and
cannot build any file apk

[2016-05-31 11:34:06 - Dex Loader] Unable to execute dex: Multiple dex
files define Lcom/google/android/gms/R$attr;
[2016-05-31 11:34:06 - ODK Tables] Conversion to Dalvik format failed:
Unable to execute dex: Multiple dex files define
Lcom/google/android/gms/R$attr;

Please help me to merge it,

Thanks

This is not how our software is designed to be built or used.

··· On Mon, May 30, 2016 at 9:51 PM, Lê Tuấn Tài wrote:

I'm build an app for some survey with ODK but when using it, I must have 5
android projects

  • google-play-services_lib -> library
  • Android Common -> library -> include google-play-services_lib
  • ODKSync -> include Android Common
  • ODKSurvey -> include Android Common
  • ODK Tables -> include Android Common

And default, It will build 3 .apk ODKSync.apk, ODKSurvey.apk, ODK
Tables.apk

So I added ODKSync and ODKSurvey to ODK Tables but it has errors and
cannot build any file apk

[2016-05-31 11:34:06 - Dex Loader] Unable to execute dex: Multiple dex
files define Lcom/google/android/gms/R$attr;
[2016-05-31 11:34:06 - ODK Tables] Conversion to Dalvik format failed:
Unable to execute dex: Multiple dex files define
Lcom/google/android/gms/R$attr;

Please help me to merge it,

Thanks

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