When I develop an application for Android, I come across the exception that I do not have. I have Google related topics, but none of them helped.
Fatal Exception: java.util.ConcurrentModificationException java.util.HashMap$HashIterator.nextEntry (HashMap.java:806) java.util.HashMap$KeyIterator.next (HashMap.java:833) com.android.internal.util.XmlUtils.writeSetXml (XmlUtils.java:298) com.android.internal.util.XmlUtils.writeValueXml (XmlUtils.java:447) com.android.internal.util.XmlUtils.writeMapXml (XmlUtils.java:241) com.android.internal.util.XmlUtils.writeMapXml (XmlUtils.java:181) android.app.SharedPreferencesImpl.writeToFile (SharedPreferencesImpl.java:596) android.app.SharedPreferencesImpl.access$800 (SharedPreferencesImpl.java:52) android.app.SharedPreferencesImpl$2.run (SharedPreferencesImpl.java:511) java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1112) java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587) java.lang.Thread.run (Thread.java:841)
source share