1
我建立了一個應用程序,以識別EyeGestures使用https://github.com/thorikawa/EyeGestureLib,它在XE18.3工作得很好但在19.1更新後,我收到某些虛擬方法無法解決的錯誤。但是,這些方法存在於我的EyeGestureManager類中。這是由於更新?有什麼我可以做的,以解決這個XE19.1或我必須等到GDK正式支持眼部手勢?EyeGestures不工作在19.1
I/dalvikvm(1829): Could not find method com.google.android.glass.eye.EyeGesture
Manager.stopDetector, referenced from method com.polysfactory.eyegesturedemo.Mai
nActivity.onStart
W/dalvikvm(1829): VFY: unable to resolve virtual method 41: Lcom/google/android
/glass/eye/EyeGestureManager;.stopDetector (Lcom/google/android/glass/eye/EyeGes
ture;)Z
D/dalvikvm(1829): VFY: replacing opcode 0x6e at 0x0008
I/dalvikvm(1829): Could not find method com.google.android.glass.eye.EyeGesture
Manager.stopDetector, referenced from method com.polysfactory.eyegesturedemo.Mai
nActivity.onStop
W/dalvikvm(1829): VFY: unable to resolve virtual method 41: Lcom/google/android
/glass/eye/EyeGestureManager;.stopDetector (Lcom/google/android/glass/eye/EyeGes
ture;)Z
D/dalvikvm(1829): VFY: replacing opcode 0x6e at 0x0019
V/EyeGestureManager(1829): Creating new EyeGestureManager for looper: Looper (m
ain, tid 1) {41a88990}
D/EyeGestureDemo(1829): WINK:true
D/EyeGestureDemo(1829): DOUBLE_WINK:false
D/EyeGestureDemo(1829): BLINK:false
D/EyeGestureDemo(1829): DOUBLE_BLINK:true
D/EyeGestureDemo(1829): DON:true
D/EyeGestureDemo(1829): DOFF:true
D/EyeGestureDemo(1829): LOOK_AT_SCREEN:true
D/EyeGestureDemo(1829): LOOK_AWAY_FROM_SCREEN:false
D/AndroidRuntime(1829): Shutting down VM
W/dalvikvm(1829): threadid=1: thread exiting with uncaught exception (group=0x4
1589bd8)
E/AndroidRuntime(1829): FATAL EXCEPTION: main
E/AndroidRuntime(1829): Process: com.polysfactory.eyegesturedemo, PID: 1829
E/AndroidRuntime(1829): java.lang.NoSuchMethodError: com.google.android.glass.e
ye.EyeGestureManager.stopDetector
E/AndroidRuntime(1829): at com.polysfactory.eyegesturedemo.MainActivity.
onStart(MainActivity.java:59)
E/AndroidRuntime(1829): at android.app.Instrumentation.callActivityOnSta
rt(Instrumentation.java:1173)
E/AndroidRuntime(1829): at android.app.Activity.performStart(Activity.ja
va:5246)
E/AndroidRuntime(1829): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2208)
E/AndroidRuntime(1829): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2285)
E/AndroidRuntime(1829): at android.app.ActivityThread.access$800(Activit
yThread.java:138)
E/AndroidRuntime(1829): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1236)
E/AndroidRuntime(1829): at android.os.Handler.dispatchMessage(Handler.ja
va:102)
E/AndroidRuntime(1829): at android.os.Looper.loop(Looper.java:149)
E/AndroidRuntime(1829): at android.app.ActivityThread.main(ActivityThrea
d.java:5061)
E/AndroidRuntime(1829): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(1829): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime(1829): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime(1829): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:602)
E/AndroidRuntime(1829): at dalvik.system.NativeStart.main(Native Method)