Android GDK:示例Compass应用程序不工作
我正在从事谷歌眼镜应用程序开发。 我已经安装了示例Compass应用程序 我正在通过adb在Google Glass Emulator上安装我的apk文件 但它在运行时给我以下错误:Android GDK:示例Compass应用程序不工作,android,google-glass,Android,Google Glass,我正在从事谷歌眼镜应用程序开发。 我已经安装了示例Compass应用程序 我正在通过adb在Google Glass Emulator上安装我的apk文件 但它在运行时给我以下错误: java.lang.NoClassDefFoundError: com.google.android.glass.timeline.LiveCard 我已经安装了最新的玻璃开发工具包 我刚刚修改了清单文件,因为我不想通过语音启动运行apk 我的清单文件如下: <?xml version="1.0" enco
java.lang.NoClassDefFoundError: com.google.android.glass.timeline.LiveCard
我已经安装了最新的玻璃开发工具包
我刚刚修改了清单文件,因为我不想通过语音启动运行apk
我的清单文件如下:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.glass.sample.compass"
android:versionCode="5"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application
android:allowBackup="true"
android:label="@string/app_name"
android:icon="@drawable/ic_compass" >
<activity
android:name="com.google.android.glass.sample.compass.CompassMenuActivity"
android:theme="@style/MenuTheme" />
<service
android:name=".CompassService"
android:label="@string/app_name"
android:icon="@drawable/ic_compass">
<intent-filter>
<action android:name="com.google.android.glass.sample.compass.CompassService" />
</intent-filter>
</service>
</application>
</manifest>
我只是被它卡住了。
请帮帮我。
提前感谢……:)2014年4月15日发布的XE16对GDK进行了突破性的更改,这意味着旧玻璃器皿将无法始终工作。您可以在此处阅读详细信息: 本期相关说明如下:
The TimelineManager class and support for static cards from the GDK have been removed.
因此,需要更新此代码库才能使用XE16
我最终可以为此提出拉动请求,但在此期间,您可以看到我提出的类似拉动请求,该请求修复了一个项目,该项目是指南针分叉应用程序:
通过遵循我所做的更改,您应该能够了解如何修复Compass应用程序,使其与XE16兼容
The TimelineManager class and support for static cards from the GDK have been removed.