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: Unable to load DLL 'native-googlesignin' #267

Open
rossojr92 opened this issue Nov 26, 2024 · 3 comments
Open

DllNotFoundException: Unable to load DLL 'native-googlesignin' #267

rossojr92 opened this issue Nov 26, 2024 · 3 comments

Comments

@rossojr92
Copy link

Hi
We started using this plugin long time ago.
Now, after updating Unity at 2022.3.50f1, on Android we are receiving this error log when we try to interact with google:

DllNotFoundException: Unable to load DLL 'native-googlesignin'. Tried the load the following dynamic libraries: Unable to load dynamic library 'native-googlesignin' because of 'Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library "native-googlesignin" not found

Do you know any possible root cause for this?
Other relevant plugin in the project:

  • GoogleMobileAds 9.3.0
  • LevelPlay 8.5.0
  • Firebase 11.9.0
  • Facebook 17.0.0

I'm not sure where to start looking for the issue.

@mtribe-elaine
Copy link

Same issue, did you manage to solve it ?

@rossojr92
Copy link
Author

Yes, in my case it was related to the External Dependency Manager for Unity.
The latest version of that plugin was creating a wrong entry in the settingsTemplate.gradle file.

It was generating:

maven { url (unityProjectPath + "/Assets/GoogleSignIn/Editor/m2repository") }

intead of

maven { url (unityProjectPath + "/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository") }

Don't know why the new version of EDM4U is doing that. I had to fix it manually in the settingsTemplate.

@fzfking
Copy link

fzfking commented Dec 6, 2024

Yes, in my case it was related to the External Dependency Manager for Unity. The latest version of that plugin was creating a wrong entry in the settingsTemplate.gradle file.

It was generating:

maven { url (unityProjectPath + "/Assets/GoogleSignIn/Editor/m2repository") }

intead of

maven { url (unityProjectPath + "/Assets/GeneratedLocalRepo/GoogleSignIn/Editor/m2repository") }

Don't know why the new version of EDM4U is doing that. I had to fix it manually in the settingsTemplate.

thanks, was same issue, helped

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

3 participants