Converting a Maven Project to a Gradle one

Working with Android Studio means that we need to use gradle projects, however it might happen that some of our old projects were made in pure Java and with Maven, this is actually quite likely.
Converting a project from one format to another is though quite easy to be done through the command line and the built init plugin.
In particular this tool allows us to convert not just from Maven but also from grails, java and scala.
Anyway, to move from Maven to gradle we just need to:


cd project
gradle init --type pom

At this point we can import the project into Android Studio quite easily.

Using Gradle Deamon for faster build projects in Android

I wish my Android builds were faster. How can I achieve this? Simple, by using a gradle deamon!
It is quite safe to use and it will make your building tasks much faster, mine went from 18 seconds to just a little bit more than 2 seconds.
Continue reading Using Gradle Deamon for faster build projects in Android

How to add crosswalk project or any library to an Android Studio Project

How do you add a library to an Android Studio project?

In my case I need to add Crosswalk-project to the application I am working on (this example is about CrossWalk but it can be applied to any other library). So first of all I download CrossWalk and extracted it.
The next step is to import it into our application.
Continue reading How to add crosswalk project or any library to an Android Studio Project