android - Google Play Services sign in error -


i have been trying run example named buttonclicker2000: set , works on real device. on emulator 4.2.2 when trying sign in unknown error.

here logcat can me out here?

07-17 20:40:41.293: e/surfaceflinger(37): ro.sf.lcd_density must defined build property 07-17 20:40:50.233: e/surfaceflinger(37): ro.sf.lcd_density must defined build property 07-17 20:40:51.743: e/surfaceflinger(37): ro.sf.lcd_density must defined build property 07-17 20:40:51.873: e/surfaceflinger(37): ro.sf.lcd_density must defined build property 07-17 20:41:03.104: e/volley(748): [91] il.a: unexpected response code 403 https://www.googleapis.com/games/v1/players/me 07-17 20:41:03.294: i/choreographer(1780): skipped 38 frames!  application may doing work on main thread. 07-17 20:41:03.384: i/choreographer(1348): skipped 54 frames!  application may doing work on main thread. 07-17 20:41:03.554: e/volley(748): [91] il.a: unexpected response code 403 https://www.googleapis.com/games/v1/players/me 07-17 20:41:03.614: e/signinintentservice(748): access not configured 07-17 20:41:03.614: e/signinintentservice(748): aol 07-17 20:41:03.614: e/signinintentservice(748):     @ ajy.a(sourcefile:108) 07-17 20:41:03.614: e/signinintentservice(748):     @ abm.a(sourcefile:213) 07-17 20:41:03.614: e/signinintentservice(748):     @ abm.a(sourcefile:194) 07-17 20:41:03.614: e/signinintentservice(748):     @ aav.a(sourcefile:486) 07-17 20:41:03.614: e/signinintentservice(748):     @ aqu.a(sourcefile:221) 07-17 20:41:03.614: e/signinintentservice(748):     @ com.google.android.gms.games.service.gamessigninintentservice.onhandleintent(sourcefile:343) 07-17 20:41:03.614: e/signinintentservice(748):     @ android.app.intentservice$servicehandler.handlemessage(intentservice.java:65) 07-17 20:41:03.614: e/signinintentservice(748):     @ android.os.handler.dispatchmessage(handler.java:99) 07-17 20:41:03.614: e/signinintentservice(748):     @ android.os.looper.loop(looper.java:137) 07-17 20:41:03.614: e/signinintentservice(748):     @ android.os.handlerthread.run(handlerthread.java:60) 07-17 20:41:04.594: i/choreographer(580): skipped 76 frames!  application may doing work on main thread. 07-17 20:41:05.063: d/buttonclicker2000(1780): sign-in failed. 07-17 20:41:05.083: i/choreographer(1780): skipped 189 frames!  application may doing work on main thread. 07-17 20:41:05.443: e/surfaceflinger(37): ro.sf.lcd_density must defined build property 07-17 20:41:05.613: i/choreographer(1780): skipped 127 frames!  application may doing work on main thread. 07-17 20:41:06.853: d/dalvikvm(1348): gc_explicit freed 83k, 36% free 2605k/4040k, paused 5ms+8ms, total 701ms 07-17 20:41:06.863: e/strictmode(1348): class com.google.android.gms.games.ui.signin.signinactivity; instances=2; limit=1 07-17 20:41:06.863: e/strictmode(1348): android.os.strictmode$instancecountviolation: class com.google.android.gms.games.ui.signin.signinactivity; instances=2; limit=1 07-17 20:41:06.863: e/strictmode(1348):     @ android.os.strictmode.setclassinstancelimit(strictmode.java:1) 

edit full logcat, signout other devices everywhere

07-17 22:01:00.997: i/activitymanager(296): start u0 {cmp=com.google.android.gms/.games.ui.signin.signinactivity (has extras)} pid -1 07-17 22:01:01.007: w/windowmanager(296): failure taking screenshot (246x410) layer 21010 07-17 22:01:01.187: e/surfaceflinger(37): ro.sf.lcd_density must defined build property 07-17 22:01:01.367: i/choreographer(1266): skipped 86 frames!  application may doing work on main thread. 07-17 22:01:01.737: i/choreographer(1283): skipped 45 frames!  application may doing work on main thread. 07-17 22:01:01.937: e/surfaceflinger(37): ro.sf.lcd_density must defined build property 07-17 22:01:01.948: i/choreographer(296): skipped 78 frames!  application may doing work on main thread. 07-17 22:01:02.007: i/choreographer(296): skipped 41 frames!  application may doing work on main thread. 07-17 22:01:02.018: i/choreographer(1283): skipped 44 frames!  application may doing work on main thread. 07-17 22:01:02.547: i/choreographer(296): skipped 44 frames!  application may doing work on main thread. 07-17 22:01:02.557: i/activitymanager(296): displayed com.google.android.gms/.games.ui.signin.signinactivity: +1s313ms 07-17 22:01:02.627: i/choreographer(1283): skipped 95 frames!  application may doing work on main thread. 07-17 22:01:02.687: i/choreographer(1266): skipped 44 frames!  application may doing work on main thread. 07-17 22:01:03.237: i/choreographer(1283): skipped 65 frames!  application may doing work on main thread. 07-17 22:01:03.287: i/choreographer(1266): skipped 67 frames!  application may doing work on main thread. 07-17 22:01:03.627: i/choreographer(1266): skipped 87 frames!  application may doing work on main thread. 07-17 22:01:03.817: i/choreographer(1266): skipped 48 frames!  application may doing work on main thread. 07-17 22:01:04.057: i/choreographer(1266): skipped 37 frames!  application may doing work on main thread. 07-17 22:01:04.107: i/choreographer(1283): skipped 51 frames!  application may doing work on main thread. 07-17 22:01:04.237: i/choreographer(1266): skipped 41 frames!  application may doing work on main thread. 07-17 22:01:04.267: i/choreographer(1283): skipped 40 frames!  application may doing work on main thread. 07-17 22:01:04.417: i/choreographer(1266): skipped 47 frames!  application may doing work on main thread. 07-17 22:01:04.507: i/choreographer(1283): skipped 41 frames!  application may doing work on main thread. 07-17 22:01:04.597: i/choreographer(1266): skipped 43 frames!  application may doing work on main thread. 07-17 22:01:04.727: i/choreographer(1283): skipped 55 frames!  application may doing work on main thread. 07-17 22:01:04.867: i/choreographer(1283): skipped 35 frames!  application may doing work on main thread. 07-17 22:01:05.058: i/choreographer(1283): skipped 38 frames!  application may doing work on main thread. 07-17 22:01:05.197: i/choreographer(1283): skipped 35 frames!  application may doing work on main thread. 07-17 22:01:05.217: i/choreographer(1266): skipped 34 frames!  application may doing work on main thread. 07-17 22:01:05.377: i/choreographer(1283): skipped 49 frames!  application may doing work on main thread. 07-17 22:01:05.547: i/choreographer(1283): skipped 40 frames!  application may doing work on main thread. 07-17 22:01:05.697: d/dalvikvm(296): gc_concurrent freed 683k, 56% free 5765k/13000k, paused 59ms+182ms, total 1675ms 07-17 22:01:05.717: i/choreographer(1283): skipped 44 frames!  application may doing work on main thread. 07-17 22:01:05.807: i/choreographer(1266): skipped 30 frames!  application may doing work on main thread. 07-17 22:01:05.877: i/choreographer(1283): skipped 40 frames!  application may doing work on main thread. 07-17 22:01:05.947: i/choreographer(1266): skipped 32 frames!  application may doing work on main thread. 07-17 22:01:06.017: i/choreographer(1283): skipped 35 frames!  application may doing work on main thread. 07-17 22:01:06.087: i/choreographer(1266): skipped 33 frames!  application may doing work on main thread. 07-17 22:01:06.177: i/choreographer(1283): skipped 40 frames!  application may doing work on main thread. 07-17 22:01:06.317: i/choreographer(1283): skipped 36 frames!  application may doing work on main thread. 07-17 22:01:07.048: i/choreographer(1283): skipped 35 frames!  application may doing work on main thread. 07-17 22:01:07.307: i/choreographer(1283): skipped 39 frames!  application may doing work on main thread. 07-17 22:01:07.397: i/choreographer(1266): skipped 32 frames!  application may doing work on main thread. 07-17 22:01:07.527: i/choreographer(1283): skipped 53 frames!  application may doing work on main thread. 07-17 22:01:07.547: i/choreographer(1266): skipped 32 frames!  application may doing work on main thread. 07-17 22:01:07.697: i/choreographer(1266): skipped 42 frames!  application may doing work on main thread. 07-17 22:01:07.728: i/choreographer(1283): skipped 51 frames!  application may doing work on main thread. 07-17 22:01:07.837: i/choreographer(1266): skipped 40 frames!  application may doing work on main thread. 07-17 22:01:07.877: d/dalvikvm(716): gc_concurrent freed 333k, 12% free 3432k/3892k, paused 8ms+145ms, total 589ms 07-17 22:01:07.948: i/choreographer(1283): skipped 55 frames!  application may doing work on main thread. 07-17 22:01:07.987: i/choreographer(1266): skipped 37 frames!  application may doing work on main thread. 07-17 22:01:08.118: i/choreographer(1283): skipped 43 frames!  application may doing work on main thread. 07-17 22:01:08.327: i/choreographer(1283): skipped 53 frames!  application may doing work on main thread. 07-17 22:01:08.627: i/choreographer(1266): skipped 41 frames!  application may doing work on main thread. 07-17 22:01:08.698: i/choreographer(1283): skipped 39 frames!  application may doing work on main thread. 07-17 22:01:08.847: i/choreographer(1266): skipped 55 frames!  application may doing work on main thread. 07-17 22:01:08.987: i/choreographer(1266): skipped 38 frames!  application may doing work on main thread. 07-17 22:01:09.127: i/choreographer(1266): skipped 45 frames!  application may doing work on main thread. 07-17 22:01:09.237: i/choreographer(1283): skipped 49 frames!  application may doing work on main thread. 07-17 22:01:09.297: i/choreographer(1266): skipped 38 frames!  application may doing work on main thread. 07-17 22:01:09.397: i/choreographer(1283): skipped 41 frames!  application may doing work on main thread. 07-17 22:01:09.427: e/volley(716): [76] il.a: unexpected response code 403 https://www.googleapis.com/games/v1/players/me 07-17 22:01:09.447: i/choreographer(1266): skipped 32 frames!  application may doing work on main thread. 07-17 22:01:09.537: i/choreographer(1283): skipped 36 frames!  application may doing work on main thread. 07-17 22:01:09.687: e/volley(716): [76] il.a: unexpected response code 403 https://www.googleapis.com/games/v1/players/me 07-17 22:01:09.777: e/signinintentservice(716): access not configured 07-17 22:01:09.777: e/signinintentservice(716): aol 07-17 22:01:09.777: e/signinintentservice(716):     @ ajy.a(sourcefile:108) 07-17 22:01:09.777: e/signinintentservice(716):     @ abm.a(sourcefile:213) 07-17 22:01:09.777: e/signinintentservice(716):     @ abm.a(sourcefile:194) 07-17 22:01:09.777: e/signinintentservice(716):     @ aav.a(sourcefile:486) 07-17 22:01:09.777: e/signinintentservice(716):     @ aqu.a(sourcefile:221) 07-17 22:01:09.777: e/signinintentservice(716):     @ com.google.android.gms.games.service.gamessigninintentservice.onhandleintent(sourcefile:343) 07-17 22:01:09.777: e/signinintentservice(716):     @ android.app.intentservice$servicehandler.handlemessage(intentservice.java:65) 07-17 22:01:09.777: e/signinintentservice(716):     @ android.os.handler.dispatchmessage(handler.java:99) 07-17 22:01:09.777: e/signinintentservice(716):     @ android.os.looper.loop(looper.java:137) 07-17 22:01:09.777: e/signinintentservice(716):     @ android.os.handlerthread.run(handlerthread.java:60) 07-17 22:01:09.917: i/choreographer(1266): skipped 44 frames!  application may doing work on main thread. 07-17 22:01:09.967: i/choreographer(1283): skipped 55 frames!  application may doing work on main thread. 07-17 22:01:10.107: i/choreographer(1266): skipped 44 frames!  application may doing work on main thread. 07-17 22:01:10.187: e/loadselffragment(1283): unable sign in - application not have registered client id 07-17 22:01:10.197: w/windowmanager(296): failure taking screenshot (246x410) layer 21020 07-17 22:01:10.227: i/choreographer(1283): skipped 65 frames!  application may doing work on main thread. 07-17 22:01:10.267: i/choreographer(1266): skipped 40 frames!  application may doing work on main thread. 07-17 22:01:10.408: i/choreographer(1266): skipped 38 frames!  application may doing work on main thread. 07-17 22:01:10.537: i/choreographer(1266): skipped 39 frames!  application may doing work on main thread. 07-17 22:01:10.937: i/choreographer(1283): skipped 184 frames!  application may doing work on main thread. 07-17 22:01:10.947: i/choreographer(689): skipped 127 frames!  application may doing work on main thread. 07-17 22:01:11.087: i/choreographer(1283): skipped 31 frames!  application may doing work on main thread. 07-17 22:01:11.497: d/dalvikvm(1266): gc_concurrent freed 425k, 12% free 4125k/4676k, paused 7ms+143ms, total 651ms 07-17 22:01:11.788: d/buttonclicker2000(1266): sign-in failed. 07-17 22:01:11.837: i/choreographer(1266): skipped 333 frames!  application may doing work on main thread. 07-17 22:01:12.057: e/surfaceflinger(37): ro.sf.lcd_density must defined build property 07-17 22:01:12.197: i/choreographer(1266): skipped 79 frames!  application may doing work on main thread. 07-17 22:01:13.017: d/dalvikvm(1283): gc_explicit freed 65k, 13% free 2535k/2904k, paused 5ms+154ms, total 442ms 07-17 22:01:13.067: e/strictmode(1283): class com.google.android.gms.games.ui.signin.signinactivity; instances=2; limit=1 07-17 22:01:13.067: e/strictmode(1283): android.os.strictmode$instancecountviolation: class com.google.android.gms.games.ui.signin.signinactivity; instances=2; limit=1 07-17 22:01:13.067: e/strictmode(1283):     @ android.os.strictmode.setclassinstancelimit(strictmode.java:1) 

i have encountered error in past - i'm struggling absolutely caused it:

class com.google.android.gms.games.ui.signin.signinactivity; instances=2; limit=1 

i because signed on account on device or emulator. didn't have significant fix problem - sign out other device or use different account. way if use different account make sure defined tester game.

update: i've seen full logcat , see message precedes 1 have been focusing on:

unable sign in - application not have registered client id 

your app_id must set first 12 bytes of client id developer console. stuff well-documented google e.g.:

https://developers.google.com/games/services/console/enabling

https://developers.google.com/live/shows/5936979195723776

if working on real device , not emulator please check have set emulator contains google apis.

update:

you've posted different logcat ? anyway, if still getting client id message please check not have 2 different app_id values in app (e.g. 1 in strings.xml , 1 in ids.xml )


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -