Attempt to invoke virtual method 'android.content.SharedPreferences android.content.Context.getSharedPreferences
问题 I'm trying to save Json object which I got from Json URL to favorite list using SharedPreferences but The app crashes every time when I try to save Json Array with next error: 06-27 18:36:03.224 933-933/? E/EGL_emulation﹕ tid 933: eglCreateSyncKHR(1237): error 0x3004 (EGL_BAD_ATTRIBUTE) 06-27 18:36:27.496 2778-2778/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory) 06-27 18:36:27.496 2778-2778/? E/android.os.Debug﹕ failed to load memtrack module: -2 06-27 18:36:27.943