walterf25 Expert Licensed User Longtime User Feb 18, 2014 #1 I'm currently working on a game using the libgdx library, recently i tried using the google game services library created by Informatix, found here starting on post #20. I also want to implement the admob ads on the same game, the problem is that since both libraries require the same Google-Game-Servicess dk the application throws an error when trying to compile. I can only use either admob library or googlegameservices library at any time but i can not use both libraries at the same time. My question is is there a way to fix this issue? I read a post where Erel adviced to change the name of the DependsOn attribute on the xml file of the library, I've tried doing that but it still won't work. Any advice or suggestion on this would be greatly appreciated. Thanks Walter
I'm currently working on a game using the libgdx library, recently i tried using the google game services library created by Informatix, found here starting on post #20. I also want to implement the admob ads on the same game, the problem is that since both libraries require the same Google-Game-Servicess dk the application throws an error when trying to compile. I can only use either admob library or googlegameservices library at any time but i can not use both libraries at the same time. My question is is there a way to fix this issue? I read a post where Erel adviced to change the name of the DependsOn attribute on the xml file of the library, I've tried doing that but it still won't work. Any advice or suggestion on this would be greatly appreciated. Thanks Walter
Erel B4X founder Staff member Licensed User Longtime User Feb 18, 2014 #2 Which error do you get? Upvote 0
walterf25 Expert Licensed User Longtime User Feb 18, 2014 #3 Erel said: Which error do you get? Click to expand... Sorry Erel forgot to include the image of the error i get, here it is Upvote 0
Erel said: Which error do you get? Click to expand... Sorry Erel forgot to include the image of the error i get, here it is
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2014 #4 Which libraries add a reference to GooglePlayServices? AdMob library is based on the previous SDK which doesn't add a reference. Upvote 0
Which libraries add a reference to GooglePlayServices? AdMob library is based on the previous SDK which doesn't add a reference.
walterf25 Expert Licensed User Longtime User Feb 19, 2014 #5 Erel said: Which libraries add a reference to GooglePlayServices? AdMob library is based on the previous SDK which doesn't add a reference. Click to expand... The library which ads a reference to GooglePlayServices is the Googe Play Services library written by informatix, i know that admob depends on the old GoogleAdmobAdsSdk.jar file, the problem is that google has changed the way the ads are supposed to be implemented, the google-play-services.jar file implements both ads and google play services classes within the same jar file, so i think that since the same classes are found in both GoogleAdmobAdsSdk.jar file and Google-Play-Serivces.jar that's why that error shows up, so far i can only either use the admob library or the googleplayservices library but not both, i would like to use both libraries in my game, but i can't find a solution unless i re-write the admob library based on the new googleplayservices.jar file. What do you think? Upvote 0
Erel said: Which libraries add a reference to GooglePlayServices? AdMob library is based on the previous SDK which doesn't add a reference. Click to expand... The library which ads a reference to GooglePlayServices is the Googe Play Services library written by informatix, i know that admob depends on the old GoogleAdmobAdsSdk.jar file, the problem is that google has changed the way the ads are supposed to be implemented, the google-play-services.jar file implements both ads and google play services classes within the same jar file, so i think that since the same classes are found in both GoogleAdmobAdsSdk.jar file and Google-Play-Serivces.jar that's why that error shows up, so far i can only either use the admob library or the googleplayservices library but not both, i would like to use both libraries in my game, but i can't find a solution unless i re-write the admob library based on the new googleplayservices.jar file. What do you think?
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2014 #6 There is a new version of AdMob based on Google Play Services: http://www.b4x.com/android/forum/threads/admob-tutorial-add-ads-to-your-application.7300/ Upvote 0
There is a new version of AdMob based on Google Play Services: http://www.b4x.com/android/forum/threads/admob-tutorial-add-ads-to-your-application.7300/
walterf25 Expert Licensed User Longtime User Feb 19, 2014 #7 Erel said: There is a new version of AdMob based on Google Play Services: http://www.b4x.com/android/forum/threads/admob-tutorial-add-ads-to-your-application.7300/ Click to expand... Thanks Erel, I really appreciate it Upvote 0
Erel said: There is a new version of AdMob based on Google Play Services: http://www.b4x.com/android/forum/threads/admob-tutorial-add-ads-to-your-application.7300/ Click to expand... Thanks Erel, I really appreciate it