android - java.lang.incompatibleClassChangeError: структурное изменение - PullRequest
0 голосов
/ 04 января 2019

Когда я запускаю свое приложение, оно сразу падает и выдает ошибку

java.lang.incompatibleClassChangeError: структурное изменение android.design.widget.CoordinatorLayout $ Поведение опасно

Кто-нибудь сталкивался с такой же проблемой и как вы ее решили? Заранее спасибо.

Вот полный вывод ошибки:

> 01-04 17:11:29.151 6306-6306/com.expresshub E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.expresshub, PID: 6306
                                                              java.lang.IncompatibleClassChangeError: Structural change of android.support.design.widget.CoordinatorLayout$Behavior is hazardous (/data/user/0/com.expresshub/cache/slice-com.android.support-design-26.0.0-alpha1_bbf995cbd968782e6fd40af87c82f66805a801c5-classes.dex at compile time, /data/user/0/com.expresshub/cache/slice-com.android.support-support-core-ui-27.1.1_04395e6562a01615aeb9795ba517447a04eff20b-classes.dex at runtime): Virtual method count off: 24 vs 29
                                                              Landroid/support/design/widget/CoordinatorLayout$Behavior; (Compile time):
                                                               Static fields:
                                                               Instance fields:
                                                               Direct methods:
                                                                <init>()V
                                                                <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
                                                                getTag(Landroid/view/View;)Ljava/lang/Object;
                                                                setTag(Landroid/view/View;Ljava/lang/Object;)V
                                                               Virtual methods:
                                                                blocksInteractionBelow(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;)Z
                                                                getInsetDodgeRect(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/graphics/Rect;)Z
                                                                getScrimColor(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;)I
                                                                getScrimOpacity(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;)F
                                                                layoutDependsOn(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z
                                                                onApplyWindowInsets(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/support/v4/view/WindowInsetsCompat;)Landroid/support/v4/view/WindowInsetsCompat;
                                                                onAttachedToLayoutParams(Landroid/support/design/widget/CoordinatorLayout$LayoutParams;)V
                                                                onDependentViewChanged(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)Z
                                                                onDependentViewRemoved(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)V
                                                                onDetachedFromLayoutParams()V
                                                                onInterceptTouchEvent(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
                                                                onLayoutChild(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;I)Z
                                                                onMeasureChild(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;IIII)Z
                                                                onNestedFling(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;FFZ)Z
                                                                onNestedPreFling(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;FF)Z
                                                                onNestedPreScroll(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;II[I)V
                                                                onNestedScroll(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;IIII)V
                                                                onNestedScrollAccepted(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;Landroid/view/View;I)V
                                                                onRequestChildRectangleOnScreen(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/graphics/Rect;Z)Z
                                                                onRestoreInstanceState(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/os/Parcelable;)V
                                                                onSaveInstanceState(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;)Landroid/os/Parcelable;
                                                                onStartNestedScroll(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;Landroid/view/View;I)Z
                                                                onStopNestedScroll(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/View;)V
                                                                onTouchEvent(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/view/MotionEvent;)Z
                                                              Landroid/support/design/widget/CoordinatorLayout$Behavior; (Runtime):
                                                               Static fields:
                                                               Instance fields:
                                                               Direct methods:
                                                                <init>()V
                                                                <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
                                                                getTag(Landroid/view/View;)Ljava/lang/Object;
                                                                setTag(Landroid/view/View;Ljava/lang/Object;)V
                                                               Virtual methods:
                                                                blocksInteractionBelow(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;)Z
                                                                getInsetDodgeRect(Landroid/support/design/widget/CoordinatorLayout;Landroid/view/View;Landroid/graphics/Rect;)Z
                                                                getScrimColor(Landroid/support/design/widget/CoordinatorLayout;Land
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...