Open imixerpro opened 3 years ago
I've just encountered the same problem. If I use implementation 'com.google.android.gms:play-services-games:21.0.0' in my gradle then it causes a crash in gpg::GameServices::Builder::Create. However, if I change the gradle to use 20.0.1 then it works fine.
For some reason, when com.google.android.gms:play-services-games:21.0.0 is used we experience crashes at
gpg::JavaClass::FinishClassRegistration(_JNIEnv, _jclass)+136 gpg::JavaClass::Register(_JNIEnv, gpg::JavaReference const&)+368 gpg::JavaClass::RegisterEmbeddedDexClassesInternal(gpg::JavaReference const&, bool, char const, char const, std::ndk1::basic_string<char, std::__ndk1::char_traits, std:: ndk1::allocator> const&, std::ndk1::vector<gpg::JavaClass*, std::ndk1::allocator<gpg::JavaClass*>> const&)+1148
gpg::JavaClass::RegisterEmbeddedDexClasses(gpg::JavaReference const&)+84
gpg::AndroidPlatformConfiguration::Valid() const+104
gpg::GameServices::Builder::Create(gpg::AndroidPlatformConfiguration const&)+76
Please, note that everything works just fine with when com.google.android.gms:play-services-games:18.0.1 is used.