I’m getting a few new crashes too after my latest app update (on Android) built with 2016.2846 on OSX 10.11.4.
The only change in my app was adding (and using just a little) Google Analytics plugin.
This is the error I get from GA:
NullPointerException (@CoronaSensorManager:stopType:888) {main}
I’ll investigate more.
Update:
I found the cause and a fix: nothing to do with Google Analytics but somehow with AdMob. The crash occurred in a call to ads.hide() when the user pressed the back button on device.
I suspect that ads.hide was called improperly, maybe twice, thus causing the crash.
It might be because i’m hiding ads on both applicationExit and applicationSuspend events.
I’ll try to learn more abut these systemEvents on Android to better pinpoint the issue…
Sorry if these info might not be exactly related to this thread. It was not my intention to hijack…
local function onSystemEvent( event ) local self = \_G.afk.ads if event.type == "applicationExit" or event.type == "applicationSuspend" then -- Hide banners on suspend self:stopAds() elseif event.type == "applicationResume" then -- resume banners self:resumeAds() end print( "System event name and type: " .. event.name, event.type ) end Runtime:addEventListener( "system", onSystemEvent ) end function adLib:stopAds() -- Adding this check fixed the Back Button Crash if self.adsRunning == true then ads.hide() end self.adsRunning = false end --------------------------------------------------------------------------------