java.lang.NoSuchFieldException

No field mTheme in class Landroid/content/res/Resources$Theme; (declaration of 'android.content.res.Resources$Theme' appears in /system/framework/framework.jar)


Solutions on the web32

Solution icon of stackoverflow
via Stack Overflow by RRR
, 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)

Solution icon of stackoverflow
via Stack Overflow by Nahidaa
, 11 months ago
No field mTheme in class Landroid/content/res/Resources$Theme; (declaration of 'android.content.res.Resources$Theme' appears in /system/framework/framework.jar)

Solution icon of github
No field mTheme in class Landroid/content/res/Resources$Theme; (declaration of 'android.content.res.Resources$Theme' appears in /system/framework/framework.jar)

Solution icon of stackoverflow
via Stack Overflow by iYonatan
, 11 months ago
No field mTheme in class Landroid/content/res/Resources$Theme; (declaration of 'android.content.res.Resources$Theme' appears in /system/framework/framework.jar)

Solution icon of qt
via Qt Bug Tracker by Dmitry Nikolaev, 1 year ago
No field mDrawable in class Landroid/graphics/drawable/RotateDrawable$RotateState; (declaration of 'android.graphics.drawable.RotateDrawable$RotateState' appears in /system/framework/framework.jar)

Solution icon of qt
via Qt Bug Tracker by Dmitry Nikolaev, 1 year ago
No field mDrawable in class Landroid/graphics/drawable/RotateDrawable$RotateState; (declaration of 'android.graphics.drawable.RotateDrawable$RotateState' appears in /system/framework/framework.jar)

Solution icon of stackoverflow
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)

Solution icon of stackoverflow
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)

Solution icon of github
via GitHub by sorcer1122
, 10 months ago
No field mSleeping in class Lcom/android/server/am/HwActivityManagerService; (declaration of 'com.android.server.am.HwActivityManagerService' appears in /system/framework/hwServices.jar)

Solution icon of github
via GitHub by Genhis
, 3 months ago
No field mSleeping in class Lcom/android/server/am/HwActivityManagerService; (declaration of 'com.android.server.am.HwActivityManagerService' appears in /system/framework/hwServices.jar)

Stack trace

  • java.lang.NoSuchFieldException: No field mTheme in class Landroid/content/res/Resources$Theme; (declaration of 'android.content.res.Resources$Theme' appears in /system/framework/framework.jar) at java.lang.Class.getDeclaredField(Native Method) at com.android.tools.fd.runtime.MonkeyPatcher.monkeyPatchExistingResources(MonkeyPatcher.java:374) at com.android.tools.fd.runtime.Server.restart(Server.java:523) at com.android.tools.fd.runtime.Server.access$600(Server.java:61) at com.android.tools.fd.runtime.Server$SocketServerReplyThread.handle(Server.java:318) at com.android.tools.fd.runtime.Server$SocketServerReplyThread.run(Server.java:190) at com.android.tools.fd.runtime.Server$SocketServerThread.run(Server.java:158)

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

Samebug visitor profile picture
Unknown user
Once, 3 months ago
219 times, 6 months ago
124 times, 1 year ago
Once, 3 months ago
6 times, 1 year ago
57 more bugmates