Skip navigation

Add JAR files with dependencies

Add JAR files with dependencies: Android Studio Essential Training (2016)
Add JAR files with dependencies: Android Studio Essential Training (2016)

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
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 My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving and will be automatically redirected to LinkedIn Learning to start your free trial.