Phil795 Phil795 - 1 month ago 9
Android Question

Use Maven project in Android Application

I develope a litte Android Application for SDK 22+

Now I want to use a API to a website.

The API is written in Java and use maven for build.

I am absolutly new in maven.

Is there a way to use the maven api in my gradle based android studio project?

I'm testing since two days to import this api, but without success.




UPDATE 1

The API I want to use is the api-themoviedb

I want to use SDK 22 because of the apache HttpClient support.

I tried to merge the api with my project. But I didnt had success.

Answer

In your build.gradle for your app, add compile 'com.omertron:themoviedbapi:4.0'

Comments