The . aar bundle is the binary distribution of an Android Library Project. An AAR is similar to a JAR file, but it can contain resources as well as compiled byte-code. A AAR file can be included in the build process of an Android application similar to a JAR file.
What is an AAR file?
An AAR file contains a software library used for developing Android apps. It is structurally similar to an . APK file (Android Package), but it allows a developer to store a reusable component that can be used across multiple different apps.
How do I get an AAR?
If you haven’t created AAR then follow these steps: Navigate to File > New > New Module.
- Then select “Android Library” from the options and click the next button.
- Step 2: Generate AAR. Go to Gradle at the top-right pane in android studio follow the below steps. …
- AAR will be generated in build/outputs/aar/ …
- Method 4.