28 Apr 2014, 04:42

IDE Imports Part 4 - Java Mirror with IntelliJ


IDE Imports Part 4 - Java Mirror with IntelliJ

This is the fourth 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 the Java Mirror Quick Start project into IntelliJ.

0. Clone from GitHub

See previous post.

1. Import Project

In IntelliJ, select Import Project.

2. Create project from existing sources

Or you can import it as a Maven project. Either way works

3. Hit ‘Next’ a few times

Then 'Finish’ and you’ll be done with that.

4. Update the oauth.properties file

I previously made a video with instructions on this. Google has also posted instructions for getting OAuth set up.

5. Fire up a terminal

Run the following from the root of the project:

$ mvn install
$ mvn jetty:run

6. Finished!

You’re all done!

comments powered by Disqus