I don't know what is happening, thats the only error. Error: (15, 0) Could not find method compile() for arguments [com.heyzap-unified-platform-10.2.2@aar] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. <a href="openFile:C:\Users\CristianAlexis\Documents\BuildboxProj\StringsAndr\Imported\build.gradle">Open File</a> And where do I have to paste this code? Activity activity =this;// must be an Activity // Your Publisher ID is: 99d37ca4c7861d912cf53ba9a155a9dc HeyzapAds.start("99d37ca4c7861d912cf53ba9a155a9dc", activity); In the AndroidManifest? or where?