java.lang.NoSuchMethodError: No virtual method addChangeListener(Lio/realm/RealmChangeListener;)V in class Lio/realm/BaseRealm; or its super classes (declaration of 'io.realm.BaseRealm' appears in /data/data/com.monoapp/files/instant-run/dex/slice-io.realm-realm-android-library-2.0.0_94ee25b8bc2e86a7eff1a547a9e7a3e8b0e46464-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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by AND4011002849
, 1 year ago
No virtual method addChangeListener(Lio/realm/RealmChangeListener;)V in class Lio/realm/BaseRealm; or its super classes (declaration of 'io.realm.BaseRealm' appears in /data/data/com.monoapp/files/instant-run/dex/slice-io.realm-realm-android-library-2.0.0_94ee25b8bc2e86a7eff1a547a9e7a3e8b0e46464-classes.dex)
via GitHub by jgvidotto
, 1 year ago
No virtual method addChangeListener(Lio/realm/RealmChangeListener;)V in class Lio/realm/BaseRealm; or its super classes (declaration of 'io.realm.BaseRealm' appears in /data/data/com.monoapp/files/instant-run/dex/slice-io.realm-realm-android-library-2.0.0_94ee25b8bc2e86a7eff1a547a9e7a3e8b0e46464-classes.dex)
java.lang.NoSuchMethodError: No virtual method addChangeListener(Lio/realm/RealmChangeListener;)V in class Lio/realm/BaseRealm; or its super classes (declaration of 'io.realm.BaseRealm' appears in /data/data/com.monoapp/files/instant-run/dex/slice-io.realm-realm-android-library-2.0.0_94ee25b8bc2e86a7eff1a547a9e7a3e8b0e46464-classes.dex)
at io.realm.RealmBasedRecyclerViewAdapter.updateRealmResults(RealmBasedRecyclerViewAdapter.java:331)
at com.app.RealmSearch.RealmSearchAdapter.filter(RealmSearchAdapter.java:126)
at com.app.RealmSearch.RealmSearchView.setAdapter(RealmSearchView.java:121)
at com.app.FragmentSelecionaCliente.showDialog(FragmentSelecionaCliente.java:169)
at com.app.FragmentSelecionaCliente$2.onClick(FragmentSelecionaCliente.java:105)
at android.view.View.performClick(View.java:5201)
at android.view.View$PerformClick.run(View.java:21163)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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