Hi.
I want sign-in by google account , and FCM.
So I setup GPSP, and Firebase SDK
GPSP : https://github.com/playgameservices/play-games-plugin-for-unity
Firebase SDK : https://firebase.google.com/docs/unity/setup
I did set-up GPSP and test sign-in , it was success.
but i set-up Firebase SDK after success to sign-in ,
then my app be crashed on app start.
Here is error log.
I need help. Please help.
E/GamesNativeSDK: Exception in dalvik/system/DexClassLoader.loadClass: java.lang.IncompatibleClassChangeError: Class com.google.android.gms.games.NativeSdkCallbacks implements non-interface class com.google.android.gms.nearby.connection.Connections$ConnectionRequestListener (declaration of 'com.google.android.gms.games.NativeSdkCallbacks' appears in /data/data/com.test.testapp/app_.gpg.classloader/d75c8e1bbeab9e1ddffb9d332585db71.jar).
A/art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: RegisterNatives received null jclass
A/art: art/runtime/check_jni.cc:65] in call to RegisterNatives
A/art: art/runtime/check_jni.cc:65] from boolean com.unity3d.player.UnityPlayer.nativeRender()
I have the exact same problem after update to Firebase SDK 10.2.
when execute the code PlayGamesPlatform.Activate() the game crash with this same error.
If I not activate the PlayGamesPlataform, the game open with no problem
Also having this problem
Same problem here.
Same problem here. After updating Firebase to 3.0.0 (SDK 10.2).
Same here.
Same here! My game crashes after update 35 > 36.
As a workaround - revert gpgs to *10.0.1.aar
@hippogamesunity how you revert to 10.0.1? I tired to do so, but project automatically pull 10.2.0 to project. I tried to change gpgs resolver but sill it pull 10.2.0 :(
@brzostek
if you want revert , see this.
(But, It still remains some problem)
https://github.com/playgameservices/play-games-plugin-for-unity/issues/1604
Menu > Assets > Play Service Resolver > Android Resolver >Setting
Turn Off 'Enable Background resolution'
Delete all files, name like 'AssetsPluginsAndroidplay-services-???.arr'
Copy 10.0.1 arr files to that folder
( You can download files at https://drive.google.com/folderview?id=0B-w9u2zDKrHGUmtjMmk2VDhhSjA )
@brzostek, you can find those files in your Android SDK folder. And I would not recommend you to download unverified jars from google drive.
To prevent autoupdate just disable automatic JAR resolution (Assets/Play Games Resolver)
@hippogamesunity thx. I know i've got files in sdk folder, just missing JAR resolution disabling option. Anyway we need to wait for fix from gpgs plugin team though.
@brzostek Yes. We need to wait ...
Is there any way we can contact the GPSP team?
@HoiMinJeong, you need https://github.com/claywilkinson
Same here. The fact that GPG is incompatible with 10.2.0 makes it incompatible with the latest Firebase plugin. Would be nice to get an acknowledgment from the authors and know whether a fix is planned.
@fabrantes Hey fabrantes, thanks for telling that is not compatible with Firebase right now, did you found any temporal solution to that problem? I have the same problem at the moment :(
@daFelix I think GPS 10.1.0 works so you can downgrade to that, but the authors said that a fix is in the works.
@fabrantes Yea, I managed to login successfully with GPS 10.1.0, but can't manage to authenticate with Firebase plugin, I was referring to if you found any solution to authenticate with firebase. (Sorry for my english)
When about to wait for the plugin update?
The same here, when is the fix approximate date release?
So glad I found this, have been going nuts the past few days trying to figure this out.
the GPS 10.1.0 fixes the GPS, but the firebase dont work
Me too....
I'm also having this issue.
crash here too..
same issue, anybody got a better work around for this that still have both GPGS and firebase work at the same time?
Ditto, any feedback from plugin authors?
This has been fixed in plugin 0.9.37 and confirmed to work with Firebase.
Awesome, thank you Clay!
I'm seeing the same crash, but without using unity and without using firebase:
https://github.com/playgameservices/cpp-android-basic-samples/issues/47
The crash came back with gpgs 11.8.0 and Firebase SDK 4.5.0 (.aars like : com.google.firebase.firebase-analytics-11.8.0.aar)

Most helpful comment
This has been fixed in plugin 0.9.37 and confirmed to work with Firebase.