SmartWatch的样本安装样本、SmartWatch

2023-09-13 01:46:38 作者:茅坑拉屎脸朝外的汉子

我想编译自己的SmartWatch提供索尼的样本。我跟着这说明页。但是,当我加入了 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: