Hello @udesh.upalanka. Welcome to the forums!
This is a known issue. The new GPGS and the really old AdMob plugin are incompatible. Our engineers are working on a solution.
Rob
Hello @udesh.upalanka. Welcome to the forums!
This is a known issue. The new GPGS and the really old AdMob plugin are incompatible. Our engineers are working on a solution.
Rob
I know that the old gameNetwork plugin and gpgs are not compatible, but, can i use gameNetwork on iOS and gpgs on Android? Like this?:
["CoronaProvider.gameNetwork.apple"] = { -- Apple Game Center publisherId = "com.coronalabs", supportedPlatforms = { ["iphone"] = true, ["iphone-sim"] = true, }, }, ["plugin.gpgs"] = { publisherId = "com.coronalabs", supportedPlatforms = { ["android"] = true, } },
gpgs won’t work. I do have a huge list of plugins. (But don’t use admob) I can call gpgs.init but gpgs.login fails silently.
Our build.settings does include the Tenjin plugin:
["plugin.tenjin"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true, android = true, ["iphone-sim"] = true } }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true } },
Which needs to include those two entries. I am guessing one of those might be the culprit.
This is the AdMob plugin:
["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true }
Rob
What are the errors you’re getting? Have you used “adb logcat” to look at the device’s console logs for errors, Please don’t add anything else to the “adb logcat” command to filter only Corona messages, we need to see errors from the other Google Play related activities as well.
Rob
I used this command: “adb logcat Corona:v *:s”. This is what I got:
--------- beginning of crash
--------- beginning of system
--------- beginning of main
V/Corona (31577): > Class.forName: network.LuaLoader
V/Corona (31577): < Class.forName: network.LuaLoader
V/Corona (31577): Loading via reflection: network.LuaLoader
I/Corona (31577): Platform: ONE E1003 / ARM Neon / 5.1.1 / Adreno ™ 330 / OpenGL ES 3.0 V@84.0 AU@ (CL@) / 2016.2906 / English | US | en_US | en
V/Corona (31577): > Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona (31577): < Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona (31577): Loading via reflection: CoronaProvider.licensing.google.LuaLoader
I/Corona (31577): WARNING: licensing.init() was already called for google.
V/Corona (31577): > Class.forName: plugin.gpgs.LuaLoader
V/Corona (31577): < Class.forName: plugin.gpgs.LuaLoader
V/Corona (31577): Loading via reflection: plugin.gpgs.LuaLoader
V/Corona (31577): > Class.forName: CoronaProvider.ads.admob.LuaLoader
V/Corona (31577): < Class.forName: CoronaProvider.ads.admob.LuaLoader
V/Corona (31577): Loading via reflection: CoronaProvider.ads.admob.LuaLoader
I/Corona (31577): systemEvent applicationStart
I/Corona (31577): ERROR: Runtime error
I/Corona (31577): java.lang.IllegalStateException: The meta-data tag in your app’s AndroidManifest.xml does not have the right value. Expected 9452000 but found 4242000. You must have the following declaration within the <application> element: <meta-data android:name=“com.google.android.gms.version” android:value="@integer/google_play_services_version" />
I/Corona (31577): Java Stack Trace:
I/Corona (31577): com.google.android.gms.common.zze.zzbs(Unknown Source)
I/Corona (31577): com.google.android.gms.common.zze.isGooglePlayServicesAvailable(Unknown Source)
I/Corona (31577): com.google.android.gms.common.zzc.isGooglePlayServicesAvailable(Unknown Source)
I/Corona (31577): com.google.android.gms.common.GoogleApiAvailability.isGooglePlayServicesAvailable(Unknown Source)
I/Corona (31577): plugin.gpgs.Utils.isGooglePlayServicesAvailable(Utils.java:175)
I/Corona (31577): plugin.gpgs.LuaLoader.init(LuaLoader.java:120)
I/Corona (31577): plugin.gpgs.LuaLoader.access$2000(LuaLoader.java:40)
I/Corona (31577): plugin.gpgs.LuaLoader$InitWrapper.invoke(LuaLoader.java:677)
I/Corona (31577): com.ansca.corona.JavaToNativeShim.nativeResize(Native Method)
I/Corona (31577): com.ansca.corona.JavaToNativ
I got this by only running “adb logcat”:
D/AbstractTracker(32168): Event success
V/GLSurfaceView(32168): glGetString(7937) returns Adreno ™ 330;
D/ThreadedRenderer(32168): mThreadGroupCpuId 2 mRenderThreadCpuId 3 affinity
V/Corona (32168): > Class.forName: network.LuaLoader
V/Corona (32168): < Class.forName: network.LuaLoader
V/Corona (32168): Loading via reflection: network.LuaLoader
I/Corona (32168): Platform: ONE E1003 / ARM Neon / 5.1.1 / Adreno ™ 330 / OpenGL ES 3.0 V@84.0 AU@ (CL@) / 2016.2906 / English | US | en_US | en
I/ActivityManager( 873): Displayed com.gmail.dikcius.karolis.Vaporwave_The_Game/com.ansca.corona.CoronaActivity: +380ms
I/Timeline(32168): Timeline: Activity_idle id: android.os.BinderProxy@3553a928 time:236804022
V/Corona (32168): > Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona (32168): < Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona (32168): Loading via reflection: CoronaProvider.licensing.google.LuaLoader
I/Corona (32168): WARNING: licensing.init() was already called for google.
I/SoundDecoder(32168): ALL MPG123 DECODERS:
I/SoundDecoder(32168): generic
I/SoundDecoder(32168):
I/SoundDecoder(32168): SUPPORTED MPG123 DECODERS:
I/SoundDecoder(32168): generic
I/SoundDecoder(32168):
I/OpenAL_SLES(32168): opensles_open_playback pDevice=0xa86a2000, deviceName=(null)
I/OpenAL_SLES(32168): alc_opensles_probe DEVICE_PROBE
I/OpenAL_SLES(32168): opensles_reset_playback pDevice=0xa86a2000
I/OpenAL_SLES(32168): bits=16, channels=2, samples=1024, size=4096, freq=44100
I/OpenAL_SLES(32168): create audio player
D/AudioTrack(32168): set(): streamType 3, sampleRate 44100, format 0x1, channelMask 0x3, frameCount 0, flags #4, notificationFrames 0, sessionId 7717, transferType 0, uid -1, pid -1
D/AudioTrack(32168): TrackOffload: AudioTrack Offload disabled by property, returning false
W/AudioTrack(32168): AUDIO_OUTPUT_FLAG_FAST denied by client
D/AudioFlinger( 332): AudioOut_4 createTrack_l() stmType 3,typeVolume 0.025119,fc 2646,sId 7717, flags 0
D/AudioFlinger( 332): Creating track with 16384 buffers bytes.format 1,mFrameSize 4,mFrameCount 2646
I/OpenAL_SLES(32168): playback_function started
D/AudioPolicyManager( 332): startOutput() output 4, stream 3, session 7717
D/AudioFlinger( 332): ThreadBase::setParameters() routing=2
I/OpenAL (32168): _SC_NPROCESSORS_ONLN=4
D/audio_hw_primary( 332): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
D/AudioPolicyManager( 332): startOutput()–
I/AudioFlinger( 332): vl# new track,stream:3,masterVolume:1.000000,typeVolume:0.025119,vlf:1.000000,vrf:1.000000
I/SoundDecoder(32168): WAV: Appears to be uncompressed audio.
I/SoundDecoder(32168): WAV: Accepting data stream.
I/Timeline( 873): Timeline: Activity_windows_visible id: ActivityRecord{da8ea5d u0 com.gmail.dikcius.karolis.Vaporwave_The_Game/com.ansca.corona.CoronaActivity t3768} time:236804152
V/Corona (32168): > Class.forName: plugin.gpgs.LuaLoader
D/AudioMixer( 332): Creating resampler: format(0x1) channels(2) devSampleRate(48000) quality(0)
V/Corona (32168): < Class.forName: plugin.gpgs.LuaLoader
V/Corona (32168): Loading via reflection: plugin.gpgs.LuaLoader
V/Corona (32168): > Class.forName: CoronaProvider.ads.admob.LuaLoader
V/Corona (32168): < Class.forName: CoronaProvider.ads.admob.LuaLoader
V/Corona (32168): Loading via reflection: CoronaProvider.ads.admob.LuaLoader
I/Corona (32168): systemEvent applicationStart
D/AndroidRuntime(32168): Shutting down VM
I/Corona (32168): ERROR: Runtime error
I/Corona (32168): java.lang.IllegalStateException: The meta-data tag in your app’s AndroidManifest.xml does not have the right value. Expected 9452000 but found 4242000. You must have the following declaration within the <application> element: <meta-data android:name=“com.google.android.gms.version” android:value="@integer/google_play_services_version" />
I/Corona (32168): Java Stack Trace:
I/Corona (32168): com.google.android.gms.common.zze.zzbs(Unknown Source)
I/Corona (32168): com.google.android.gms.common.zze.isGooglePlayServicesAvailable(Unknown Source)
I/Corona (32168): com.google.android.gms.common.zzc.isGooglePlayServicesAvailable(Unknown Source)
I/Corona (32168): com.google.android.gms.common.GoogleApiAvailability.isGooglePlayServicesAvailable(Unknown Source)
I/Corona (32168): plugin.gpgs.Utils.isGooglePlayServicesAvailable(Utils.java:175)
I/Corona (32168): plugin.gpgs.LuaLoader.init(LuaLoader.java:120)
I/Corona (32168): plugin.gpgs.LuaLoader.access$2000(LuaLoader.java:40)
I/Corona (32168): plugin.gpgs.LuaLoader$InitWrapper.invoke(LuaLoader.java:677)
I/Corona (32168): com.ansca.corona.JavaToNativeShim.nativeResize(Native Method)
I/Corona (32168): com.ansca.corona.JavaToNativ
E/AndroidRuntime(32168): FATAL EXCEPTION: main
E/AndroidRuntime(32168): Process: com.gmail.dikcius.karolis.Vaporwave_The_Game, PID: 32168
E/AndroidRuntime(32168): java.lang.IllegalStateException: The meta-data tag in your app’s AndroidManifest.xml does not have the right value. Expected 9452000 but found 4242000. You must have the following declaration within the <application> element: <meta-data android:name=“com.google.android.gms.version” android:value="@integer/google_play_services_version" />
E/AndroidRuntime(32168): at com.google.android.gms.common.zze.zzbs(Unknown Source)
E/AndroidRuntime(32168): at com.google.android.gms.common.zze.isGooglePlayServicesAvailable(Unknown Source)
E/AndroidRuntime(32168): at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
E/AndroidRuntime(32168): at com.google.android.gms.internal.u.a(Unknown Source)
E/AndroidRuntime(32168): at com.google.android.gms.internal.ah.j(Unknown Source)
E/AndroidRuntime(32168): at com.google.android.gms.internal.ah.a(Unknown Source)
E/AndroidRuntime(32168): at com.google.android.gms.ads.InterstitialAd.loadAd(Unknown Source)
E/AndroidRuntime(32168): at CoronaProvider.ads.admob.AdMobAd$3.run(AdMobAd.java:209)
E/AndroidRuntime(32168): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(32168): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(32168): at android.os.Looper.loop(Looper.java:139)
E/AndroidRuntime(32168): at android.app.ActivityThread.main(ActivityThread.java:5298)
E/AndroidRuntime(32168): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(32168): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(32168): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
E/AndroidRuntime(32168): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
D/AppTracker(32168): App Event: crash
W/ActivityManager( 873): Force finishing activity 1 com.gmail.dikcius.karolis.Vaporwave_The_Game/com.ansca.corona.CoronaActivity
W/DropBoxManagerService( 873): Dropping: data_app_crash (1572 > 0 bytes)
D/DropBoxManagerService( 873): file :: /data/system/dropbox/data_app_crash@1473270361479.lost
W/ActivityManager( 873): Dismiss app error dialog : com.gmail.dikcius.karolis.Vaporwave_The_Game
I/Process (32168): Sending signal. PID: 32168 SIG: 9
I/ActivityManager( 873): Process com.gmail.dikcius.karolis.Vaporwave_The_Game (pid 32168) has died
I/WindowState( 873): WIN DEATH: Window{3f495a64 u0 com.gmail.dikcius.karolis.Vaporwave_The_Game/com.ansca.corona.CoronaActivity}
I/WindowState( 873): WIN DEATH: Window{249a5182 u0 SurfaceView}
D/AppTracker( 1679): App Event: start
D/AudioPolicyManager( 332): stopOutput() output 4, stream 3, session 7717
D/AudioPolicyManager( 332): stopOutput()–
W/InputMethodManagerService( 873): Got RemoteException sending setActive(false) notification to pid 32168 uid 10190
D/ThreadedRenderer( 1679): mThreadGroupCpuId 3 mRenderThreadCpuId 3 affinity
W/droid.launcher3( 1679): type=1400 audit(0.0:12482): avc: denied { search } for name=“perfd” dev=“mmcblk0p28” ino=704544 scontext=u:r:platform_app:s0 tcontext=u:object_r:mpctl_socket:s0 tclass=dir
D/AbstractTracker( 1679): Event success
I/Timeline( 1679): Timeline: Activity_idle id: android.os.BinderProxy@28d0cac7 time:236804377
D/StatusBar.MSimNetworkController( 9308): refreshViews phoneId =0mMSimDataConnected =false
D/StatusBar.MSimNetworkController( 9308): refreshViews mMSimDataActivity =0
D/StatusBar.MSimNetworkController( 9308): refreshViews: Data not connected!! Set no data type icon / Roaming for phoneId: 0
I/AudioTrack( 873): vl# stream:1,mSessionId:29, setVolume:0.000000,0.000000.
I/Timeline( 873): Timeline: Activity_windows_visible id: ActivityRecord{224f59d u0 com.android.launcher3/.Launcher t3230} time:236804640
I/asset ( 9308): Success to oxygen resources /system/framework/oxygen-framework-res.apk
W/ResourceType( 9308): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 9308): Failure retrieving resources for com.gmail.dikcius.karolis.Vaporwave_The_Game: Resource ID #0x0
W/OpenGLRenderer( 1679): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer…
W/OpenGLRenderer( 1679): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer…
D/StatusBar.MSimNetworkController( 9308): getPhoneId phoneId: 0
D/StatusBar.MSimNetworkController( 9308): getPhoneId phoneId: 0
D/StatusBar.MSimNetworkController( 9308): updateIconSet, phoneId = 0
D/StatusBar.MSimNetworkController( 9308): updateIconSet, voice network type is: 13/LTE, data network type is: 13/LTE
D/StatusBar.MSimNetworkController( 9308): updateIconSet, chosenNetworkType=13 hspaDataDistinguishable=true hspapDistinguishable=false showAtLeastThreeGees=false
D/TelephonyIcons( 9308): updateDataType sub=0, type=13, inetCondition=0 showAtLeast3G=false show4GforLte=false hspaDistinguishable=true
D/TelephonyIcons( 9308): data type item name: array/telephony_data_type_sim1
D/TelephonyIcons( 9308): data type item id: 2131165188
D/TelephonyIcons( 9308): updateDataType mSelectedDataTypeIcon[0]=0, mSelectedDataActivityIndex=9
D/StatusBar.MSimNetworkController( 9308): getPhoneId phoneId: 0
D/StatusBar.MSimNetworkController( 9308): updateTelephonySignalStrength: phoneId =0
D/TelephonyIcons( 9308): getSignalStrengthIcon: sub=0, inetCondition=1, level=4 isRoaming=false
D/TelephonyIcons( 9308): signalStrengthArray.length = 9
D/TelephonyIcons( 9308): selectedTypeArray.length = 2
D/TelephonyIcons( 9308): inetArray.length = 5
D/StatusBar.MSimNetworkController( 9308): getPhoneId phoneId: 0
D/StatusBar.MSimNetworkController( 9308): refreshViews phoneId =0mMSimDataConnected =false
D/StatusBar.MSimNetworkController( 9308): refreshViews mMSimDataActivity =0
D/StatusBar.MSimNetworkController( 9308): refreshViews: Data not connected!! Set no data type icon / Roaming for phoneId: 0
D/ConnectivityService( 873): updateNetworkScore for NetworkAgentInfo [WIFI () - 282] to 60
D/ConnectivityService( 873): rematching NetworkAgentInfo [WIFI () - 282]
D/ConnectivityService( 873): network has: [Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=865, legacyType=-1, [] ]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=502, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=881, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=1088, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=840, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): Network NetworkAgentInfo [WIFI () - 282] was already satisfying request 1. No change.
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=880, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 282]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=502, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=502, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityManager.CallbackHandler(32651): CM callback handler got msg 524290
D/ConnectivityService( 873): sending notification for NetworkRequest [id=840, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=840, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=865, legacyType=-1, [] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=865, legacyType=-1, [] ]
D/ConnectivityManager.CallbackHandler( 6301): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 9308): CM callback handler got msg 524290
D/ConnectivityService( 873): sending notification for NetworkRequest [id=880, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=880, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=881, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=881, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=1088, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=1088, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityManager.CallbackHandler( 6301): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(29442): CM callback handler got msg 524290
D/ConnectivityService( 873): sending new Min Network Score(60): NetworkRequest [id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
D/WIFI_UT ( 873): new score 60 for exisiting request NetworkRequest [id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
D/WIFI_UT ( 873): my score=2147483647, my filter=[Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]
D/WIFI_UT ( 873): evalRequest
D/WIFI_UT ( 873): done
D/WIFI ( 873): new score 60 for exisiting request NetworkRequest [id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
D/ConnectivityManager.CallbackHandler( 6301): CM callback handler got msg 524290
D/WIFI ( 873): my score=60, my filter=[Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]
D/WIFI ( 873): evalRequest
D/WIFI ( 873): done
D/StatusBar.MSimNetworkController( 9308): refreshViews phoneId =0mMSimDataConnected =false
D/StatusBar.MSimNetworkController( 9308): refreshViews mMSimDataActivity =0
D/StatusBar.MSimNetworkController( 9308): refreshViews: Data not connected!! Set no data type icon / Roaming for phoneId: 0
E/Auth ( 1728): [GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTICATION. Account: <ELLIDED:-766940856>, App: com.google.android.gms, Service: oauth2:https://www.googleapis.com/auth/contextcontroller
E/Auth ( 1728): dkq: Long live credential not available.
E/Auth ( 1728): at dkr.a(:com.google.android.gms:3101)
E/Auth ( 1728): at dje.a(:com.google.android.gms:397)
E/Auth ( 1728): at djd.a(:com.google.android.gms:31369)
E/Auth ( 1728): at djd.a(:com.google.android.gms:313)
E/Auth ( 1728): at elb.a(:com.google.android.gms:1201)
E/Auth ( 1728): at ela.a(:com.google.android.gms:530)
E/Auth ( 1728): at ela.a(:com.google.android.gms:196)
E/Auth ( 1728): at dfw.a(:com.google.android.gms:320)
E/Auth ( 1728): at dfw.a(:com.google.android.gms:210)
E/Auth ( 1728): at dgf.a(:com.google.android.gms:1498)
E/Auth ( 1728): at dge.a(:com.google.android.gms:909)
E/Auth ( 1728): at dge.e(:com.google.android.gms:523)
E/Auth ( 1728): at dge.d(:com.google.android.gms:442)
E/Auth ( 1728): at dgc.b(:com.google.android.gms:564)
E/Auth ( 1728): at ith.a(:com.google.android.gms:82)
E/Auth ( 1728): at iry.a(:com.google.android.gms:57)
E/Auth ( 1728): at brn.a(:com.google.android.gms:5096)
E/Auth ( 1728): at bni.run(:com.google.android.gms:65)
E/Auth ( 1728): at bng.a(:com.google.android.gms:249)
E/Auth ( 1728): at bng.handleMessage(:com.google.android.gms:242)
E/Auth ( 1728): at ixm.run(:com.google.android.gms:141)
E/Auth ( 1728): at ixu.run(:com.google.android.gms:453)
E/Auth ( 1728): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/Auth ( 1728): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/Auth ( 1728): at jch.run(:com.google.android.gms:17)
E/Auth ( 1728): at java.lang.Thread.run(Thread.java:818)
W/GoogleAuthUtil( 1728): isUserRecoverableError status: BAD_AUTHENTICATION
W/AuthSessionAuthenticato( 1728): Auth related exception is being ignored: BadAuthentication
E/ctxmgr ( 1728): [BaseServerTask]Server task (WriteInterestRecordTask) got error response.
E/ctxmgr ( 1728): com.android.volley.VolleyError: Unable to obtain auth token - is the device online?
E/ctxmgr ( 1728): at brn.a(:com.google.android.gms:5116)
E/ctxmgr ( 1728): at bni.run(:com.google.android.gms:65)
E/ctxmgr ( 1728): at bng.a(:com.google.android.gms:249)
E/ctxmgr ( 1728): at bng.handleMessage(:com.google.android.gms:242)
E/ctxmgr ( 1728): at ixm.run(:com.google.android.gms:141)
E/ctxmgr ( 1728): at ixu.run(:com.google.android.gms:453)
E/ctxmgr ( 1728): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/ctxmgr ( 1728): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/ctxmgr ( 1728): at jch.run(:com.google.android.gms:17)
E/ctxmgr ( 1728): at java.lang.Thread.run(Thread.java:818)
E/ctxmgr ( 1728): [SyncServerInterestRecordsOperation]Failure response from WriteInterestRecord. StatusCode = -1
D/StatusBar.MSimNetworkController( 9308): refreshViews phoneId =0mMSimDataConnected =false
D/StatusBar.MSimNetworkController( 9308): refreshViews mMSimDataActivity =0
D/StatusBar.MSimNetworkController( 9308): refreshViews: Data not connected!! Set no data type icon / Roaming for phoneId: 0
D/audio_hw_primary( 332): out_standby: enter: stream (0xb59a3640) usecase(1: low-latency-playback)
E/msm8974_platform( 332): wdd add mixer_path low-latency-playback i2s prop_value 15055
D/hardware_info( 332): hw_info_append_hw_type : device_name = speaker
D/StatusBar.MSimNetworkController( 9308): refreshViews phoneId =0mMSimDataConnected =false
D/StatusBar.MSimNetworkController( 9308): refreshViews mMSimDataActivity =0
D/StatusBar.MSimNetworkController( 9308): refreshViews: Data not connected!! Set no data type icon / Roaming for phoneId: 0
D/StatusBar.MSimNetworkController( 9308): refreshViews phoneId =0mMSimDataConnected =false
D/StatusBar.MSimNetworkController( 9308): refreshViews mMSimDataActivity =0
D/ConnectivityService( 873): updateNetworkScore for NetworkAgentInfo [WIFI () - 282] to 55
D/ConnectivityService( 873): rematching NetworkAgentInfo [WIFI () - 282]
D/ConnectivityService( 873): network has: [Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=865, legacyType=-1, [] ]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=502, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=881, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=1088, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=840, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): Network NetworkAgentInfo [WIFI () - 282] was already satisfying request 1. No change.
D/ConnectivityService( 873): checking if request is satisfied: NetworkRequest [id=880, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): notifyType AVAILABLE for NetworkAgentInfo [WIFI () - 282]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=502, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=502, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=840, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=840, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=865, legacyType=-1, [] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=865, legacyType=-1, [] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=880, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=880, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=881, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=881, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification for NetworkRequest [id=1088, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending notification AVAILABLE for NetworkRequest [id=1088, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
D/ConnectivityService( 873): sending new Min Network Score(55): NetworkRequest [id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
D/ConnectivityManager.CallbackHandler(29442): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler(32651): CM callback handler got msg 524290
D/WIFI_UT ( 873): new score 55 for exisiting request NetworkRequest [id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
D/WIFI_UT ( 873): my score=2147483647, my filter=[Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]
D/WIFI_UT ( 873): evalRequest
D/WIFI_UT ( 873): done
D/WIFI ( 873): new score 55 for exisiting request NetworkRequest [id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
D/WIFI ( 873): my score=60, my filter=[Transports: WIFI Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]
D/WIFI ( 873): evalRequest
D/WIFI ( 873): done
D/ConnectivityManager.CallbackHandler( 6301): CM callback handler got msg 524290
D/StatusBar.MSimNetworkController( 9308): refreshViews: Data not connected!! Set no data type icon / Roaming for phoneId: 0
D/ConnectivityManager.CallbackHandler( 9308): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 6301): CM callback handler got msg 524290
D/ConnectivityManager.CallbackHandler( 6301): CM callback handler got msg 524290
That might be enough to give to the engineers. Normally we want you to leave off the “Corona:v *:s” part since that blocks messages from Google Play.
Rob
What other plugins are you using?
Rob
Admob
My game doesn’t crash but I have a similar issue and code. I’m not sure if this helps or not but mine gets through gpgs.init with no error and then in the init callback I have this code:
local gpgsParams = { userInitiated=true, listener=initGameNetworkCallback } gpgs.login( gpgsParams )
However, it doesn’t seem like it gets to the “initGameNetworkCallback” function when I called the gpgs.login. I have a print statement in the login callback function but it doesn’t show when this is called.
Is it a similar issue?
Are you looking at the console log on your device?
Yes, I’ve confirmed that anything after gpgs.login isn’t called either.
Here is my code for example:
print("gpgs") local gpgsParams = { userInitiated=true, listener=initGameNetworkCallback } gpgs.login( gpgsParams ) print("after login")
I see it print “gpgs” but it never prints “after login”
It also never goes to the “initGameNetworkCallback” callback.
I am having issues when trying to log in after initializing gpgs. Init goes trought but log in crashes the app. This happens only on app start up. When I try to log in afterwards it works just fine.
Here is my code:
[lua]
local gameNetwork = require( “plugin.gpgs” )
– listener
local function gameNetworkAndroidListener( event )
if event.isError == false then
gameNetwork.login({userInitiated = true, listener = logInListener})
end
end
– app startup
gameNetwork.init(gameNetworkAndroidListener)
[/lua]
Plugins in use: plugin.google.iap.v3, vungle, adbuddiz
logCat:
09-09 12:31:15.412 21946 21969 D plugin.gpgs: init()
09-09 12:31:15.430 21946 21969 I Corona : gameNetwork info: {
09-09 12:31:15.430 21946 21969 I Corona : “name”:“init”,
09-09 12:31:15.430 21946 21969 I Corona : “type”:“init”,
09-09 12:31:15.430 21946 21969 I Corona : “isError”:false
09-09 12:31:15.430 21946 21969 I Corona : }
09-09 12:31:15.431 21946 21969 D plugin.gpgs: login()
09-09 12:31:15.455 21946 22012 D AudioTrack: start(): 0x98d98e00
09-09 12:31:15.466 2619 4278 W AppOps : Bad call: specified package com.google.android.gms under uid 10362 but it is really 10005
09-09 12:31:15.473 2619 4243 W AppOps : Bad call: specified package com.google.android.gms under uid 10362 but it is really 10005
09-09 12:31:15.474 2619 4401 W AppOps : Bad call: specified package com.google.android.gms under uid 10362 but it is really 10005
09-09 12:31:15.475 2619 2631 W AppOps : Bad call: specified package com.google.android.gms under uid 10362 but it is really 10005
09-09 12:31:15.522 13566 13578 W GamesServiceBroker: Client connected with SDK 9452000, Services 9452430, and Games 37240030
09-09 12:31:15.534 2619 4035 W AppOps : Bad call: specified package com.google.android.gms under uid 10362 but it is really 10005
09-09 12:31:15.535 21946 22012 D AudioTrack: start(): 0x98d98e00
09-09 12:31:15.537 21946 22012 D AudioTrack: start(): 0x98d98e00
09-09 12:31:15.546 13566 22073 E ValidateServiceOp: Application ID (123456789) must be a numeric value. Please verify that your manifest refers to the correct project ID.
09-09 12:31:15.547 21946 21946 D AndroidRuntime: Shutting down VM
09-09 12:31:15.549 21946 21946 E AndroidRuntime: FATAL EXCEPTION: main
09-09 12:31:15.549 21946 21946 E AndroidRuntime: Process: com.spyric.splitball, PID: 21946
09-09 12:31:15.549 21946 21946 E AndroidRuntime: java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information.
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at com.google.android.gms.common.internal.zzd$zza.zzc(Unknown Source)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at com.google.android.gms.common.internal.zzd$zza.zzv(Unknown Source)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at com.google.android.gms.common.internal.zzd$zze.zzasf(Unknown Source)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at com.google.android.gms.common.internal.zzd$zzd.handleMessage(Unknown Source)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5551)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
09-09 12:31:15.549 21946 21946 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
09-09 12:31:15.551 2619 4401 W ActivityManager: Force finishing activity com.spyric.splitball/com.ansca.corona.CoronaActivity
09-09 12:31:15.555 2619 4401 D InputDispatcher: Focus left window: Window{2a0932c u0 com.spyric.splitball/com.ansca.corona.CoronaActivity}
09-09 12:31:15.586 4188 26302 D SplitWindowPolicy: updateActivityStateChanged: resumed=false, screenId=1, isScreenFull=false
09-09 12:31:15.587 4188 26302 D SplitWindowPolicy: topRunningActivity=ActivityInfo{45f87d co…CoronaActivity}, taskId=3572, activityType=0, bIsSplit=false
Hi,
I am also getting the error,
this s the code i using :
timer.performWithDelay( 300, function ( )
local startInt
function startInt( e)
inspect(e)
if (e.phase== “logged in”) then
gpgs.init(handleGPGS)
else
gpgs.login({userInitiated = true, listener = startInt})
end
end
gpgs.login({userInitiated = true, listener = startInt})
end )
Response after the init is :
{
isError = false,
name = “init”,
type = “init”
}
This is the error i am getting:
E:\Projects\Mercurial_New_Pass\manager\gamenetwork_manager.lua:223: java.lang.NoSuchMethodError: No direct method <init>(Lcom/google/android/gms/common/api/Api$b;[Lcom/google/android/gms/common/api/Scope;)V in class Lcom/google/android/gms/common/api/Api; or its super classes (declaration of ‘com.google.android.gms.common.api.Api’ appears in /data/app/com.timeplusq.bombbros-1/base.apk:classes3.dex)
Java Stack Trace:
com.google.android.gms.drive.Drive.<clinit>(Unknown Source)
plugin.gpgs.Connector.init(Connector.java:68)
plugin.gpgs.LuaLoader.login(LuaLoader.java:167)
plugin.gpgs.LuaLoader.access$2200(LuaLoader.java:40)
plugin.gpgs.LuaLoader$LoginWrapper.invoke(LuaLoader.java:701)
com.ansca.corona.JavaToNativeShim.nativeRender(Native Method)
com.ansca.corona.JavaToNativeShim.render(JavaToNativeShim.java:182)
com.ansca.corona.Controller.updateRuntimeState(Controller.java:333)
com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:4
What wrong i am doing in this???
I made a sample a while back that may help youhttps://forums.coronalabs.com/topic/65364-game-networking-demos/
I think it is just an issue with the new plugin. They should be working on fixing it
I’ve asked the engineer that built the plugin to look into these.
Rob
Hi guys,
Currently the old AdMob plugin is not compatible with the new GPGS plugin, because they use different Google Play Games API under the hood. If you want to use the new GPGS plugin, at the moment you have to use some other ad network.
My app chrashes now everytime I try to log in to gpgc and I am not using AdMob. I did work for a while with a timer to log in after init but now it just crashes all the time.
@quuood, I’m not sure if you caught this error:
09-09 12:31:15.546 13566 22073 E ValidateServiceOp: Application ID (123456789) must be a numeric value. Please verify that your manifest refers to the correct project ID.
Are you setting a project ID in your build settings?
settings = { android = { googlePlayGamesAppId = "YOUR\_APP\_ID", }, }
YOUR_APP_ID has to be a number you get from Google Play Games Services setup pages.
Rob