Во время теста обезьян FlexboxLayoutManager случайно появился java.lang.NoSuchMethodError. Вероятность этой ошибки очень мала. Что может быть причиной этого сбоя?
Когда мы выполняем этот код:
FlexboxLayoutManager flexboxLayoutManager = new FlexboxLayoutManager(mActivity);
flexboxLayoutManager.setAlignItems(AlignItems.STRETCH);
flexboxLayoutManager.setJustifyContent(JustifyContent.FLEX_START);
Это отчет о сбое
java.lang.NoSuchMethodError: No direct method <init>(Landroid/content/Context;)V in class Lcom/google/android/flexbox/FlexboxLayoutManager; or its super classes (declaration of 'com.google.android.flexbox.FlexboxLayoutManager' appears in base.apk)