Reputation: 41
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?
Upvotes: 1
Views: 1876
Reputation: 1
I had this problem too. What i did is to solve it, is to import from the Sony samples in the Sony add-on SDK 3.0 the SmartExtensionAPI first and than SmartExtensionUtils. If these samples are build correctly the other samples will build correctly as well.
Go to File|Import, choose SmartExtensionAPI as your root directory and click finish. Maybe you have to change the compiler compliance level to build it correctly. After this do the same for SmartExtensionUtils.
Upvotes: 0
Reputation: 492
You don't need SmartExtensionInternalUtils project. When you create project from existing source, check Import project into Workspace. In this way EightPuzzle, SEAPI and SEUtils will be in the same directory and you'll not have no errors :)
Upvotes: 0
Reputation: 11
What you need to do is go to the properties page of the SmartExtensionUtils library and in the library box add SmartExtensionAPI as a dependency
Upvotes: 1
Reputation: 41
This is a link to my desktop screenshot. SmartExtensionAPI and utils are in the project list (left side) but the EightPuzzleExtension does not find them
Upvotes: 0
Reputation: 805
In order for the EightPuzzleGame to compile, you need to add the following library projects that are available in the SDK:
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:
Upvotes: 4