The Google Play Games Services works well, but there comes following error after creating GameServices object. I'm using SDK with cocos2d-x.
Java Activity is initialized within JNI_OnLoad. Creating the GameServices object is initialized as descripted in Googles C++ SDK docs.
Google Play Game Services C++ SDK 1.2
Google Play Services Revision 20
Android NDK 9d
10-22 08:07:43.474: E/GamesNativeSDK(26078): Exception in dalvik/system/DexClassLoader.loadClass: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.games.NativeSdkEntryPoints" on path: DexPathList[[zip file "/data/data/com.CompanyName.MyApp/app_.gpg.classloader/921cd45b6e4d26e0809d5e163b7327ee.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]].
Is this error critical?
And how can I fix this?
The error is not critical and you can ignore it.
From much experimentation myself after getting the same error message, the classes do not appear to exist in google-play-services jar, but they are not required anyway. All the normal services function correctly through the cpp lib despite the error message.