导入AIDL文件,运行的时候出错
Exception in thread "Thread-2" java.lang.Error: Unresolved compilation problem:
The method moveDown() of type board must override a superclass method
at com.jxr.board.moveDown(board.java:80)
at com.jxr.board.run(board.java:232)
在网上查了下解决办法:
The method of type must override a superclass method,提示的是实现类必须实现接口的方法。因为JDK版本太高了,解决方法是:鼠标放在项目上点击鼠标右键,选择属性——java compile,把1.5改成1.6.这样就没问题了。