- Home /
Need help with Google Ads and Analytics Error - Missing Method Exception
Dear Community,
I receive the below console error message and am not sure where to start. The error message count increases very fast, even when the game is not in Play Mode. I have loaded Firebase, Google Analytics and Admob SDKs into the project which is causing the problem.
Any guidance would be greatly appreciated.
Error Message:
MissingMethodException: Method not found: 'GooglePlayServices.UnityCompat.get_ApplicationId'. UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:197)
Answer by moyinzunza · Apr 28, 2017 at 05:48 AM
First add the admob package then update the play services resolver
Assets-> Play Services Resolver -> Version Handler -> Update
now add the firebase analytics package
enjoy! :)
Answer by kel2525m · Apr 28, 2017 at 05:53 AM
I have the same problem.
After try to remove and reinstall the packages so I found the cause of this problem.
The problem is conflict between these 4 dlls Google.IOSResolver.dll and Google.IOSResolver_v1.x.xx.x.dll Google.JarResolver.dll and Google.JarResolver_v1.x.xx.x.dll Google.PackageManager.dll and Google.PackageManager_v1.x.xx.x.dll Google.VersionHandler.dll and Google.VersionHandler_v1.x.xx.x.dll
So I decide to remove and reinstall again. - The first time I remove 4 file that not has _v1.x.xx.x on it name, same problem occur. - Second time I remove 4 file that has _v1.x.xx.x on it name, same problem occur.
So the third time I reinstall both of them and I don't delete any conflict dll. I'm not sure what I done later. But when I remove the file play-services-resolver_v1.x.xx.x.txt and wait for a few second unity popup the dialog ask me about resolving this conflict by deleting the deprecated version.
And the result from resolving conflict by unity, some dll files are automatically deleted and Unity recreate file play-services-resolver.txt with this four dll inside.
Google.IOSResolver_v1.x.xx.x.dll Google.JarResolver_v1.x.xx.x.dll Google.PackageManager.dll Google.VersionHandler.dll
After that the problem is gone.
So I think this is the dll combination that work if you install these two packages.
Answer by incytel · Aug 26, 2019 at 08:40 AM
Unfortunately the only solution that worked for us was to delete the previously imported Firebase and all of its libraries and import a newer version of Firebase. Hope this helps.
Your answer
Follow this Question
Related Questions
HELP Build error for Android Unity 2018.2.21f1 in Google Services 0 Answers
Google Play Games Android Configuration Error 0 Answers
shooting script error (java) 2 Answers
Destroy Banner/Interstitial ads of AdMob? 0 Answers
IL2CPP Google AdMob problem 0 Answers