black friday sale

Flat 10% off on the purchase of any two apps or more. Use coupon code - FESTIVAL10

Grab It Now
Check Mobile App
Read now
Start a Project

How to manually include external .aar file

Save

In this blog,
We have shown you how to add manually the external aar file in your android application.

How to include 

Step 1: Put your aar file in the libs folder. And let’s take the file name is webkul.aar as an example.

Step 2: Put the following code in your Project level build.gradle  file,

and in the app level module write the below code,

Step 3: Then Click sync project with Gradle files.

If everything is working fine, then you will see library entry is made in build ->intermediates -> exploded-aar.

Or you can also follow these following steps,

  1. Go to File>New>New Module
  2. Select “Import .JAR/.AAR Package” and click next,

  3. Enter the path to .aar file and click finish,

  4. Go to File>Project Structure (Ctrl+Shift+Alt+S) and go to dependencies tab,


  5. Click the green “+” in the upper right corner,
  6. Select “Module Dependency”,
  7. Select the new module from the list,

Thanks for reading this blog. Stay updated.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


1 comments

  • kkhalil
    thanks bro , u are life saver <3
  • css.php

    The support is fast and do everything in their power to make it perfect. If you need customization it's also done right away. I had massive research to select Mobikul and now I'm sure it was the right one.

    Igor Souza

    Igor Souza

    Talk to Sales

    Global

    Live Chat
    Start a Project

      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home