How do you convert an Android project to a maven project manually?

What are some top tools for Automating Android Builds?

  • I'm looking to automate the Android build process at my company and am trying to look at some different solutions but I've found none to really be on target for what I am looking for. Here are my requirements: 1. The tool should not require significant experience in any form of build system today, IE it shouldn't require you to be an expert at Maven just so you can use the tool. 2. There should be fairly good documentation for using it specifically for Android, not just generic Java etc. 3. It should be able to handle automated tests and external dependencies. Any suggestions? I've found these two solutions so far but the learning curve to me seems extremely high or just details, such as dependency management, are left out in their guides and it's assumed that you know what's going on. https://code.google.com/p/maven-android-plugin/wiki/GettingStarted https://code.google.com/p/gradle-android-plugin/ Thanks to the responders.

  • Answer:

    Go for Ant build process. A very simple and useful building process. It can serve all your requirements. And yeah, Android projects are essentially Java projects so if you can understand how to build your java projects using Ant( which is fairly simple) , you can build all your Android projects too. Personally, i have used both Maven and Ant and i found Ant easier and more apt for android projects. you may want to have a look at this link: http://ant.apache.org/manual/index.html and you can findĀ  examples of how Ant can be used to build android projects. cheers !!

Akash Verma at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.