我正在嘗試使用Google Glass中的BarcodeEye掃描條形碼。我遵循了所提及的步驟。我已經在Glass中安裝了應用程序,但是當我啓動它時,會拋出以下異常。我錯過了什麼 ?我已經檢查了庫core.jar它的存在,一切似乎都很好。請有人幫我解決這個問題。Google Glass掃描條形碼/ QR碼
01-30 18:47:06.947: E/AndroidRuntime(3180): java.lang.ExceptionInInitializerError
01-30 18:47:06.947: E/AndroidRuntime(3180): at com.github.barcodeeye.LaunchActivity.processVoiceAction(LaunchActivity.java:43)
01-30 18:47:06.947: E/AndroidRuntime(3180): at com.github.barcodeeye.LaunchActivity.access$0(LaunchActivity.java:38)
01-30 18:47:06.947: E/AndroidRuntime(3180): at com.github.barcodeeye.LaunchActivity$1.run(LaunchActivity.java:31)
01-30 18:47:06.947: E/AndroidRuntime(3180): at android.os.Handler.handleCallback(Handler.java:624)
01-30 18:47:06.947: E/AndroidRuntime(3180): at android.os.Handler.dispatchMessage(Handler.java:92)
01-30 18:47:06.947: E/AndroidRuntime(3180): at android.os.Looper.loop(Looper.java:137)
01-30 18:47:06.947: E/AndroidRuntime(3180): at android.app.ActivityThread.main(ActivityThread.java:4424)
01-30 18:47:06.947: E/AndroidRuntime(3180): at java.lang.reflect.Method.invokeNative(Native Method)
01-30 18:47:06.947: E/AndroidRuntime(3180): at java.lang.reflect.Method.invoke(Method.java:511)
01-30 18:47:06.947: E/AndroidRuntime(3180): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
01-30 18:47:06.947: E/AndroidRuntime(3180): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
01-30 18:47:06.947: E/AndroidRuntime(3180): at dalvik.system.NativeStart.main(Native Method)
01-30 18:47:06.947: E/AndroidRuntime(3180): Caused by: java.lang.NoClassDefFoundError: com.google.zxing.ResultMetadataType
01-30 18:47:06.947: E/AndroidRuntime(3180): at com.github.barcodeeye.scan.CaptureActivity.<clinit>(CaptureActivity.java:71)
01-30 18:47:06.947: E/AndroidRuntime(3180): ... 12 more
我有疑問..如果我們使用這個庫來掃描條形碼,我們是否需要放大它作爲條形碼可以在任何大小的任何地方,谷歌玻璃如何檢測它? –