I\'m getting a very weird error.
I have 2 activities. On both I\'m getting the SharedPreferences
using MODE_PRIVATE
(if it matters) by sp = g
The exception occurs in this Android method:
public boolean getBoolean(String key, boolean defValue) {
synchronized (this) {
awaitLoadedLocked();
Boolean v = (Boolean)mMap.get(key); // On this line
return v != null ? v : defValue;
}
}
The only sense I can make of this error is that your are reusing the key IntroActivity.SHOW_INTRO
for a String somewhere else in your code.