Skip to content

Instantly share code, notes, and snippets.

@jamiely
Last active December 11, 2015 23:49
Show Gist options
  • Save jamiely/4679583 to your computer and use it in GitHub Desktop.
Save jamiely/4679583 to your computer and use it in GitHub Desktop.

Intro

I wanted to work on another Android app, one that will need to read an RSS feed. Upon looking up libraries, I came across android-rss.

Android RSS

Didn't support loading as an Eclipse project (easily), so I decided to look into using Maven to manage Android project dependencies.

Maven Android Plugin

This led me to the maven-android-plugin project. It mostly talked about using the command-line android tool to work with projects, which I haven't done before. All of my work has been via Eclipse. I decided to look for a maven plugin for Android projects in Eclipse.

m2e Android

This led me to this plugin which needed to be installed via Eclipse Marketplace.

Eclipse Marketplace

Googling about how to install the marketplace, I selected the Eclipse Juno update site, and installed the Marketplace. I restarted.

Back to m2e Android

I installed the plugin, then started following some of the instructions on the site. I decided to try some of the instructions from the Maven Android Plugin page.

After running mvn clean install, I got a recommendation to install additional android sdks using android update sdk --no-ui --obsolete --force. I was installing android v 1.1 before I figured I should just abort it.

I tried the mvn clean install and it worked this time. Having confirmed the plugin was working, I continued following the instructions on the main m2e Android page.

I created a new project in Eclipse, adding the appropriate archetype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment