Android Studio Cannot Compile

Discussion in 'How Can I...?' started by ZyzygyGames, Dec 10, 2016.

  1. ZyzygyGames

    ZyzygyGames Avid Boxer

    Joined:
    Dec 8, 2016
    Messages:
    123
    Likes Received:
    13
    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?
    1. Activity activity =this;// must be an Activity
    2. // Your Publisher ID is: 99d37ca4c7861d912cf53ba9a155a9dc
    3. HeyzapAds.start("99d37ca4c7861d912cf53ba9a155a9dc", activity);
    In the AndroidManifest? or where?
     
    Last edited: Dec 10, 2016

Share This Page