While trying to load pre planned esri map. I am getting error "com.esri.arcgisruntime.ArcGISRuntimeException: Invalid argument.: weak_ptr is expired.".
First time it was working fine, after that I am getting this error. Just wanted to know what is the related issue here.
Hi,
Could you share your code. Is it possible that you are not holding on to some object(s) like the OfflineMapTask or corresponding jobs, thus making them eligible for garbage collection?
Hi, Thanks. Issue is fixed, I am not using the object properly.