Skip to content Skip to sidebar Skip to footer

Google Play Game Services Leaderboard - Unable To Set Jars Up Correctly In Eclipse

I am trying to set up my project in Eclipse to implement the new Android Play Services. You can see in my below 3 screenshots that BibleTriviaLite is my project and then BaseGameU

Solution 1:

I encountered similar problems and I followed the guide at https://github.com/playgameservices/android-samples/blob/master/README.md which I found to be reasonably accurate.

Before adding either BaseGameUtils or the Google Play Services Lib to your project, I suggest that you should first resolve the errors in them. This is what I did:

1) I defined the Google Play Services Lib as a library project (Properties ... Android ... check "Is Library")

2) I added the Google Play Services Lib as a reference project to BaseGameUtils

3) I also added the ActionBarSherlock version of the support library to the libraries section of the Build Path of BaseGameUtils (if you do not use ABS then you will not need to do this)

4) I cleaned BaseGameUtils and this then removed the errors from BaseGameUtils.

5) I defined BaseGameUtils as a library project (Properties ... Android ... check "Is Library")

6) I then added BaseGameUtils and the Google Play Services Lib as reference projects to my project

This worked for me. Depending on circumstances, You may find now find that you have some additional issues (e.g. different versions of the support lib in your project. The solutions to this are well-documented on SO).

Good Luck !

Post a Comment for "Google Play Game Services Leaderboard - Unable To Set Jars Up Correctly In Eclipse"