Ok so i'm stupid problems right now..
I'm trying to use google play services in my app.
i have referenced the library, google play serves, in both my app and BaseGameUtils, and then i references google play services as a library to the BaseGameUtiles librbary, and I get this issue.. Unable to execute dex: Multiple dex files define Lcom/google/android/gms/ads/AdActivity; "
usually what that means is that you have two .jar files that have the same class name. My only problem is I don't know which jar files have the same classes.
Also, I do not have google-play-services as a jar in my libs folder nor have i added it as an external jar in the "java build path" menu.
So all i have are two dependencies google-play-servies, and BaseGameUtils, which also uses google-play-servies as a library. but in the "private libraries" i drop down option for all the .jars i added and then it also has google-play-services included in there. which i don't think should be there..
If i uncheck the "private libraries" option, it load but then i get a "NoClassDefFoundError Android Project" error. I updated ADT to 23.0.2 or what ever the newest one is for today 7/13/14 -
so here's the jist of the problem if i check the "private libraries" option i get multiple dex files issue, i think it has something to do with android support libraries v4. but does "Multiple dex files define Lcom/google/android/gms/ads/AdActivity;" is the error i get.
if i uncheck the option "private libraries" i get NoClassDefFoundError ugh.. can someone tell me what's going on please.
here is a picture of what i did.. after you asked me to do.. mr.. rahandandn (sorry for butchering your name)
and here's more problems it shows me..
here is the java build path menu option fo basegameutiles..
trying to use google play services for leader boards and achievements.
they say use google play services as a library for both your application and for BaseGameUtils.
they also say use google plat services as a library for BaseGameUtils.
when i do that.. i get
"Unable to execute dex: Multiple dex files define Lcom/google/android/gms/ads/AdActivity; "
that means two jar files of the same name or something like that has the same class names..
ok so that means delete the duplicate.. but guy's where is it?
this is the java build path and order export for google play services..
here's some info on BaseGameUtils
and finally my app that im working with..