Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Bad Call #25

Closed
Closed

Description

@stolk

When I fetch leaderboard entries, I get this error for each fetch:

Bad call: specified package com.google.android.play.games under uid 10197 but it is really 10142

What's the significance of this error?
The leaderboard fetch does work though.

cpp sdk v2.0
latest play games app on device.

Activity

  1. ggfan commented on Dec 12, 2015

    @ggfan
    Contributor

    this is seen on 64 bit arm system, not seeing it on 32 bit arm, if you could confirm, that would be helpful; thanks

  2. stolk commented on Dec 12, 2015

    @stolk
    Author

    I had it on armeabi-v7a which is 32 bit.

  3. ggfan commented on Dec 12, 2015

    @ggfan
    Contributor

    thanks! it is still happens with the latest code, correct? could you also share your OS and hardware type? more info would be really helpful for replication: I will look at it. I am looking it at 64 bit issue now

    appreciate it

  4. stolk commented on Dec 13, 2015

    @stolk
    Author

    This was with gpg v2.0, and an older google-play-services_lib
    But I had trouble with the latest.

  5. stolk commented on Dec 13, 2015

    @stolk
    Author

    So still seeing it, after upgrading google-play-services_lib.

    Device: SM-G900X
    OS: Android 4.4.2
    NDK: r10e

    log:

    V/GamesNativeSDK(17110): Play Games callback indicates connection.
    D/PackageBroadcastService( 6124): Received broadcast action=android.intent.action.PACKAGE_REPLACED and uri=com.steenriver.biplane
    D/ChimeraCfgMgr( 6124): Loading module com.google.android.gms.gass from APK com.google.android.gms
    D/AsyncTaskServiceImpl( 6124): Submit a task: k
    D/k       ( 6124): Processing package: com.steenriver.biplane
    I/GamesNativeSDK(17110): Successfully connected to Google Play.
    I/biplane (17110): Sign in finished with a result of 1
    I/biplane (17110): OnAuthActionFinished
    I/biplane (17110): You are logged in!
    D/ChimeraCfgMgr( 6124): Loading module com.google.android.gms.vision from APK com.google.android.gms
    I/biplane (17110): alut buffers created from file image.
    I/biplane (17110): AMotionEvent_getAxisValue was found.
    I/biplane (17110): EXT_discard_framebuffer was not found.
    I/biplane (17110): CMD_GAINED_FOCUS handled
    D/GassUtils( 6124): Found app info for package com.steenriver.biplane:105. Hash: 4b74e81e8af3d3e34ce3750cf327b997b0023eceede380bac9aaa735e5bcff21
    D/k       ( 6124): Found info for package com.steenriver.biplane in db.
    E/NetworkScheduler.SchedulerReceiver( 6555): Invalid parameter app
    E/NetworkScheduler.SchedulerReceiver( 6555): Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
    D/EnterpriseDeviceManagerService(  894): Creating context as user 0
    W/AppOps  (  894): Bad call: specified package com.google.android.play.games under uid 10197 but it is really 10142
    V/ActivityManager(  894): Binding process pid 17158 to record ProcessRecord{44b2df48 17158:com.sec.android.widgetapp.ap.hero.accuweather/u0a70}, adj -100
    D/EnterpriseDeviceManagerService(  894): Creating context as user 0
    V/ActivityManager(  894): publishContentProviders ContentProviderRecord{44714fd0 u0 com.sec.android.widgetapp.ap.hero.accuweather/.provider.accuweather.AccuContentProvider}, proc adj 0
    V/ActivityManager(  894): getContentProviderImpl success ContentProviderRecord{436ac440 u0 com.sec.android.daemonapp/.ap.common.WeatherContentProvider}
    I/ActivityManager(  894): Killing 16353:com.sec.android.widgetapp.digitalclockeasy/u0a94 (adj 15): empty #31
    I/ActivityManager(  894): Killing 16365:com.sec.android.widgetapp.easymodecontactswidget/u0a9 (adj 15): empty #31
    W/AppOps  (  894): Bad call: specified package com.google.android.play.games under uid 10197 but it is really 10142
    I/Icing   ( 6124): Indexing 9C6EAE66177A85A7C1572CA48676DCD381236D23 from com.google.android.gms
    I/Icing   ( 6124): Indexing done 9C6EAE66177A85A7C1572CA48676DCD381236D23
    I/biplane (17110): Leaderboard summary for 'longest_kill_streak' response status: 1
    I/biplane (17110): longest_kill_streak score for player is '3'
    W/AppOps  (  894): Bad call: specified package com.google.android.play.games under uid 10197 but it is really 10142
    I/biplane (17110): Leaderboard summary for 'planes_shot_down' response status: 1
    I/biplane (17110): planes_shot_down score for player is '3'
    W/AppOps  (  894): Bad call: specified package com.google.android.play.games under uid 10197 but it is really 10142
    I/Icing   ( 6124): Indexing 9C6EAE66177A85A7C1572CA48676DCD381236D23 from com.google.android.gms
    I/Icing   ( 6124): Indexing done 9C6EAE66177A85A7C1572CA48676DCD381236D23
    I/biplane (17110): Leaderboard summary for 'combat_missions_won' response status: 1
    I/biplane (17110): combat_missions_won score for player is '0'
    W/AppOps  (  894): Bad call: specified package com.google.android.play.games under uid 10197 but it is really 10142
    
  6. ggfan commented on Dec 13, 2015

    @ggfan
    Contributor

    I saw this one while building for 64 bit / Android L/Nexus9, let me follow my device route and hopefully bottom it out; then verify it is really also addressed your platform too. thank you so much for the information and logcat upload.

  7. ggfan commented on Dec 14, 2015

    @ggfan
    Contributor

    actually you are right: I did see it on 32 bit nexus 9. but the apps could still login. On 64 bit, it crashes right away. This bad call error is not related to the crash on 64. it is separate from the problem I saw, will debug separately

  8. DrHackenstein commented on May 15, 2016

    @DrHackenstein

    I'm getting a very similar error when trying to access the leaderboards:
    Bad call: specified package com.google.android.play.games under uid 10066
    Testing on a Samsung Galaxy S2 with a ARMv7 build.

  9. claywilkinson commented on May 15, 2016

    @claywilkinson
    Contributor

    This message is harmless log-spam. This is a warning in the Android code about a package being loaded by one process and then used by another. It happens in the case of games when a game app internally hands off a message to send to the backend GPGS servers. It can be safely ignored.

  10. DrHackenstein commented on May 16, 2016

    @DrHackenstein

    Okay, then something else must be responsible for my app crashing when I try to access a leaderboard.
    EDIT: Yep, my bad. Tried to get the user profile names despite there were no scores on the leaderboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions