.AAR file extension
To open .AAR files on Windows, if you only need to inspect it: make a copy, rename the file from .aar to .zip, then open it with File Explorer’s ZIP support to view/extract contents like AndroidManifest.xml, classes.jar, and res/.
To open a .aar file, treat it like a ZIP archive: rename it to .zip or open it with an archive tool to inspect its contents. If you need to use it as a dependency, import it in an Android/Gradle project rather than “running” it.
Last updated: June 12, 2026
Open on your device
Choose your operating system for a dedicated step-by-step opening guide.
How to open .AAR files
Use these platform-specific instructions to open .AAR files safely.
Windows
- If you only need to inspect it: make a copy, rename the file from .aar to .zip, then open it with File Explorer’s ZIP support to view/extract contents like AndroidManifest.xml, classes.jar, and res/.
- If you need to use it in a project: add it as a library dependency in an Android Studio/Gradle project (AARs are meant to be consumed by the Android build system, not executed).
Mac
- For inspection: rename .aar to .zip and open it with Archive Utility (double-click) or another ZIP-capable archiver to browse/extract files inside.
- For development use: include the AAR as a dependency in an Android project; it is not an app installer and won’t open like a normal macOS document.
Linux
- For inspection: open it as a ZIP archive with your desktop archive manager or rename .aar to .zip and extract; look for AndroidManifest.xml, classes.jar, and res/.
- For development use: add it to an Android/Gradle build as a dependency rather than trying to “run” it.
iOS
- iOS does not use AAR libraries directly; transfer the file to a desktop machine to inspect it as a ZIP or use it within an Android/Gradle workflow.
Android
- Android typically won’t “open” AARs as apps; to inspect contents, move it to a desktop and open it as a ZIP, or use it only as a library dependency in an Android development environment.
Security notes
- An AAR is a ZIP-based archive and can bundle compiled code (for example, classes.jar). Treat AARs from untrusted sources like any third-party library: using them in a build can introduce untrusted code into your app.
- Because it is an archive, extracting an AAR can create many files and directories; inspect the contents (for example, AndroidManifest.xml and packaged resources) before integrating it into a project.
- If you rename .aar to .zip for inspection, keep the original file intact and work on a copy to avoid accidental edits that could change what gets built.
What can hide inside an archive
Compressed packages can contain executables or scripts you only see after extraction. Double extensions and nested archives are common tricks. Scan unexpected downloads before unpacking, and extract to an empty folder so you can review contents safely.
Avast offers free and premium antivirus software that protects against viruses, malware, ransomware, and phishing. Scan files before opening them to ensure safety.
NortonNorton 360 delivers comprehensive antivirus protection, VPN, and identity theft monitoring. Scan files for threats before opening to keep your device secure.
We may earn a commission when you use affiliate links. This supports our free file extension guides.
Can't open this file?
These are the most common causes and fixes when .AAR files fail to open.
Common reasons
- It won’t open (or opens in the wrong app)
- Expecting an app installer or executable
- The file looks like a ZIP but tools complain it is corrupted
Fix steps
- Make a copy of the file and rename the extension from .aar to .zip.
- Open/extract it using any ZIP-capable archive tool, then inspect files like AndroidManifest.xml, classes.jar, and res/.
OS-specific troubleshooting
What is a .AAR file?
An Android Archive (AAR) is the standard packaging format for Android libraries. Android’s documentation describes it as a ZIP file with required/optional entries such as AndroidManifest.xml, classes.jar, res/, and R.txt. Unlike a plain JAR, an AAR can carry Android resources and manifest information in addition to Java/Kotlin bytecode.
Background
AAR is used to distribute reusable Android library modules, commonly consumed by Gradle builds (often via Maven repositories) rather than opened directly by end users. The format exists to bundle not only compiled classes but also Android-specific assets like resources and manifest entries so that apps can merge them at build time.
Further reading
Authoritative resources for more details on the .AAR format.
- Create an Android library (AAR contents and structure) | Android Developers
- JAR (file format) | Wikipedia
- Media Types | IANA (official media type registry)
- shared-mime-info (freedesktop.org project page)
- Shared MIME-info Database Specification (how filename globs/MIME mappings work)
- shared-mime-info database source (freedesktop.org.xml.in)
Common .AAR issues
It won’t open (or opens in the wrong app)
Many systems don’t associate .aar with a viewer. An AAR is a ZIP-based library package, not a document or installer, so double-click behavior is inconsistent.
- Make a copy of the file and rename the extension from .aar to .zip.
- Open/extract it using any ZIP-capable archive tool, then inspect files like AndroidManifest.xml, classes.jar, and res/.
Expecting an app installer or executable
AAR is a library distribution format for Android builds; it is not an APK and cannot be installed or launched on a device.
- If you need to install something on Android, you likely need an .apk, not an .aar.
- If you are developing, add the AAR as a dependency in your Android Studio/Gradle project per Android’s library documentation.
The file looks like a ZIP but tools complain it is corrupted
Because AAR is a ZIP container, partial downloads or modifications can break the archive structure and cause extraction errors.
- Re-download or re-copy the AAR to ensure the transfer completed successfully.
- Try extracting with a different ZIP tool; if multiple tools fail, the archive is likely damaged.
FAQ
Is an AAR just a ZIP file?
Yes. Android’s documentation describes an AAR as a ZIP file with a defined set of entries such as AndroidManifest.xml, classes.jar, and res/.
How is AAR different from JAR?
A JAR primarily packages Java classes and metadata, while an AAR is designed for Android libraries and can also include Android resources and a manifest to be merged during an Android build.
Is there an official IANA media type for .aar?
If you need an authoritative answer, check the IANA Media Types registry; it is the source of truth for officially registered media types.
Similar file extensions
Compare related formats in the same category to find the right tool faster.