java.lang.NoSuchFieldError: No field gallery of type I in class Lorg/wordpress/aztec/R$id; or its superclasses (declaration of 'org.wordpress.aztec.R$id' appears in /data/data/org.wordpress.android.beta/files/instant-run/dex/slice-slice_1-classes.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

Solutions on the web

via GitHub by theck13
, 10 months ago
No field gallery of type I in class Lorg/wordpress/aztec/R$id; or its superclasses (declaration of 'org.wordpress.aztec.R$id' appears in /data/data/org.wordpress.android.beta/files/instant-run/dex/slice-slice_1-classes.dex)
java.lang.NoSuchFieldError: No field gallery of type I in class Lorg/wordpress/aztec/R$id; or its superclasses (declaration of 'org.wordpress.aztec.R$id' appears in /data/data/org.wordpress.android.beta/files/instant-run/dex/slice-slice_1-classes.dex)
at org.wordpress.aztec.toolbar.AztecToolbar.onMenuItemClick(AztecToolbar.kt:97)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:761)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:904)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:894)
at android.widget.AdapterView.performItemClick(AdapterView.java:310)
at android.widget.AbsListView.performItemClick(AbsListView.java:1156)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3121)
at android.widget.AbsListView$3.run(AbsListView.java:4036)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)

Users with the same issue

You are the first who have seen this exception.

Write tip

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