I created an EyeGestures recognition application using https://github.com/thorikawa/EyeGestureLib and it worked fine in XE18.3. But after update 19.1, m get an error that some virtual methods could not solve. However, these methods exist in my EyeGestureManager class. Is this related to the upgrade? Is there something I can do to fix this for XE19.1, or do I need to wait until the GDK officially supports the gestures?
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)
source
share