Ambiguous method call. Both findViewById (int) in AppCompatActivity and findViewById (int) in Activi

Posted 彬sir哥

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ambiguous method call. Both findViewById (int) in AppCompatActivity and findViewById (int) in Activi相关的知识,希望对你有一定的参考价值。

用鼠标光标移到下边红色波浪线findViewById获取的控件上,提示报错信息:

RecyclerView布局:

        <android.support.v7.widget.RecyclerView
            android:id="@+id/recyclerView"
            android:layout_width=<

以上是关于Ambiguous method call. Both findViewById (int) in AppCompatActivity and findViewById (int) in Activi的主要内容,如果未能解决你的问题,请参考以下文章

Ambiguous handler methods mapped for HTTP path

Ambiguous mapping found. Cannot map 'competeController' bean method

Ambiguous mapping. Cannot map *** method 报错解决

Ambiguous mapping. Cannot map *** method 报错解决

记录:Ambiguous mapping. Cannot map ‘eduTeacherController‘ method解决方案

记录:Ambiguous mapping. Cannot map ‘eduTeacherController‘ method解决方案