java.lang.NoSuchMethodError: android.support.constraint.solver.widgets.ConstraintWidget.setHorizontalWeight(F)V

Stack Overflow | Ahmed Nageeb | 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

    Android Studio ConstraintLayout alpha 9 onMeasure error

    Stack Overflow | 5 months ago | Ahmed Nageeb
    java.lang.NoSuchMethodError: android.support.constraint.solver.widgets.ConstraintWidget.setHorizontalWeight(F)V
  2. 0

    ConstraintLayout does not render correctly outside blueprint mode

    Stack Overflow | 5 months ago | Polarbear0106
    java.lang.NoSuchMethodError: android.support.constraint.solver.widgets.ConstraintWidget.immediateConnect(Landroid/support/constraint/solver/widgets/ConstraintAnchor$Type;Landroid/support/constraint/solver/widgets/ConstraintWidget;Landroid/support/constraint/solver/widgets/ConstraintAnchor$Type;II)V
  3. 0

    ConstraintLayout designer rendering exception

    Stack Overflow | 5 months ago | user1209216
    java.lang.NoSuchMethodError: android.support.constraint.solver.widgets.ConstraintWidget.immediateConnect(Landroid/support/constraint/solver/widgets/ConstraintAnchor$Type;Landroid/support/constraint/solver/widgets/ConstraintWidget;Landroid/support/constraint/solver/widgets/ConstraintAnchor$Type;II)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.support.constraint.solver.widgets.ConstraintWidget.setHorizontalWeight(F)V

      at android.support.constraint.ConstraintLayout.setChildrenConstraints()
    2. android.support.constraint
      ConstraintLayout.onMeasure
      1. android.support.constraint.ConstraintLayout.setChildrenConstraints(ConstraintLayout.java:675)
      2. android.support.constraint.ConstraintLayout.updateHierarchy(ConstraintLayout.java:468)
      3. android.support.constraint.ConstraintLayout.onMeasure_Original(ConstraintLayout.java:770)
      4. android.support.constraint.ConstraintLayout.onMeasure(ConstraintLayout.java)
      4 frames
    3. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:19731)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6120)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
      3 frames
    4. Android v7
      ContentFrameLayout.onMeasure
      1. android.support.v7.widget.ContentFrameLayout.onMeasure_Original(ContentFrameLayout.java:135)
      2. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java)
      2 frames
    5. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.view.View.measure(View.java:19731)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6120)
      2 frames
    6. Android v7
      ActionBarOverlayLayout.onMeasure
      1. android.support.v7.widget.ActionBarOverlayLayout.onMeasure_Original(ActionBarOverlayLayout.java:391)
      2. android.support.v7.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java)
      2 frames
    7. Android Platform
      View.measure
      1. android.view.View.measure(View.java:19731)
      2. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
      3. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
      4. android.view.View.measure(View.java:19731)
      4 frames
    8. com.android.layoutlib
      Bridge.createSession
      1. com.android.layoutlib.bridge.impl.RenderSessionImpl.measureView(RenderSessionImpl.java:545)
      2. com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:342)
      3. com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
      3 frames
    9. com.android.tools.sdk-common
      LayoutLibrary.createSession
      1. com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)
      1 frame
    10. com.android.tools
      RenderTask$2.compute
      1. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)
      2. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)
      2 frames
    11. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
      1 frame
    12. com.android.tools
      RenderTask.lambda$inflate$72
      1. com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)
      2. com.android.tools.idea.rendering.RenderTask.lambda$inflate$72(RenderTask.java:659)
      2 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames