supportmapfragment

Error opening SupportMapFragment for second time

一个人想着一个人 提交于 2019-11-26 01:07:30
问题 When opening my SupportMapFragment (Android maps v2) for a second time (calling setContentView) I get the following error: 01-28 16:27:21.374: E/AndroidRuntime(32743): FATAL EXCEPTION: main 01-28 16:27:21.374: E/AndroidRuntime(32743): android.view.InflateException: Binary XML file line #6: Error inflating class fragment 01-28 16:27:21.374: E/AndroidRuntime(32743): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) 01-28 16:27:21.374: E/AndroidRuntime(32743): at android