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

Android - Bad call: specified package com.google.android.play.games under uid #1698

Closed
gasior opened this issue Apr 14, 2017 · 3 comments
Closed

Comments

@gasior
Copy link

gasior commented Apr 14, 2017

Unity 5.5.2.f1, play games 0.9.37.

On our game, when user kills enemy, we report kill as incremental achievement like this:

GooglePlayGames.PlayGamesPlatform.Instance.IncrementAchievement(GetAchievementId(achievement), value, (bool success) =>
            {
                if (!success)
                {
                    OnAchievementReportFailure(achievement, value);
                }
            });

On one kill we can see several of these in logcat:

04-13 10:17:41.104  3723  4206 W AppOps  : Bad call: specified package com.google.android.play.games under uid 10342 but it is really 10194
04-13 10:17:41.104  3723  4206 W AppOps  : java.lang.RuntimeException: here
04-13 10:17:41.104  3723  4206 W AppOps  : 	at com.android.server.AppOpsService.getOpsRawLocked(AppOpsService.java:1356)
04-13 10:17:41.104  3723  4206 W AppOps  : 	at com.android.server.AppOpsService.checkPackage(AppOpsService.java:1035)
04-13 10:17:41.104  3723  4206 W AppOps  : 	at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:169)
04-13 10:17:41.104  3723  4206 W AppOps  : 	at android.os.Binder.execTransact(Binder.java:573)

Before 5.5.2f1 we were using 5.3.
I can remember "AppsOps: Bad" call messages there also, but without exception.
What's going on?

@Honikou
Copy link

Honikou commented Apr 14, 2017

same issue for us

@claywilkinson
Copy link

The Bad call message is annoying, but harmless log spam, as well as the RuntimeException: here message.

@shi-yh
Copy link

shi-yh commented Jun 5, 2018

hello,had you sloved it? i have the same issue

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