I'm trying to store and display the user's game score in a leaderboard using Google Play Game Services . I'm following this --> https://developers.google.com/games/services/android/init . The issue arises when I import the BaseGameUtils library in my project , then all the andEngine classes display an error (for eg. Camera cannot be resolved and my imports also display an error) . Also , there are two BaseGameActivity.java classes (one in the andEngine jar and one in the BaseGameUtils library ) . How to resolve this issue , please help .
相关问题
- Unexpected response code 403 for https://www.googl
- What is wrong with my code PhysicsRemoveExample.ja
- Send notification when inviting to multiplayer gam
- Load Animation with Texture Packer in andengine
- Fast moving bodies miss the collision sometimes in
相关文章
- libGDX - Google Play Game Services in Android Stud
- App not correctly configured to use Google Play se
- AndEngine Sprite/Box2D Body removal crashes my pro
- libGDX Google Play Game Services - Android
- Android Toast Messages not working
- android turn-based multiplayer custom invite scree
- Switching from AndEngine to libgdx - what to know?
- Can't run RealTimeRoom Google-Play-Games iOS B
I resolved it in following way: 1. Changed the name of BaseGameActivity (from BaseGameUtils lib) to GoogleBaseGameActivity 2. Made it to extend AndEngine BaseGameActivity 3. In my main game activty I extend GoogleBaseGameActivty instead of Andengine one.
Object oriented programming guys:)