How to import a .aar file into Android Studio 1.1.0 and use it in my code

To import an .aar library:

  1. Go to File>New>New Module
  2. Select “Import .JAR/.AAR Package” and click next.
  3. Enter the path to the .aar file and click finish.
  4. Go to File>Project Structure (Ctrl+Shift+Alt+S).
  5. Under “Modules,” in left menu, select “app.”
  6. Go to “Dependencies” tab.
  7. Click the green “+” in the upper right corner.
  8. Select “Module Dependency”
  9. Select the new module from the list.

Leave a Comment