Android 应用程序在调用 setStateDescription 方法时抛出 java.lang.NoSuchMethodError: No super method

问题描述

我创建了一个自定义视图,我想在其中调用 setStateDescription 类中定义的 View。但是当我调用这个方法时,应用程序抛出以下错误

java.lang.NoSuchMethodError: No super method setStateDescription(Ljava/lang/CharSequence;)V in class Landroidx/constraintlayout/widget/ConstraintLayout; or its super classes (declaration of 'androidx.constraintlayout.widget.ConstraintLayout' appears in /data/app/com.diginn.diginn.android.app.debug-8lb_baHifl3J_Y9O1Y7TkA==/base.apk)

你能帮我解决这个问题吗。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)