java.lang.NoSuchFieldException: No field mFlags in class Landroid/service/media/MediaBrowserService$Result; (declaration of 'android.service.media.MediaBrowserService$Result' appears in /system/framework/framework.jar:classes2.dex)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Thrown to indicate that a specified field does not exist. make sure "strongClassCache" exists and is accessible (not private).

Solutions on the web

via Stack Overflow by cherry-wave
, 1 year ago
No field mFlags in class Landroid/service/media/MediaBrowserService$Result; (declaration of 'android.service.media.MediaBrowserService$Result' appears in /system/framework/framework.jar:classes2.dex)
via Stack Overflow by cherry-wave
, 1 year ago
No field mFlags in class Landroid/service/media/MediaBrowserService$Result; (declaration of 'android.service.media.MediaBrowserService$Result' appears in /system/framework/framework.jar:classes2.dex)
via GitHub by gejiaheng
, 2 months ago
No field mView in class Landroid/view/ColorViewRootImpl; (declaration of 'android.view.ColorViewRootImpl' appears in /system/framework/framework.jar:classes2.dex)
via GitHub by gdky005
, 1 year ago
No field mTheme in class Landroid/content/res/Resources$Theme; (declaration of 'android.content.res.Resources$Theme' appears in /system/framework/framework.jar)
via GitHub by Zenobiusz
, 1 year ago
No field mSleeping in class Lcom/android/server/am/HwActivityManagerService; (declaration of 'com.android.server.am.HwActivityManagerService' appears in /system/framework/hwServices.jar)
via GitHub by shexianseng
, 2 months ago
No field mLastSrvView in class Landroid/view/inputmethod/InputMethodManager; (declaration of 'android.view.inputmethod.InputMethodManager' appears in /system/framework/framework.jar:classes2.dex)
java.lang.NoSuchFieldException: No field mFlags in class Landroid/service/media/MediaBrowserService$Result; (declaration of 'android.service.media.MediaBrowserService$Result' appears in /system/framework/framework.jar:classes2.dex)
at android.support.v4.media.MediaBrowserServiceCompatApi24.(MediaBrowserServiceCompatApi24.java:36)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:324)
at com.orm.util.ReflectionUtil.getDomainClass(ReflectionUtil.java:274)
at com.orm.util.ReflectionUtil.getDomainClasses(ReflectionUtil.java:258)
at com.orm.SchemaGenerator.createDatabase(SchemaGenerator.java:45)
at com.orm.SugarDb.onCreate(SugarDb.java:28)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:251)
at com.orm.SugarDb.getDB(SugarDb.java:38)
at com.orm.SugarRecord.getSugarDataBase(SugarRecord.java:35)
at com.orm.SugarRecord.find(SugarRecord.java:201)
at com.orm.SugarRecord.listAll(SugarRecord.java:127)

Users with the same issue

Once, 1 year ago
24 times, 1 year ago
Once, 1 year ago
37 times, 1 year ago
2 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.