This is a very strange one. When I call gameNetwork.init() and gameNetwork.request( “login”) they both seem to work just fine.
However when I then try to call
gameNetwork.show( "achievements" )
it starts to open the achievements popup, but then quickly closes itself and goes back to the game.
This did work before, so I’m not sure why it’s suddenly stopped working. I’ve tried using Corona SDK builds 2014.2325 and 2014.2359.
I get the following logcat:
07-08 17:04:26.311: I/Corona(7358): event.type = applicationSuspend 07-08 17:04:26.361: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.361: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.361: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.371: D/AbsListView(7665): Get MotionRecognitionManager 07-08 17:04:26.371: D/MotionRecognitionService(812): ssp status : true 07-08 17:04:26.391: D/AbsListView(7665): onVisibilityChanged() is called, visibility : 8 07-08 17:04:26.391: D/AbsListView(7665): unregisterIRListener() is called 07-08 17:04:26.411: D/FlurryAgent(7358): Ending session 07-08 17:04:26.411: D/LocationManagerService(812): getProviders()=[] 07-08 17:04:26.431: D/dalvikvm(7665): Note: class Lecd; has 185 unimplemented (abstract) methods 07-08 17:04:26.441: W/PopupManager(7665): You have not specified a View to use as content view for popups. Falling back to the Activity content view which may not work properly in future versions of the API. Use setViewForPopups() to set your content view. 07-08 17:04:26.471: D/AbsListView(7665): onVisibilityChanged() is called, visibility : 4 07-08 17:04:26.471: D/AbsListView(7665): unregisterIRListener() is called 07-08 17:04:26.481: D/AbsListView(7665): onVisibilityChanged() is called, visibility : 0 07-08 17:04:26.481: D/AbsListView(7665): unregisterIRListener() is called 07-08 17:04:26.501: D/AbsListView(7665): unregisterIRListener() is called 07-08 17:04:26.501: I/SurfaceFlinger(276): id=1781 createSurf (1x1),1 flag=4, DlientAchie 07-08 17:04:26.511: I/SpenGestureManager(812): setFocusWindow21030 07-08 17:04:26.511: D/STATUSBAR-StatusBarManagerService(812): manageDisableList what=0x0 pkg=WindowManager.LayoutParams 07-08 17:04:26.521: D/EnterpriseDeviceManager(812): ContainerId: 0 07-08 17:04:26.521: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.521: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.521: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.521: V/AudioPolicyManagerBase(279): stopOutput() output 2, stream 3, session 247 07-08 17:04:26.521: V/AudioPolicyManagerBase(279): changeRefCount() stream 3, count 0 07-08 17:04:26.521: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:26.521: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:26.521: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:26.521: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:26.521: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:26.521: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:26.521: V/AudioPolicyManagerBase(279): getNewDevice() selected device 0 07-08 17:04:26.521: V/AudioPolicyManagerBase(279): setOutputDevice() output 2 device 0000 force 0 delayMs 192 07-08 17:04:26.521: V/AudioPolicyManagerBase(279): setOutputDevice() prevDevice 0002 07-08 17:04:26.521: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:26.521: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:26.521: V/AudioPolicyManagerBase(279): setOutputDevice() setting same device 0000 or null device for output 2 07-08 17:04:26.521: V/AudioPolicyManagerBase(279): getOutputsForDevice device 0002 -\> 0002 07-08 17:04:26.521: V/AudioPolicyManagerBase(279): getOutputsForDevice device 0002 -\> 0002 07-08 17:04:26.531: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.531: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.531: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.531: D/PointerIcon(812): setMouseIconStyle1 pointerType: 1001iconType:101 flag:0 07-08 17:04:26.531: D/PointerIcon(812): setMouseCustomIcon IconType is same.101 07-08 17:04:26.531: D/PointerIcon(812): setHoveringSpenIconStyle1 pointerType: 10001iconType:1 flag:0 07-08 17:04:26.531: D/PointerIcon(812): setHoveringSpenCustomIcon IconType is same.1 07-08 17:04:26.541: W/qdhwcomposer(276): Excessive delay reading vsync: took 465 ms 07-08 17:04:26.561: D/ProgressBar(7665): setProgressDrawable drawableHeight = 0 07-08 17:04:26.571: D/ProgressBar(7665): updateDrawableBounds: left = 0 07-08 17:04:26.571: D/ProgressBar(7665): updateDrawableBounds: top = 0 07-08 17:04:26.571: D/ProgressBar(7665): updateDrawableBounds: right = 384 07-08 17:04:26.571: D/ProgressBar(7665): updateDrawableBounds: bottom = 51 07-08 17:04:26.571: D/ProgressBar(7665): updateDrawableBounds: mProgressDrawable.setBounds() 07-08 17:04:26.571: D/AbsListView(7665): unregisterIRListener() is called 07-08 17:04:26.611: D/AbsListView(7665): unregisterIRListener() is called 07-08 17:04:26.621: E/EnterpriseContainerManager(812): ContainerPolicy Service is not yet ready!!! 07-08 17:04:26.621: D/EnterpriseDeviceManager(812): ContainerId: 0 07-08 17:04:26.621: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.621: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.621: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.621: W/LicenseLogService(812): log() is called by non admin 07-08 17:04:26.621: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.621: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.621: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.631: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.631: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.631: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.631: D/PhoneStatusBar(1236): Status bar WINDOW\_STATE\_SHOWING 07-08 17:04:26.631: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.631: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.631: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.631: W/ContextImpl(812): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1465 com.android.internal.policy.impl.PhoneWindowManager.notifyToSSRM:5440 com.android.internal.policy.impl.PhoneWindowManager.access$200:167 com.android.internal.policy.impl.PhoneWindowManager$PolicyHandler.handleMessage:694 android.os.Handler.dispatchMessage:102 07-08 17:04:26.631: W/ContextImpl(812): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1465 com.android.server.InputMethodManagerService$4.run:2747 java.lang.Thread.run:841 \<bottom of call stack\> \<bottom of call stack\> 07-08 17:04:26.631: D/SSRMv2:AirViewOnOff(812): DeviceInfo:: 00000000000 07-08 17:04:26.631: D/SSRMv2:AirViewOnOff(812): SettingsAirViewInfo:: 100000000 07-08 17:04:26.641: D/SSRMv2:CustomFrequencyManagerService(812): acquireDVFSLockLocked : type : DVFS\_MIN\_LIMIT frequency : 1350000 uid : 1000 pid : 812 pkgName : ACTIVITY\_RESUME\_BOOSTER@9 07-08 17:04:26.641: D/SSRMv2:CustomFrequencyManagerService(812): releaseDVFSLockLocked : Getting Lock type frm List : DVFS\_MIN\_LIMIT frequency : 1350000 uid : 1000 pid : 812 tag : ACTIVITY\_RESUME\_BOOSTER@6 07-08 17:04:26.641: W/ActivityManager(812): mDVFSHelper.release() 07-08 17:04:26.651: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.651: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.651: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.661: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.661: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.661: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.711: D/AbsListView(7665): unregisterIRListener() is called 07-08 17:04:26.731: I/AchievementAgent(3412): Sending achievement batch... 07-08 17:04:26.771: W/GLSUser(3199): GoogleAccountDataService.getToken() 07-08 17:04:26.791: W/qdhwcomposer(276): Excessive delay reading vsync: took 149 ms 07-08 17:04:26.861: D/STATUSBAR-NetworkController(1236): refreshSignalCluster: data=0 bt=false 07-08 17:04:26.881: D/STATUSBAR-IconMerger(1236): checkOverflow(720), More:false, Req:false Child:3 07-08 17:04:26.911: D/ProgressBar(7665): updateDrawableBounds: left = 0 07-08 17:04:26.911: D/ProgressBar(7665): updateDrawableBounds: top = 0 07-08 17:04:26.911: D/ProgressBar(7665): updateDrawableBounds: right = 228 07-08 17:04:26.911: D/ProgressBar(7665): updateDrawableBounds: bottom = 228 07-08 17:04:26.911: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.911: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.921: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.921: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:26.921: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:26.921: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:26.951: D/SSRMv2:CustomFrequencyManagerService(812): releaseDVFSLockLocked : Getting Lock type frm List : DVFS\_MIN\_LIMIT frequency : 1350000 uid : 1000 pid : 812 tag : ACTIVITY\_RESUME\_BOOSTER@9 07-08 17:04:27.042: E/MP-Decision(2095): num online cores: 4 reqd : 3 available : 4 rq\_depth:1.000000 hotplug\_avg\_load\_dw: 78 07-08 17:04:27.042: E/MP-Decision(2095): DOWN cpu:3 core\_idx:3 Ns:3.100000 Ts:240 rq:1.000000 seq:245.000000 07-08 17:04:27.292: E/MP-Decision(2095): num online cores: 3 reqd : 2 available : 4 rq\_depth:1.000000 hotplug\_avg\_load\_dw: 31 07-08 17:04:27.292: E/MP-Decision(2095): DOWN cpu:2 core\_idx:2 Ns:2.100000 Ts:240 rq:1.000000 seq:287.000000 07-08 17:04:27.402: W/GLSActivity(3199): [aut] Status from wire: NeedPermission status: NEED\_PERMISSION 07-08 17:04:27.422: E/DataHolderOperation(3412): Auth error while performing operation, requesting reconnect 07-08 17:04:27.422: E/DataHolderOperation(3412): ary: NeedPermission 07-08 17:04:27.422: E/DataHolderOperation(3412): at ark.a(SourceFile:411) 07-08 17:04:27.422: E/DataHolderOperation(3412): at byu.b(SourceFile:91) 07-08 17:04:27.422: E/DataHolderOperation(3412): at bxs.b(SourceFile:334) 07-08 17:04:27.422: E/DataHolderOperation(3412): at eqf.b(SourceFile:128) 07-08 17:04:27.422: E/DataHolderOperation(3412): at bye.b(SourceFile:355) 07-08 17:04:27.422: E/DataHolderOperation(3412): at bye.a(SourceFile:325) 07-08 17:04:27.422: E/DataHolderOperation(3412): at bye.a(SourceFile:304) 07-08 17:04:27.422: E/DataHolderOperation(3412): at eqf.a(SourceFile:142) 07-08 17:04:27.422: E/DataHolderOperation(3412): at dtu.a(SourceFile:757) 07-08 17:04:27.422: E/DataHolderOperation(3412): at dtu.a(SourceFile:718) 07-08 17:04:27.422: E/DataHolderOperation(3412): at dtu.a(SourceFile:1117) 07-08 17:04:27.422: E/DataHolderOperation(3412): at dtu.a(SourceFile:1037) 07-08 17:04:27.422: E/DataHolderOperation(3412): at duh.b(SourceFile:1932) 07-08 17:04:27.422: E/DataHolderOperation(3412): at ezl.b(SourceFile:33) 07-08 17:04:27.422: E/DataHolderOperation(3412): at eyx.a(SourceFile:60) 07-08 17:04:27.422: E/DataHolderOperation(3412): at com.google.android.gms.games.service.GamesIntentService.a(SourceFile:877) 07-08 17:04:27.422: E/DataHolderOperation(3412): at bpv.run(SourceFile:101) 07-08 17:04:27.422: E/DataHolderOperation(3412): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 07-08 17:04:27.422: E/DataHolderOperation(3412): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 07-08 17:04:27.422: E/DataHolderOperation(3412): at java.lang.Thread.run(Thread.java:841) 07-08 17:04:27.422: W/ContextImpl(812): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1479 com.android.server.am.ActivityStack.startPausingLocked:1006 com.android.server.am.ActivityStack.finishActivityLocked:3162 com.android.server.am.ActivityStack.requestFinishActivityLocked:2975 com.android.server.am.ActivityManagerService.finishActivity:4384 07-08 17:04:27.432: V/SmartFaceService - 3rd party pause(812): onReceive [android.intent.action.ACTIVITY\_STATE/com.google.android.gms/pause] 07-08 17:04:27.432: D/SSRMv2:CustomFrequencyManagerService(812): acquireDVFSLockLocked : type : DVFS\_MIN\_LIMIT frequency : 1350000 uid : 1000 pid : 812 pkgName : ACTIVITY\_RESUME\_BOOSTER@6 07-08 17:04:27.432: W/ActivityManager(812): mDVFSHelper.acquire() 07-08 17:04:27.442: W/ContextImpl(812): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1479 com.android.server.am.ActivityStack.resumeTopActivityLocked:2182 com.android.server.am.ActivityStackSupervisor.resumeTopActivitiesLocked:3071 com.android.server.am.ActivityStack.completePauseLocked:1231 com.android.server.am.ActivityStack.activityPausedLocked:1092 07-08 17:04:27.442: D/PhoneStatusBar(1236): Status bar WINDOW\_STATE\_HIDING 07-08 17:04:27.442: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:27.442: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:27.452: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:27.452: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:27.452: I/SpenGestureManager(812): setFocusWindow21025 07-08 17:04:27.452: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:27.452: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:27.452: D/PointerIcon(812): setMouseIconStyle1 pointerType: 1001iconType:101 flag:0 07-08 17:04:27.452: D/PointerIcon(812): setMouseCustomIcon IconType is same.101 07-08 17:04:27.452: D/PointerIcon(812): setHoveringSpenIconStyle1 pointerType: 10001iconType:1 flag:0 07-08 17:04:27.452: D/PointerIcon(812): setHoveringSpenCustomIcon IconType is same.1 07-08 17:04:27.452: W/ContextImpl(812): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1465 com.android.internal.policy.impl.PhoneWindowManager.notifyToSSRM:5440 com.android.internal.policy.impl.PhoneWindowManager.access$200:167 com.android.internal.policy.impl.PhoneWindowManager$PolicyHandler.handleMessage:694 android.os.Handler.dispatchMessage:102 07-08 17:04:27.462: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:27.462: D/AbsListView(7665): unregisterIRListener() is called 07-08 17:04:27.462: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:27.462: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:27.462: D/EnterpriseDeviceManager(812): ContainerId: 0 07-08 17:04:27.462: V/SmartFaceService - 3rd party pause(812): onReceive [android.intent.action.ACTIVITY\_STATE/com.mycompany.mygamename/resume] 07-08 17:04:27.462: D/STATUSBAR-StatusBarManagerService(812): manageDisableList what=0x0 pkg=WindowManager.LayoutParams 07-08 17:04:27.472: D/SSRMv2:AirViewOnOff(812): DeviceInfo:: 00000000000 07-08 17:04:27.472: D/SSRMv2:AirViewOnOff(812): SettingsAirViewInfo:: 100000000 07-08 17:04:27.482: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:27.482: I/SurfaceFlinger(276): id=1781 Removed DlientAchie (9/11) 07-08 17:04:27.482: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:27.482: I/SurfaceFlinger(276): id=1781 Removed DlientAchie (-2/11) 07-08 17:04:27.482: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:27.482: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:27.492: E/MP-Decision(2095): num online cores: 2 reqd : 3 available : 4 rq\_depth:6.000000 hotplug\_avg\_load\_dw: 74 07-08 17:04:27.492: E/MP-Decision(2095): UP cpu:1 core\_idx:1 Nw:1.900000 Tw:140 rq:6.000000 seq:0.000000 07-08 17:04:27.492: E/MP-Decision(2095): UP cpu:2 core\_idx:2 Nw:2.700000 Tw:90 rq:6.000000 seq:146.000000 07-08 17:04:27.492: W/SurfaceFlinger(276): couldn't log to binary event log: overflow. 07-08 17:04:27.502: D/KeyguardViewMediator(1236): setHidden false 07-08 17:04:27.502: D/KeyguardUpdateMonitor(1236): sendKeyguardVisibilityChanged(true) 07-08 17:04:27.502: I/SensorManagerA(7358): getReportingMode :: sensor.mType = 1 07-08 17:04:27.502: D/SensorManager(7358): registerListener :: 0, K330 3-axis Accelerometer, 200000, 0, 07-08 17:04:27.502: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:27.512: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:27.512: D/KeyguardUpdateMonitor(1236): handleKeyguardVisibilityChanged(1) 07-08 17:04:27.512: V/AudioPolicyManagerBase(279): startOutput() output 2, stream 3, session 247 07-08 17:04:27.512: V/AudioPolicyManagerBase(279): changeRefCount() stream 3, count 1 07-08 17:04:27.512: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:27.512: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:27.512: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:27.512: W/AudioPolicyManagerBase(279): stream type [13], return media strategy 07-08 17:04:27.512: V/AudioPolicyManagerBase(279): getNewDevice() selected device 2 07-08 17:04:27.512: V/AudioPolicyManagerBase(279): setOutputDevice() output 2 device 0002 force 0 delayMs 0 07-08 17:04:27.512: V/AudioPolicyManagerBase(279): setOutputDevice() prevDevice 0002 07-08 17:04:27.512: V/AudioPolicyManagerBase(279): setOutputDevice() setting same device 0002 or null device for output 2 07-08 17:04:27.512: V/AudioPolicyManagerBase(279): getOutputsForDevice device 0002 -\> 0002 07-08 17:04:27.512: V/AudioPolicyManagerBase(279): getOutputsForDevice device 0002 -\> 0002 07-08 17:04:27.512: W/libc(7358): pthread\_create sched\_setscheduler call failed: Operation not permitted 07-08 17:04:27.512: I/OpenAL\_SLES(7358): playback\_function started 07-08 17:04:27.512: E/EnterpriseContainerManager(812): ContainerPolicy Service is not yet ready!!! 07-08 17:04:27.512: D/EnterpriseDeviceManager(812): ContainerId: 0 07-08 17:04:27.512: I/Corona(7358): event.type = applicationResume
I see there is a line which says “Auth error while performing operation, requesting reconnect”, but I’m not sure why that would be happening suddenly. We definitely have the correct google play game id in our build.settings file, so it can’t be that.
Does anyone have any ideas? I’m using the simulator to build, NOT Enterprise.
Edit: Also, and I’m not sure why this would be related but it seems to be; we cannot log into Facebook anymore either. The whole game freezes completely, and we have to kill it before we can try again.
The only error message that appears when trying to log into Facebook is:
ContainerPolicy Service is not yet ready!!! D/EnterpriseDeviceManager(812): ContainerId: 0 E/GooglePlayServicesUtil(12475): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included. E/GooglePlayServicesUtil(12475): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
We’ve recently added push notifications + admob to our project, could these things somehow be interfering with GPGS and FB processes?