To import an .aar library:
- Go to File>New>New Module
- Select “Import .JAR/.AAR Package” and click next.
- Enter the path to the .aar file and click finish.
- Go to File>Project Structure (Ctrl+Shift+Alt+S).
- Under “Modules,” in left menu, select “app.”
- Go to “Dependencies” tab.
- Click the green “+” in the upper right corner.
- Select “Module Dependency”
- Select the new module from the list.