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

LibGpg.so Error #1955

Open
Lelegithub opened this issue Oct 3, 2017 · 16 comments
Open

LibGpg.so Error #1955

Lelegithub opened this issue Oct 3, 2017 · 16 comments

Comments

@Lelegithub
Copy link

@Lelegithub Lelegithub commented Oct 3, 2017

I keep getting GPG DLL not found excetion- Couldn't open LibGPG.so I read somewhere in an old thread to set a static reference in the Android folder, but this has been cancelled or moved somewhere with the latest update. Could you please help me! I can't get it anymore...

@justy-p
Copy link
Contributor

@justy-p justy-p commented Oct 3, 2017

what version of the plugin are you using? I know that at some point i needed that library, but these days i dont.
you might have the older play-games-plugin-support file still somewhere in your project that still requires them?

@Lelegithub
Copy link
Author

@Lelegithub Lelegithub commented Oct 3, 2017

the last one, downaloaded again one hour ago!
image

@Lelegithub
Copy link
Author

@Lelegithub Lelegithub commented Oct 3, 2017

It might be something with a missing package or what ?
These are what I have installed
image

@justy-p
Copy link
Contributor

@justy-p justy-p commented Oct 3, 2017

beats me at the moment, but lets see if we can get there :)
have you got play-games-plugin-support, play-services-auth play=services-games all in the Plugins/Android folder of your unity project?
has your project got currently on the plugin, or are there any other libraries from other plugins?

@Lelegithub
Copy link
Author

@Lelegithub Lelegithub commented Oct 3, 2017

this is what I have
image

@Lelegithub
Copy link
Author

@Lelegithub Lelegithub commented Oct 3, 2017

Can you tell me what is wrong please?

@justy-p
Copy link
Contributor

@justy-p justy-p commented Oct 4, 2017

where is your play-games-plugin-support.aar file?

@Lelegithub
Copy link
Author

@Lelegithub Lelegithub commented Oct 4, 2017

I have deleted beacause you told me that it might have been him to have such reference on gpg. I can put it back but the problem stays there even if is there.

@justy-p
Copy link
Contributor

@justy-p justy-p commented Oct 4, 2017

Ah right, sorry, yes, I meant more that there might be 2 versions lying around for play-games-plugin-support.aar :) if you had one in ANdroid folder thats fine.
Can you check the path of your libgpg.so in the unity folder please? do you have the libraries in the project? If yes, does the folder containing it have spaces?

@Lelegithub
Copy link
Author

@Lelegithub Lelegithub commented Oct 5, 2017

From an old project I found this missing LIBGPG.so so I copied into the project the folder which contains it (play-games-plugin-support). (I don't understand why I tried with an empty project but the unity plugin doesn't install this folder with the libgpg.so by default).
After I copied this folder, I copied back the play-games-plugin-support.aar as you told me. But if I do that I get that error of conflicting library. So I removed it.
Then I built the apk. The Sign in works but the Leaderboard does't work and it launches that error of the UI. What should I do?

screenshot_18
screenshot_1
image

@justy-p
Copy link
Contributor

@justy-p justy-p commented Oct 5, 2017

please check #1940 for the solution

@Lelegithub
Copy link
Author

@Lelegithub Lelegithub commented Oct 5, 2017

Ok now I will do it but what about the conflicting librarires? What should I do with this damn play-games-plugin-support.aar? How can i check to what is conflicting? Should I keep it or remove it?
And could you answer to why installing the plugin into a new project it didn't install the libgps.so library? WHY ??

@justy-p
Copy link
Contributor

@justy-p justy-p commented Oct 5, 2017

conflicting libraries means youve got the same library installed twice in the project. Is this the case?
the play-games-plugin-support.aar library needs to stay. between plugin 0.9.40 and 0.9.41 the library got moved though from a Plugins/Android/MainLibs into Plugins/Android/. In my case somehow the old library wasnt removed, so I had two of them, hence my warning if this is happening to you too.

I might be wrong, but I do not think you need libgpg.so 's any more (I dont have any libgpg library in my test project, it works fine for me)
. The version for 0.9.40 might still need it, but 0.9.41 doesnt. So make sure your play-games-plugin-support.aar is the NEWEST version (delete it and then reinstall it again from the plugin package to make sure). remove the libgpg.so. Its strange that your project still seems to require those libgpg libraries, so you might need to check if any other plugin or library is sitting in your project that shouldnt be there.

@Lelegithub
Copy link
Author

@Lelegithub Lelegithub commented Oct 7, 2017

The only libraries I have in the projects are the one that I've screenshot. No duplicate play-games-plugin-support.aar file. But STILL getting Conflicting libraries error!!

@justy-p
Copy link
Contributor

@justy-p justy-p commented Oct 13, 2017

Hi Lelegithub!
Sorry i didnt reply until now, I got caught up with other things. Could you resolve the issue yet? If not, Id suggest to make yourself a testbed project with only the plugin and see if any of the libraries imported are different from yours.
My test project works with no issue, and reading through your stuff, I cant come up with any more suggestions, sorry!

@creatio-ua
Copy link

@creatio-ua creatio-ua commented Oct 23, 2017

@supersolid-Justy you've saved my day! libgpg.so was the root of all evil in my case! Thanks a ton!

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