解决方法
我通过添加到
AndroidManifest.xml中的Activity修复了问题:
机器人:configChanges = “方向|屏幕尺寸”
编辑(04/28/2017):
Note: Using this attribute should be avoided and used only as a last resort. Please read Handling Runtime Changes for more information about how to properly handle a restart due to a configuration change.
也许您可以查看this answer,它使用FragmentActivity的onCreate方法中提供的Bundle正确保存SupportMapFragment.