I use maven to build and integrate android projects with jenkins/netbeans. For editing android resources, I often use Eclipse because of the ADT plugin and better android resources support.
Eclipse (Kepler) has serious problems when you import maven-based android projects. It expects the project.properties file in the root folder and will NOT generate it on its own no matter what. Example content:
# this file is needed by eclipse (adt plugin).
# Project target.
target=Google Inc.:Google APIs x86:19
Additionally, create a sym link called "gen" pointing to target/generated-sources/r if using maven to build the android project on the command line. That way, you should be able to do "File->Import...->Existing Android Project". You get an error message, but it didn't matter in my case.
Additional hints in case you have problems with m2e-android plugin:
- always check that the output folders for source dirs and resource dirs are correct.
- check that source dirs are set as source dirs (you usually get a corresponding warning)
- if resources from dependencies are not included in the final apk, check the filter settings for your resource dirs
- you may need to "import maven project from existing sources" before importing it as android project from existing sources.
- make sure dependencies are imported into the workspace and open and referenced (project props -> android -> add lib)
- eclipse adt does not support aar libs, use apklib instead