How can we help you?

Manually Including the comScore Library-Android

If you prefer to manually include the comscore.aar library file in your application project, then please follow these instructions.
Libraries are manually included in application projects by placing them within the application project folder and adding them to the project configuration to be included in the application. How you include comscore.aar library file in your application project depends on the development environment you are using, like Android Studio IDE.

This example shows how the comscore.aar library file can be included in a project using the Android Studio IDE:

  1.  From the File menu choose New → Module.
  2. The Create New Module modal opens where you should select Import .JAR/.AAR Package and click on the Next button.
  3.  For the File name, navigate to the comscore.aar library file and select it.
  4. The name of the library file will should populate Subproject name, which you can change to fit your needs.

At this point the library has been added to the Android Studio project. Depending on the IDE and project configuration the library might not yet be added as a dependency, so that needs to be confirmed.

    5. From the File menu choose Project Structure… which will open the Project Structure modal.

    6. Confirm the Subproject name you added in step 4 appears in the Modules section.
        If it does not appear then please retry the steps to include the comscore.aar library file as a module in your application project.
   7. In the Modules section, select the module which corresponds with your application.
   8. On the Dependencies panel, confirm the Subproject name you added in step 4 appears in the list. If it does not appear then use the + button to add the Subproject           name as a dependency.


This image shows an example of what the Dependencies panel could look like after performing these steps:

     9. Click on the OK button to close the Project Structure modal.

 

 

 

Was this article helpful?
0 out of 0 found this helpful

 

0 Comments

Article is closed for comments.