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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web419

  • via Unknown by Dmitry Nikolaev,
  • Stack trace

    • 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 java.lang.Class.getDeclaredField(Native Method) at android.support.v4.media.MediaBrowserServiceCompatApi24.<clinit>(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 android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Hiren AmaliyarHiren Amaliyar
    1836 times, last one
    Unknown visitor
    Unknown visitorOnce,
    VikramVikram
    2 times, last one
    gamebusterzgamebusterz
    219 times, last one
    Aria PahlavanAria Pahlavan
    12 times, last one
    57 more bugmates