android - Adding Google-Play-Services to library project -


i'm working on map library , i'm using google-play-services. far good. problem this:

  1. i include google-play-services library project in map library (using: properties -> android -> add library). tested using client within library (unchcecking library checkbox , launching mainactivity) , works fine!
  2. when include map library in sample client project, client project won't have access google play services, why? if include google play services in client project, get:

    [2013-07-18 08:40:04 - dex loader] unable execute dex: multiple dex files define lcom/google/android/gms/r$attr;

    [2013-07-18 08:40:04 - maps-sample-android] conversion dalvik format failed: unable execute dex: multiple dex files define lcom/google/android/gms/r$attr;

android won´t let include google play services on own or use library project, there way solve this?

[2013-07-18 08:40:04 - dex loader] unable execute dex: multiple dex files define lcom/google/android/gms/r$attr;

[2013-07-18 08:40:04 - maps-sample-android] conversion dalvik format failed: unable execute dex: multiple dex files define lcom/google/android/gms/r$attr;

these errors suggest have 2 different jar files both trying declare same variable. perhaps have 2 different versions of google-play-services?


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -