Trying to import .aar file into project but cannot find the option of import .jar/aar package
inside the add new module.
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
You must have a project-level "libs" folder. If you have this directory with .aar/.jar files, you can just add a new .aar/.jar file to this folder.
If you don’t have this directory, see this answer
But you can use this:
instead of adding a new file implementation to the gradle every time:
Copy your aar/jar file to module "libs" folder ( create "applibs" folder if not exist )
and add this line to your module Build.gradle file: