How to build aar library release
1- In Android Studio go to the top right window called gradle like in the image below.
2- Find your library and press the build button, wait till the process ends.
3- Now your aar release will be generated in the output folder like in the picture below
4- Then you just have to copy this aar to your project libararies to use it.