Map view in tab layout throwing , java.lang.IllegalStateException: Binder has been finalized ,Uncaught exception thrown by finalizer

前端 未结 1 316
陌清茗
陌清茗 2021-01-21 11:36

I have created an application which has a tab layout , on clicking on of the tab i open a new activity which uses web view. Also the other tab uses map view ,list view , image v

相关标签:
1条回答
  • 2021-01-21 12:13

    I encountered the same error while deploying my application on a brand new Galaxy Tab 2. In my case i just open a MapActivity that draw some custom Overlay and ItemOverlay and it throws that error.

    I noticed that the map zoom level is set far away so i tought it was the problem: i temporary disabled all drawing stuff of my activity and the map showed correctly, then i zoomed in and exited that activity, i re-enabled my drawing stuff and this time it works correctly (when i opened the activity the zoom level setted was the last i used when i closed the empty map activity)

    don't know if it may help you, i suppose it has something to do with incorrect map zoom level at startup so maybe setting a custom zoom level could solve the problem.

    0 讨论(0)
提交回复
热议问题