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: gpg #287

Closed
mkolinichenko opened this issue Nov 22, 2014 · 5 comments
Closed

DllNotFoundException: gpg #287

mkolinichenko opened this issue Nov 22, 2014 · 5 comments

Comments

@mkolinichenko
Copy link

I'm getting DllNotFoundException with 0.9.10 on Android device in GooglePlayGames.Native.PInvoke.GameServicesBuilder.Create() while calling Social.localUser.Authenticate. Where is that dll?

@mrggl
Copy link
Contributor

mrggl commented Nov 24, 2014

Which android device running which version of the OS are seeing this on?

The library should be included as part of the plugin - you can verify this by unpacking your game APK and looking for libgpg.so. Let us know if this is not the case, as that would indicate something going wrong during the build process.

@toggiee
Copy link

toggiee commented Nov 24, 2014

I get same error on Galaxy note phone and Android 4.1.2. I install same apk to Nexus 5 (os: android 5) and it works perfectly.

@nosmirck
Copy link

I'm having the same problem, I checked my .apk and there is a libgpg.so under /lib.

I'm following all the steps in the tutorial, using the "Minimal" example and the app is installing with no errors, when it runs, I tap on the "Authenticate" and the label changes to "Authenticating..." but nothing else happens, even after minutes it stuck there. The device I'm testing is a Samsung Galaxy S4 mini Duos, 4.2.2, Google Play Services version: 6.1.88 (1557022-034) stock.

I checked with adb logcat and this is the result:


E/Unity (31593): Unable to find gpg
E/Unity (31593): Unable to find gpg
I/Unity (31593): DllNotFoundException: gpg
I/Unity (31593): at (wrapper managed-to-native) GooglePlayGames.Native.Cwrapper.Builder:GameServices_Builder_Construct ()
I/Unity (31593): at GooglePlayGames.Native.PInvoke.GameServicesBuilder.Create () [0x00000] in :0
I/Unity (31593): at GooglePlayGames.Native.NativeClient.InitializeGameServices () [0x00000] in :0
I/Unity (31593): at GooglePlayGames.Native.NativeClient.Authenticate (System.Action1 callback, Boolean silent) [0x00000] in <filename unknown>:0 I/Unity (31593): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action1 callback, Boolean silent) [0x00000] in :0
I/Unity (31593): at GooglePlayGames.PlayGamesPlatform.Authenticate (System.Action1 callback) [0x00000] in <filename unknown>:0 I/Unity (31593): at GooglePlayGames.PlayGamesLocalUser.Authenticate (System.Action1 callback) [0x00000] in :0
I/Unity (31593): at MainGui.OnGUI () [0x00000] in :0
I/Unity (31593):
I/Unity (31593): (Filename: Line: -1)

I used another device after (installing the same apk) this time was a rooted Samsung Galaxy S3 with 4.4.4 cyanogen mod 11 from a friend and it worked great, it authenticated and gave no errors

I also tried with a BLU Quattro 4.5 HD, Android 4.0.4, Google Play Services 6.5.87 (1599771-036) and didn't work.

How can we solve this?

Thanks in advance for any help! you guys are doing a great work!

@mrggl
Copy link
Contributor

mrggl commented Nov 24, 2014

Hi guys,

I've posted a list of steps that might address this issue here:

#280 (comment)

Can you give that a shot and see if it helps?

@mrggl
Copy link
Contributor

mrggl commented Nov 24, 2014

Also, I'm closing the issue in favor of the other - lets centralize communication there.

#280

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

4 participants