IDE Imports Part 9 - GDK With Eclipse

IDE Imports Part 9 - GDK with Eclipse

This is the ninth of a series of posts discussing how to get Google Glass Mirror (Java) and GDK projects set up in various IDEs.

One of the most common questions that I get from people during workshops is how to get set up either the Mirror quick start, or the GDK project into Eclipse, Android Studio or IntelliJ.

This post will cover importing a GDK project into Eclipse.

0. Clone from GitHub

See previous post.

1. Import Project

File -> Import Project -> Android -> Existing Android Code Into Workspace

2. Select the directory with your project

Make sure that all your source is selected. Then ‘Finish’ and you’ll be done with that.

3. Edit Project Properties

Right click the project, select Properties.

4. Set the SDK as GDK 19

In Project Properties, go to Android, then select the correct SDK.

5. Finished!

You’re all done!