First we need to add new libraries to our project, of course we will use gradle files.

build.gradle (for project, make sure it looks the same like):

buildscript {

    repositories {
        google()

        jcenter()

    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven { url "http://dl.appnext.com/" }
        maven { url "https://jitpack.io" }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

 

After editing build.gradle for our application, we are ready to edit gradle file for module (our app):

We need to add Appnext, Startapp, Admob, Flurry for stats, Job Library and Volley Library.
Admob and Evernote needs to be in older version. Admob 15.0 allows you to change app ID remotely, evernote in older version haven’t problems with work manager.

dependencies {
    implementation 'com.appnext.sdk:ads:2.+'
    implementation 'com.startapp:inapp-sdk:3.10.1'
    implementation 'com.google.android.gms:play-services-ads:15.0.0'
    implementation 'com.flurry.android:analytics:[email protected]'
    implementation 'com.evernote:android-job:1.2.6'
    implementation 'com.android.volley:volley:1.1.1'
}