Android Question java.lang.IllegalArgumentException: already added

Discussion in 'Android Questions' started by Embouk, May 3, 2015.

  1. Embouk

    Embouk Member Licensed User

    I'm after some help if anyone knows the answer.

    I recently updated google play services and a few other things and now I can't seem to run admob and analytics libraries together. I'm getting the following error

    java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/analytics/internal/Command

    I can use the libraries individually but not together.

    I've searched the forum and couldn't really find anything. Or should I say anything I understand.

    any help would be much appreciated.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Are you using the latest Analytics library?
  3. Embouk

    Embouk Member Licensed User

    Hi Erel

    I was using v3 but have just updated to v4 and now everything is working again.

    I forgot it was updated

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice