简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM