【发布时间】:2016-12-12 09:01:52
【问题描述】:
我正在使用 MapView 版本。 10.0.1。我遇到内存泄漏 MapView 保存了活动上下文。
LeakCanary 跟踪:
com.demo.app.ui.main.MainActivity has leaked:
GC ROOT wl.a
references oo.a
references maps.ad.L.g
references maps.ad.V.c
references maps.D.i.a
references maps.D.p.mParent
references android.widget.FrameLayout.mParent
references com.google.android.gms.maps.MapView.mContext
leaks com.demo.app.ui.main.MainActivity instance
【问题讨论】:
标签: android google-maps memory-leaks android-mapview leakcanary