Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DllNotFoundException: native-googlesignin #50

Open
jeeteshb opened this issue Jul 4, 2018 · 4 comments
Open

DllNotFoundException: native-googlesignin #50

jeeteshb opened this issue Jul 4, 2018 · 4 comments

Comments

@jeeteshb
Copy link

jeeteshb commented Jul 4, 2018

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

@jeeteshb
Copy link
Author

jeeteshb commented 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
Copy link

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
Copy link
Author

jeeteshb commented 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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants