Hello,
I am after some help please.
I have upgraded an old android app from the Nutiteq SDK to the latest CARTO SDK.
I am close to finishing the task, however there are some crashes caused by the way the app functions with the map view. I am a contract worker, trying to help out on the project, the original developers are not involved, so its been quite a long process and I am also originally a iOS developer but have muddled my way through gradually.
When a new screen takes over, removing the map view from view, and then it is returned to view, the app crashes and this error is placed in the log:
abort_message: assertion "terminating with uncaught exception of type carto::InvalidArgumentException: Layer already attached to a different renderer" failed.
There is no stack trace unfortunately.
This app does function on Android 6.0-9.0, and there is no difference in OS that makes this error occur, it happens regardless.
I suspect the the main activity is doing something funky in onPause but I'm not sure.
Does anyone have any ideas on how I may fix this?
Thank you :)
Hello,
I am after some help please.
I have upgraded an old android app from the Nutiteq SDK to the latest CARTO SDK.
I am close to finishing the task, however there are some crashes caused by the way the app functions with the map view. I am a contract worker, trying to help out on the project, the original developers are not involved, so its been quite a long process and I am also originally a iOS developer but have muddled my way through gradually.
When a new screen takes over, removing the map view from view, and then it is returned to view, the app crashes and this error is placed in the log:
abort_message: assertion "terminating with uncaught exception of type carto::InvalidArgumentException: Layer already attached to a different renderer" failed.
There is no stack trace unfortunately.
This app does function on Android 6.0-9.0, and there is no difference in OS that makes this error occur, it happens regardless.
I suspect the the main activity is doing something funky in onPause but I'm not sure.
Does anyone have any ideas on how I may fix this?
Thank you :)