首页 > 代码库 > eclise -The method onClick(View) of type new View.OnClickListener(){} must override a superclass method

eclise -The method onClick(View) of type new View.OnClickListener(){} must override a superclass method

在做arcgis android开发的时候,突然遇到这种错误,The method onClick(View) of type new View.OnClickListener(){} must override a superclass method.

这看起来确实很奇怪,网上搜了一下,解决方案是将 eclipse制定版本从1.7改为1.6即可.

在 eclipse中,windows->references->java->java compiler中设置.

eclise -The method onClick(View) of type new View.OnClickListener(){} must override a superclass method