这是我将地图添加到instabug的代码:
Log.i("","entered here... map:" + mMap + "...." + mMapFragment.getView());
PSLocationCenter.getInstance().instabug.addMapView(mMapFragment.getView(), mMap);我在哪里得到这个日志:
04-01 14:28:55.455: I/(26117): entered here... map:com.google.android.gms.maps.GoogleMap@5091193....android.widget.FrameLayout{7dbac34 V.E...C.. .......D 0,0-1080,1776}如你所见。我的地图存在,碎片也存在。initMap函数在BaseActivity中,其他类在instabug中具有映射。这是我的地图:

这是我在instabug中看到的:

发布于 2016-04-03 20:44:32
在Instabug中,我们使用WeakReference<GoogleMap>,所以您可以尝试在您的类中将GoogleMap变量切换为全局变量,然后告诉我它是如何进行的?
我还注意到您正在使用Instabug的v1+,我建议您使用v2,因为除了UI rehall和新功能之外,它还包含许多错误修复和增强功能:)
请随时通过我们的网站联系我们的支持渠道。
发布于 2016-11-03 03:21:26
此问题已从版本3.0.0开始解决。您只需升级到最新版本>= v3.0.5即可
https://stackoverflow.com/questions/36356463
复制相似问题