Jar Files
๐ง What Exactly Does a JAR File Do?
๐ฆ Contents of a Typical JAR
com/
โโโ example/
โโโ MyLibrary.class
resources/
โโโ config.properties
META-INF/
โโโ MANIFEST.MF๐ What Happens When You Import a JAR into an Android Kotlin Project?
โ
You Can:
โ Limitations / Caveats in Android:
๐ง How to Import a JAR in Android (Kotlin)
Step 1: Place the JAR
Step 2: Add in build.gradle (Module: app)
build.gradle (Module: app)Step 3: Sync Gradle and Use
๐ฎ Possibilities When You Import a JAR
Possibility
Description
๐ JAR vs AAR (Android-specific)
Feature
JAR
AAR
Last updated