java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nextgis.mobile/com.nextgis.maplibui.activity.NGWSettingsActivity}: java.lang.IllegalStateException: Dependency "synchronization" not found for preference "sync_period" (title: "Интервал синхронизации"

GitHub | BishopGIS | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NGW setting dialog crash application

    GitHub | 5 months ago | BishopGIS
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nextgis.mobile/com.nextgis.maplibui.activity.NGWSettingsActivity}: java.lang.IllegalStateException: Dependency "synchronization" not found for preference "sync_period" (title: "Интервал синхронизации"

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Dependency "synchronization" not found for preference "sync_period" (title: "Интервал синхронизации"

      at android.preference.Preference.registerDependency()
    2. Android Platform
      Preference.setDependency
      1. android.preference.Preference.registerDependency(Preference.java:1007)
      2. android.preference.Preference.setDependency(Preference.java:1131)
      2 frames
    3. com.nextgis.maplibui
      NGWSettingsActivity.onCreate
      1. com.nextgis.maplibui.activity.NGWSettingsActivity.addPeriodicSyncTime(NGWSettingsActivity.java:430)
      2. com.nextgis.maplibui.activity.NGWSettingsActivity.fillAccountPreferences(NGWSettingsActivity.java:278)
      3. com.nextgis.maplibui.activity.NGWSettingsActivity.createView(NGWSettingsActivity.java:215)
      4. com.nextgis.maplibui.activity.NGWSettingsActivity.onCreate(NGWSettingsActivity.java:96)
      4 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
      2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
      3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
      4. android.app.ActivityThread.access$1500(ActivityThread.java:117)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
      6. android.os.Handler.dispatchMessage(Handler.java:99)
      7. android.os.Looper.loop(Looper.java:130)
      8. android.app.ActivityThread.main(ActivityThread.java:3687)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame