Multiple markers at this line - implements android.view.View.OnClickListener.onClick - The method on
2017-05-09 22:33
811 查看
这是一个总遇到的问题,在这里记下来
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
选中框中的地方改下jdk就行了!!
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
选中框中的地方改下jdk就行了!!
相关文章推荐
- android Multiple markers at this line - The type java.lang.Class cannot be resolved. It is indirectl
- android Multiple markers at this line - The type java.lang.Class cannot be resolved. It is indirectl
- android Multiple markers at this line - The type java.lang.Class cannot be resolved. It is indirectl
- android Multiple markers at this line - The type java.lang.Class cannot be resolved. It is indirectl
- android Multiple markers at this line - The type java.lang.Class cannot be resolved. It is indirectl
- android The method setOnClickListener(View.OnClickListener)解决办法
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclas
- Android下Multiple markers at this line的解决方法
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- Multiple markers at this line, Syntax error on token
- jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”解决方案
- Multiple markers at this line - The type java.lang.Object cannot be resolve
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclass
- 【转】 Android下Multiple markers at this line的解决方法
- Android 错误 The method onClick(View) of type new View.OnClickListener(){} must override a superclas
- android 自定义view Multiple annotations found at this line:
- Android下Multiple markers at this line的解决方法