Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Play Game Services C++ SDK does not find NativeSdkEntryPoints java class

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?

like image 804
user3665111 Avatar asked Dec 13 '25 04:12

user3665111


1 Answers

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.

like image 200
Muzza Avatar answered Dec 15 '25 18:12

Muzza



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!