Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

maven support for android projects?

I want to start a project for Android but i really like to build it using Maven. Does Google provide support for Maven or plan to support it? It would be great if anybody know at least an archetype for Maven that I can use meanwhile. Thanks in advance.

like image 962
Ither Avatar asked Oct 25 '10 13:10

Ither


People also ask

Can I use Maven for Android?

In order to use Maven to build an Android application, you will need to configure the Maven Android Plugin within your pom. xml file. Android applications are deployed to the device as an apk file, not a jar. You must specify this in the the packaging configuration.

Can I use Maven for Android studio?

You can run Maven to build the project from Android Studio.

Why Maven is used in Android?

Maven will do the rest for you when you build (download to local cache if not already existing, fetch dependencies, javadoc etc). Even if you were to copy your project to another PC without the JAR's, delete the JAR's etc, if Maven is present it will re-download them automatically when you build.

What is better Gradle or Maven?

Gradle is more powerful. However, there are times that you really do not need most of the features and functionalities it offers. Maven might be best for small projects, while Gradle is best for bigger projects.


1 Answers

Seems like there is a maven plugin for that :-)

like image 88
Riduidel Avatar answered Sep 22 '22 00:09

Riduidel