askilondz
askilondz

Reputation: 3294

Mopub Integration for Android Studio

As of this question I have been unable to find any resources or help on how to integrate the Mopub library project in Android Studio as everything is still only documented for Eclipse.

I used Facebook's article on integrating their library in Android Studio as a guide but still have issues. For reference here's their article: https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android-using-android-studio/3.0/

Does anyone have a step-by-step process for integrating MoPub in Android Studio?

Upvotes: 5

Views: 3470

Answers (3)

Vipul Behl
Vipul Behl

Reputation: 634

As mentioned on the Readme file of the project on Github. You can add dependency in your Android project's gradle file.

Just add the following lines in the build.gradle file.

    repositories {
    maven { url "http://minakov.github.io/mopub-sdk-android-aar" }
    }

    dependencies {
        compile 'com.mopub.mobileads:mopub-android:+@aar'
    }

After this just sync your project and you are good to go.

Upvotes: 0

Wesley
Wesley

Reputation: 4124

I solved it, just add the mopub sdk as a new module. You can see Details in this post.

Upvotes: 1

Robert Sharp
Robert Sharp

Reputation: 259

I've recently found this.. https://github.com/minakov/mopub-sdk-android-aar/tree/master

Following the instructions on the repo readme page I was able to setup the mopub SDK as a dependency in my Android Studio project.

Hope this helps someone

Upvotes: 1

Related Questions