The crash file is written to the Android device, which can be hard to extract and read on your own. It’s actually meant to be read by Defold itself through the crash.* module functionality; https://www.defold.com/ref/crash/
Is there any other output before the crashdump is written? Errors? Do you use any Native Extensinos?
No, before this message there are no errors or anything like that. And also i use a lot of extensions, but it started to happened when i’ve added AdMob extension @sergey.lerg
local function admob_listener(event)
print(TAG, "admob event type", event.type)
print(TAG, "admob event phase", event.phase)
if event.phase == 'loaded' and event.type == 'interstitial' then
admob.show('interstitial')
end
if event.phase == 'loaded' and event.type == 'rewarded' then
admob.show('rewarded')
end
if event.phase == 'init' then
admob.load{
type = 'banner',
id = "ca-app-pub-3825550765420734/6655086030",
size = 'smart',
position = 'bottom',
keywords = {'puzzle', 'game'}
}
admob.load{
type = 'interstitial',
id = 'ca-app-pub-3825550765420734/6419507656',
immersive = true,
keywords = {'action', 'game'}
}
admob.load{
type = 'rewarded',
id = 'ca-app-pub-3825550765420734/7463102373',
immersive = true,
keywords = {'action', 'game'}
}
end
end
Here is my code. And it works as expected when i create .apk file for android and install it manually. But problem(crash) appears when i try to rebuild already launched app through wifi
And crash independent from the code, because crash appears even if there is no lines of code with admob
You mean when reloading/streaming to an already running app, not hot reload of an asset right?
In either case I think we should try to fix this in general if it is a problem. You should get the finalize callback for the extension when the engine is restarted and new content is sent.