Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
In this blog, We have shown you how to add manually the external aar file in your android application.
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,
allprojects { repositories { jcenter() flatDir { dirs 'libs' } } } 12345678 allprojects { repositories { jcenter() flatDir { dirs 'libs' } }}
and in the app level module write the below code,
dependencies { compile(name:'webkul', ext:'aar') } 123 dependencies { compile(name:'webkul', ext:'aar')}
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,
Thanks for reading this blog. Stay updated.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.