Google玻璃样品项目正在崩溃 [英] Google glass sample projects are crashing

查看:208
本文介绍了Google玻璃样品项目正在崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我试图学习开发Glass,今天正在通过快速入门指南。试图运行所有的示例应用程序,他们都试图打开它们。有一张警告标志的图片,表示秒表已停止点按继续。我尝试重新启动项目重新启动玻璃,没有任何工作。有任何想法吗?我的玻璃最初还没被eclipse认可,并遵循这个指南 Google Glass ADB设备找不到。 OMAP4430驱动程序未安装(找不到!),以确认它。不知道这是否与它有任何关系,但是我应该让你知道。

So I am attempting to learn to develop for Glass and was going through the quickstart guide today. Attempted to run all of the sample apps and they all crashed upon me attempting to open them. With a picture of caution sign saying "Stopwatch has stopped tap to continue". I tried reimporting the projects restarting glass and nothing worked. Any ideas? Also my glass initally wasnt recognized by eclipse and followed this guide Google Glass ADB devices doesn't find. OMAP4430 driver not installed (can't find it!) to get it recognized. Not sure if that has anything to do with it but figured I should let you all know.

这里是秒表崩溃的logcat $ /

here is the logcat for the stopwatch crash

    12-21 16:59:46.109: D/AndroidRuntime(1308): Shutting down VM
12-21 16:59:46.109: W/dalvikvm(1308): threadid=1: thread exiting with uncaught exception (group=0x40db71f8)
12-21 16:59:46.109: E/AndroidRuntime(1308): FATAL EXCEPTION: main
12-21 16:59:46.109: E/AndroidRuntime(1308): java.lang.NoSuchMethodError: com.google.android.glass.timeline.TimelineManager.createLiveCard
12-21 16:59:46.109: E/AndroidRuntime(1308):     at com.google.android.glass.sample.stopwatch.StopwatchService.onStartCommand(StopwatchService.java:57)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2359)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at android.app.ActivityThread.access$1900(ActivityThread.java:123)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at android.os.Handler.dispatchMessage(Handler.java:99)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at android.os.Looper.loop(Looper.java:137)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at android.app.ActivityThread.main(ActivityThread.java:4424)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at java.lang.reflect.Method.invokeNative(Native Method)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at java.lang.reflect.Method.invoke(Method.java:511)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
12-21 16:59:46.109: E/AndroidRuntime(1308):     at dalvik.system.NativeStart.main(Native Method)


推荐答案

看起来您正在针对XE11版本的GDK进行编译,但是在使用XE12的设备上运行。确保您已使用Android SDK管理器将GDK加载项更新到最新版本。

It looks like you're compiling against the XE11 version of the GDK but running on a device with XE12. Make sure that you've updated your GDK add-on to the latest version using the Android SDK Manager.

这篇关于Google玻璃样品项目正在崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆