Okay the issue was found!
The problem was not the code but the setting for the google play account on 
that device was set to hidden instead of public!



Am Samstag, 30. Juli 2016 17:28:25 UTC+2 schrieb screenc...@gmail.com:
>
> Hey together,
>
> Im experiencing a strange exception on certain devices and after searching 
> a lot i was not able to find anything related. 
> Seems to happen at some point when calling
> PendingResult<Leaderboards.SubmitScoreResult> pendingResult = Games.
> Leaderboards.submitScoreImmediate(mGoogleApiClient, leaderboard_id, 
> scoreValue);
> pendingResult.setResultCallback(new ResultCallback<Leaderboards.
> SubmitScoreResult>() {
> ...
> });
>
>
> It leads to the problem that the score is never successfully submitted. 
> the ResultCallback however is called.
> Here is the exception from the device log:
>
> I/SurfaceFlinger(  166): [Built-in Screen (type:0)] fps:57.290375,dur:
> 1012.39,max:81.38,min:15.93
> I/WVCdm   (  169): CdmEngine::CloseSession
> E/        (27195): appName=com.google.android.gms.unstable, acAppName=
> /system/bin/surfaceflinger
> E/        (27195): 0
> E/        (27195): appName=com.google.android.gms.unstable, acAppName=
> /system/bin/surfaceflinger
> E/        (27195): 0
> D/PhoneInterfaceManagerEx(  966): [PhoneIntfMgrEx] hasIccCard  simId=0
> D/PhoneInterfaceManagerEx(  966): [PhoneIntfMgrEx] hasIccCard  simId=1
> D/PhoneInterfaceManagerEx(  966): getSubscriberId
> D/ConnectivityService(  718): getActiveNetworkInfo:NetworkInfo: type: WIFI
> [], state: CONNECTED/CONNECTED, reason: (unspecified), extra: "Jannik", 
> roaming: false, failover: false, isAvailable: true, 
> isConnectedToProvisioningNetwork: false, simId: 0/10011
> E/        (27195): appName=com.google.android.gms.unstable, acAppName=
> /system/bin/surfaceflinger
> E/        (27195): 0
> D/PhoneInterfaceManagerEx(  966): [PhoneIntfMgrEx] hasIccCard  simId=0
> D/PhoneInterfaceManagerEx(  966): [PhoneIntfMgrEx] hasIccCard  simId=1
> W/Provider/Settings(27195): Setting install_non_market_apps has moved from 
> android.provider.Settings.Secure to android.provider.Settings.Global.
> V/Provider/Settings(27195):  from settings cache , name = 
> install_non_market_apps , value = 1
> W/System.err(  718): java.lang.IllegalArgumentException: Unknown package: 
> com.google.android.gms.unstable
> W/System.err(  718):    at com.android.server.pm.Settings.
> getInstallerPackageNameLPr(Settings.java:2962)
> W/System.err(  718):    at com.android.server.pm.PackageManagerService.
> getInstallerPackageName(PackageManagerService.java:11193)
> W/System.err(  718):    at android.content.pm.IPackageManager$Stub.
> onTransact(IPackageManager.java:825)
> W/System.err(  718):    at com.android.server.pm.PackageManagerService.
> onTransact(PackageManagerService.java:1779)
> W/System.err(  718):    at android.os.Binder.execTransact(Binder.java:404)
> W/System.err(  718):    at dalvik.system.NativeStart.run(Native Method)
> D/ActivityThread( 6124): SVC-Creating service: CreateServiceData{token=
> android.os.BinderProxy@42590990 className=com.google.android.gms.auth.
> GetToken packageName=com.google.android.gms intent=null}
>
> Exception seems to only appear on certain devices for example HTC Desire 
> 626G on android version 4.4.2
>
> Looking forward to clues what goes wrong :)
> Thanks in advance
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/0193f193-f2af-4e2c-bd5c-a0abce11d95f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to