Hello all,
So starting adding in Google Analytics into my app today and found a crash but I am not sure why its happening
Device: Android Samsung Gs6
How to reproduce:
- Open up App from app icon
- Close App using the back button
- Open up app from app icon
- Here is where it crashes. I didnt see any crashes from the corona sdk but in the logcat from the app
When I remove the Google Analytics plugin from my build settings and the ~4 logEvents from the code everything seems to be working find.
Is this a known issue? Should I just go to the other Analytic plugins?
Thanks,
Adam
Here is what I could get from the log cat :
E/WindowState( 3660): getStack: Window{2795cd9c u0 d0 com.gmail.acorbin3.backflipstudio.lucky\_8ball\_slots/com.ansca.corona.CoronaActivity} couldn't find taskId=9192 Callers=com.android.server.wm.WindowState.getDisplayContent:1246 com.android.server.wm.WindowState.isDefaultDisplay:1936 com.android.server.w m.WindowState.getMultiWindowStyleLw:2520 com.android.internal.policy.impl.multiwindow.MultiPhoneWindowManager.shouldEnableLayoutInsetsBySoftInput:1601 E/WindowState( 3660): getStack: Window{2795cd9c u0 d0 com.gmail.acorbin3.backflipstudio.lucky\_8ball\_slots/com.ansca.corona.CoronaActivity} couldn't find taskId=9192 Callers=com.android.server.wm.WindowState.getDisplayContent:1246 com.android.server.wm.WindowState.isDefaultDisplay:1936 com.android.server.w m.WindowState.getMultiWindowStyleLw:2520 com.android.internal.policy.impl.multiwindow.MultiPhoneWindowManager.shouldEnableLayoutInsetsBySoftInput:1601 E/WindowState( 3660): getStack: Window{2795cd9c u0 d0 com.gmail.acorbin3.backflipstudio.lucky\_8ball\_slots/com.ansca.corona.CoronaActivity} couldn't find taskId=9192 Callers=com.android.server.wm.WindowState.getDisplayContent:1246 com.android.server.wm.WindowState.isDefaultDisplay:1936 com.android.server.w m.WindowState.getMultiWindowStyleLw:2520 com.android.internal.policy.impl.multiwindow.MultiPhoneWindowManager.shouldEnableLayoutInsetsBySoftInput:1601 E/WindowState( 3660): getStack: Window{2795cd9c u0 d0 com.gmail.acorbin3.backflipstudio.lucky\_8ball\_slots/com.ansca.corona.CoronaActivity} couldn't find taskId=9192 Callers=com.android.server.wm.WindowState.getDisplayContent:1246 com.android.server.wm.WindowState.isDefaultDisplay:1936 com.android.server.w m.WindowState.getMultiWindowStyleLw:2520 com.android.internal.policy.impl.multiwindow.MultiPhoneWindowManager.shouldEnableLayoutInsetsBySoftInput:1601 ... W/BroadcastQueue( 3660): Skipping deliver [background] BroadcastRecord{1ef95f4d u-1 android.net.conn.CONNECTIVITY\_CHANGE} to ReceiverList{eeb80e9 16124 c om.gmail.acorbin3.backflipstudio.lucky\_8ball\_slots/10387/u0 remote:15186570}: process crashing I/DBG\_FMMDM(22944): [50.20.150615][Line:648][xdmProtoIsWIFIConnected] WiFi DisConnected W/BroadcastQueue( 3660): Skipping deliver [background] BroadcastRecord{1ef95f4d u-1 android.net.conn.CONNECTIVITY\_CHANGE} to ReceiverList{321c9cc1 16124 com.gmail.acorbin3.backflipstudio.lucky\_8ball\_slots/10387/u0 remote:3b1fa9a8}: process crashing ... W/ActivityManager( 3660): Activity pause timeout for ActivityRecord{81edc2e u0 com.gmail.acorbin3.backflipstudio.lucky\_8ball\_slots/com.ansca.corona.Coron aActivity t9213 f}
Build settings
settings = { orientation = { default ="landscapeRight", content = "landscapeRight", supported = { "landscapeRight" }, }, plugins = { -- key is the name passed to Lua's 'require()' ["plugin.googleAnalytics"] = { publisherId = "com.coronalabs" }, ["plugin.parse"] = { -- required publisherId = "com.develephant", }, ["plugin.notifications"] = { publisherId = "com.coronalabs" }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs" }, ["CoronaProvider.ads.vungle"] = { publisherId = "com.vungle", }, }, android = { usesPermissions = { "android.permission.INTERNET", "android.permission.RECEIVE\_BOOT\_COMPLETED", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", }, }, }