Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Unfortantly, APP has stoped working
Started by acorbin3 Mar 16 2016 06:07 PM

3 replies to this topic
google googleanalytics analytics
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

acorbin3

[GLOBAL: userInfoPane.html]
acorbin3
  • Observer

  • 20 posts
  • Corona SDK

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:

1. Open up App from app icon
2. Close App using the back button
3. Open up app from app icon
4. 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",
        },
    },

}


[TOPIC: post.html]
#2

teamdtr

[GLOBAL: userInfoPane.html]
teamdtr
  • Observer

  • 8 posts
  • Corona SDK

having same issue. anyone?



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,697 posts
  • Enterprise

Google Analytics and and Admob v2 (Google Play Services) are not compatible with each other. You should use another analytics option for now.

 

Rob



[TOPIC: post.html]
#4

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,855 posts
  • Enterprise

You can probably use the google analytics rest api


[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: google, googleanalytics, analytics