Google Play Game Services C ++ SDK not finding Java class NativeSdkEntryPoints

Google Play Game Services works well, but after creating GameServices object the following error occurs. I am using SDK with cocos2d-x.

Java activity is initialized to JNI_OnLoad. The GameServices object creation is initialized as described in the 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?

+3


source to share


1 answer


The error is not fatal and you can ignore it.



Due to a lot of experimentation after getting the same error message, the classes don't seem to exist in the google-play-services jar, but they are not required anyway. All normal services function correctly through the cpp lib despite the error message.

+2


source







All Articles