0

您好现在我正在尝试在andengine中实现ndk项目键盘和轨迹球类,但是现在andengine显示这些错误,如何解决这些错误请帮助我?

Description    Resource    Path    Location    Type
MotionEvent.ACTION_MASK cannot be resolved    AbstractMultitouchPad.java    /keytrack
/src/com/momojo/gba/input    line 74    Java Problem
MotionEvent.ACTION_MASK cannot be resolved    GameScreen.java    /keytrack/src/com
/momojo/gba    line 92    Java Problem
MotionEvent.ACTION_POINTER_DOWN cannot be resolved    AbstractMultitouchPad.java    
/keytrack/src/com/momojo/gba/input    line 78    Java Problem
MotionEvent.ACTION_POINTER_DOWN cannot be resolved    AbstractMultitouchPad.java    
/keytrack/src/com/momojo/gba/input    line 90    Java Problem
MotionEvent.ACTION_POINTER_DOWN cannot be resolved    GameScreen.java    /keytrack
/src/com/momojo/gba    line 97    Java Problem
MotionEvent.ACTION_POINTER_ID_SHIFT cannot be resolved    
AbstractMultitouchPad.java    /keytrack/src/com/momojo/gba/input    line 82    Java   
Problem
4

1 回答 1

2

我遇到同样的问题。这是因为 android API 级别太低。我在项目属性中将 android API 级别提高到 2.1,然后错误消失了。只是一些线索。我没有试图找到 API 版本之间的确切区别。

于 2011-12-30T09:24:34.000 回答