Skip navigation

Add JAR files with dependencies

Add JAR files with dependencies: Android Studio Essential Training
Add JAR files with dependencies: Android Studio Essential Training

If you want to include your own Java archive, or JAR file, in your project, you can do it in a couple of different ways. Just like libraries in Maven repositories, you can connect your project to a JAR file through a dependency, listing the JAR file in your Gradle build script. First you should copy the JAR file to your project's libs directory, then mark it as a library. That's all you need to do - it will be added to the build script, and will become a part of your app's classpath.

Resume Transcript Auto-Scroll
Skill Level Beginner
3h 41m
Duration
326,595
Views
Show More Show Less

Q: This course was updated on 04/27/2017. What changed?

A: New videos were added that highlight the new features introduced in Android Studio 2.3. In addition, the following topic was updated: update apps with Instant Run.

Skills covered in this course
Developer Mobile Apps Android Studio

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now