Last active
August 29, 2015 13:56
-
-
Save huberflores/9168757 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* author Huber Flores | |
*/ | |
Android-maven development environment. | |
-Requirements | |
1) Eclipse Juno with Eclipse Market Place | |
Help -> EclipseMarketPlace, | |
if marketplace not available, | |
then go, help-> install new software -> add -> Juno - http://download.eclipse.org/releases/juno | |
and search for eclipse market place, then install it | |
2) Android SDK must be updated with the SDK manager. Evidently, this also requires ADT to be up to date. | |
3) Android variable ($ANDROID_HOME) should be in place | |
$ nano .bashrc | |
export $ANDROID_HOME: /home/huber/android_sdks | |
4) Maven 3.0.5 or superior | |
$ sudo | |
$ apt-get install maven | |
5) Android connector for Maven | |
Once marketplace is available, then | |
Click Help-> Eclipse MarketPlace -> search "android m2e" | |
Install the Android M2E Connector | |
Done. | |
Now, you can mavenized Android projects | |
Any of these issues arise, is due to obsolete versions of maven. Fix by upgrading to a higher version | |
[SOLVED]Error: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.0:generate-sources | |
One more thing. | |
If the Android maven project can be imported into Eclipse without any problem, then it can also be executed in console without any problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment