Android - BaseGameUtil Complicated Import
Posted
by
Fabiow Quixadá
on Stack Overflow
See other posts from Stack Overflow
or by Fabiow Quixadá
Published on 2014-08-22T16:15:08Z
Indexed on
2014/08/22
16:20 UTC
Read the original article
Hit count: 168
android
I've seen many topics in stackoverflow, such as Cannot import BaseGameUtils (Eclipse weirdness) and Android: cannot import BaseGameUtils successfully in Eclipse but none resolved my problem.
I've followed https://developer.android.com/google/play-services/setup.html#Setup - the Add Google Play Services to Your Project [Using Eclipse with ADT], I THINK my project correctly references the google play services lib since up to that point nothing wrong happened.
Then, following https://developers.google.com/games/services/android/quickstart, I've downloaded BaseGameUtils but when I import the two projects [TypeANumber & BaseGameUtil], they came named as main and MainActivity. I've renamed BaseGameUtil as so and have marked it as lib and imported it to my project through Properties > Android > Library, but I can't extend extend a class from BaseGameUtil because it's not even suggested.
Also, I have not installed Android L and Android 4.4W from SDK Manager in Eclipse, altough I think that's no the case.
Can anyone please help in this?
Thanks so much in advance
© Stack Overflow or respective owner