SmartWatch的样本安装 [英] SmartWatch sample installation
问题描述
我想编译自己的SmartWatch提供索尼的样本。我跟着这说明<一href="http://developer.sonymobile.com/2012/05/07/music-player-and-8-game-extensions-for-smartwatch-now-available-as-open-source/"相对=nofollow称号=页面>页。但是,当我加入了 SmartExtensionUtils
项目中,我看到了很多类似的错误: com.sonyericsson.extras.liveware.aef不能被解析为一个变量
。相反,这种进口 com.sonyericsson.extras.liveware
没有问题。
是不是有人发现并解决这个问题呢?
I would like to compile the sample provided by Sony for his SmartWatch. I followed the instructions in this page. But when I added the the SmartExtensionUtils
project I saw lot of errors like: com.sonyericsson.extras.liveware.aef cannot be resolved to a variable
. Instead this import com.sonyericsson.extras.liveware
has no problem.
Did someone find and solve this issue?
推荐答案
为了使EightPuzzleGame编译,你需要添加下面的库项目可在SDK:
In order for the EightPuzzleGame to compile, you need to add the following library projects that are available in the SDK:
- SmartExtensionAPI
- SmartExtensionUtils
- SmartExtensionInternalUtils
在你的情况,这是API的项目,可能缺失。你可以看到,缺少通过检查项目属性是什么库项目。例如:
In your case, it is the API project that is probably missing. You can see what library projects that are missing by checking the project properties. Example:
这篇关于SmartWatch的样本安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!