Phil795 Phil795 - 1 year ago 65
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.


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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download