0

「com.android.support.constraint:constraint-layout:1.1.2」から「com.android.support.constraint:constraint-layout:1.1.3」にアップグレードする前に、アプリは正常に動作していました

このシステムエラーだけでラインエラーは発生しませんでした:

java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.support.constraint.ConstraintLayout$LayoutParams
    at android.support.constraint.ConstraintLayout.getTargetWidget(ConstraintLayout.java:1144)
    at android.support.constraint.ConstraintLayout.setChildrenConstraints(ConstraintLayout.java:1028)
    at android.support.constraint.ConstraintLayout.updateHierarchy(ConstraintLayout.java:803)
    at android.support.constraint.ConstraintLayout.onMeasure(ConstraintLayout.java:1561)
    at android.view.View.measure(View.java:24973)
    at android.support.constraint.ConstraintLayout.internalMeasureChildren(ConstraintLayout.java:1227)
    at android.support.constraint.ConstraintLayout.onMeasure(ConstraintLayout.java:1572)
    at android.view.View.measure(View.java:24973)
    at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
    at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
    at android.view.View.measure(View.java:24973)
    at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1059)
    at android.view.View.measure(View.java:24973)
    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7139)

誰かがこの問題で私を助けることができますか?

4

1 に答える 1