我的编码显示这些错误,如何解决?
您好,现在我尝试将 ndk 项目键盘和轨迹球类实现到 andengine 中,但现在 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
Hi now i am try to implement ndk project keyboard and trackball class into andengine but now andengine indicate these error, how to solve these error please help me?
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题。这是因为android API级别太低。我在项目属性中将 android API 级别提高到 2.1,然后错误就消失了。只是一些线索。我没有尝试找出 API 版本之间的确切差异。
I meet the same problem. It's because android API level is too low. I raised android API level to 2.1 in the project property, then the errors gone. Just some clue.I didn't try to find the exact difference between API versions.