-
Notifications
You must be signed in to change notification settings - Fork 273
Description
I was getting the below error when I used the google signin plugin for Unity Android. I have imported the plugin multiple times but still getting DllNotFoundException.
at (wrapper managed-to-native) Google.Impl.GoogleSignInImpl:GoogleSignIn_Create (intptr)
07-04 08:50:29.338 30138 30179 E Unity : at Google.Impl.GoogleSignInImpl..ctor (Google.GoogleSignInConfiguration configuration) [0x00000] in :0
07-04 08:50:29.338 30138 30179 E Unity : at Google.GoogleSignIn.get_DefaultInstance () [0x00000] in :0
07-04 08:50:29.338 30138 30179 E Unity : at SignInSample.SigninSampleScript.OnSignIn () [0x00000] in :0
07-04 08:50:29.338 30138 30179 E Unity : at UnityEngine.Events.InvokableCall.Invoke () [0x00000] in :0
07-04 08:50:29.338 30138 30179 E Unity : at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in :0
07-04 08:50:29.338 30138 30179 E Unity : at UnityEngine.UI.Button.Press () [0x00000] in :0
07-04 08:50:29.338 30138 30179 E Unity : at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in :0
07-04 08:50:29.338 30138 30179 E Unity : at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in :0
07-04 08:50:29.338 30138 30179 E Unity : at UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickH
Activity
jeeteshb commentedon Jul 4, 2018
Getting below error in Editor Log - Failed to fetch the following dependencies:
com.google.android.gms:play-services-analytics-impl:15.0.1
com.google.android.gms:play-services-analytics:15.0.1
com.google.android.gms:play-services-tagmanager-v4-impl:15.0.1
Syrlander commentedon Jul 6, 2018
Have you made sure to run the resolver under Assets in the top menu bar? It seems like you're missing some dependencies generated by the resolver.
jeeteshb commentedon Jul 9, 2018
I have run the resolver from the Assets menu and it successfully resolved the dependencies but after creating the build I got below errors in adb logcat.
Unable to lookup library path for 'native-googlesignin', native render plugin support disabled.
07-09 10:52:27.952 8977 9016 E Unity : Unable to find native-googlesignin
07-09 10:52:28.000 8977 9016 E Unity : DllNotFoundException: native-googlesignin
When I have done force resloved from Assets menu I got the below errors
Resolution failed
Failed to fetch the following dependencies:
com.google.android.gms:play-services-analytics-impl:15.0.1
com.google.android.gms:play-services-analytics:15.0.1
com.google.android.gms:play-services-tagmanager-v4-impl:15.0.1
jeeteshb commentedon Jul 12, 2018
This is resolved now. I was directly copy pasting the google-signin-unity project after downloading it from github and not installing the package google-signin-plugin-1.0.3.unitypackage from https://github.com/googlesamples/google-signin-unity/releases.
Thanks