java.lang.NoClassDefFoundError: Failed resolution of: Lio/realm/RealmConfiguration$Builder;

Stack Overflow | CiaranC94 | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Realm causes my app to crash when trying to build a RealmConfiguration

    Stack Overflow | 8 months ago | CiaranC94
    java.lang.NoClassDefFoundError: Failed resolution of: Lio/realm/RealmConfiguration$Builder;

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Failed resolution of: Lio/realm/RealmConfiguration$Builder;

      at com.tommy.mastersproject.fragments.MemoryRecallFragment.onCreate()
    2. com.tommy.mastersproject
      MemoryRecallFragment.onCreate
      1. com.tommy.mastersproject.fragments.MemoryRecallFragment.onCreate(MemoryRecallFragment.java:144)
      1 frame
    3. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.Fragment.performCreate(Fragment.java:1951)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1029)
      3. android.support.v4.app.BackStackRecord.setLastIn(BackStackRecord.java:779)
      4. android.support.v4.app.BackStackRecord.calculateFragments(BackStackRecord.java:802)
      5. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:660)
      6. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
      7. android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:339)
      8. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:601)
      8 frames
    4. Android Platform
      ActivityThread.handleLaunchActivity
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1238)
      2. android.app.Activity.performStart(Activity.java:6268)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
      4 frames