这是一个总遇到的问题,在这里记下来

Multiple markers at this line - implements android.view.View.OnClickListener.onClick - The method on

Multiple markers at this line

- implements android.view.View.OnClickListener.onClick
- The method onClick(View) of type new View.OnClickListener(){} must 

override a superclass method


这是什么原因呢?

jdk版本太低,有些方法不能使用,所以只要将将jdk版本调到1.6以上就OK了!!

Window-Preferences

Multiple markers at this line - implements android.view.View.OnClickListener.onClick - The method on


选中框中的地方改下jdk就行了!!

相关文章:

  • 2021-04-13
  • 2021-08-24
  • 2021-06-24
  • 2021-10-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-24
  • 2021-11-19
  • 2022-12-23
  • 2021-07-13
  • 2021-08-02
  • 2021-09-15
相关资源
相似解决方案